jssimporter / JSSImporter

JSSImporter is deprecated. Please see the wiki for alternatives
Apache License 2.0
145 stars 38 forks source link

Jamf Pro 10.36 beta - JSSImporter erroring #195

Closed rtrouton closed 2 years ago

rtrouton commented 2 years ago

I'm seeing an issue with JSSImporter working with the Jamf Pro 10.36 beta. When I run a .jss recipe (in this case, for Microsoft OneDrive), I'm seeing the package upload successfully and then the recipe errors and fails. Please see gist link below for verbose output including the error:

https://gist.github.com/rtrouton/6f7f2f80d10cc34fd02da0568d5c5eda

From discussions with @grahampugh , this may be because the 10.36 Classic API removes the <boot_volume_required> key.

From a Jamf Pro 10.35 server:

<?xml version="1.0" encoding="UTF-8"?>
  <package>
    <id>2297</id>
    <name>Microsoft_OneDrive_21.245.1128.pkg</name>
    <category>Apps</category>
    <filename>Microsoft_OneDrive_21.245.1128.pkg</filename>
    <info/>
    <notes/>
    <priority>10</priority>
    <reboot_required>false</reboot_required>
    <fill_user_template>false</fill_user_template>
    <fill_existing_users>false</fill_existing_users>
    <boot_volume_required>true</boot_volume_required>
    <allow_uninstalled>false</allow_uninstalled>
    <os_requirements/>
    <required_processor>None</required_processor>
    <hash_type>MD5</hash_type>
    <hash_value>c39d17da239557224ea9cb0b8727e595</hash_value>
    <switch_with_package>Do Not Install</switch_with_package>
    <install_if_reported_available>false</install_if_reported_available>
    <reinstall_option>Do Not Reinstall</reinstall_option>
    <triggering_files/>
    <send_notification>false</send_notification>
  </package>

From a Jamf Pro 10.36 beta server:

<?xml version="1.0" encoding="UTF-8"?>
  <package>
    <id>2260</id>
    <name>Microsoft_OneDrive_21.245.1128.pkg</name>
    <category>Apps</category>
    <filename>Microsoft_OneDrive_21.245.1128.pkg</filename>
    <info/>
    <notes/>
    <priority>10</priority>
    <reboot_required>false</reboot_required>
    <fill_user_template>false</fill_user_template>
    <fill_existing_users>false</fill_existing_users>
    <allow_uninstalled>false</allow_uninstalled>
    <os_requirements/>
    <required_processor>None</required_processor>
    <hash_type>MD5</hash_type>
    <hash_value>c39d17da239557224ea9cb0b8727e595</hash_value>
    <switch_with_package>Do Not Install</switch_with_package>
    <install_if_reported_available>false</install_if_reported_available>
    <reinstall_option>Do Not Reinstall</reinstall_option>
    <triggering_files/>
    <send_notification>false</send_notification>
  </package>

Screen Shot 2022-01-24 at 4 13 40 PM

grahampugh commented 2 years ago

Fixed in version 1.1.6