Skip to content

some used Patch Policy Packages marked as unused (maybe caused by a Jamf PI?) #64

Description

@randomName0815

Hi Leslie, it´s me again, i hope you are doing well 👋

we just had some issues with lost packages and invisible patch policies and while investigating those packages and policies with jamf support, i noticed a package we just deleted last week via Prune, but it was definitely in use via patch policies.
The Package was the only one in the "Definitions" tab of this software title and was active in three enabled patch policies:
Package name in the logs: "RunTrigger-global_protect_6.2.8-948_pm.pkg"

I cant find any real errors in the log.
Only one is "error reading patch software titles - call patchpolicies" <- but i guess, this is pretty normal, caused by the api changes in the last versions, am i right(?)

For more Context, i would prefer to contact via Slack, if you´re okay with it and interested.
But in Short - deleting a Package that is in use in a Patch Policy, can make the Patch Policy invisible in the WebUI, but still active and visible in the API (and maybe throws some errors in the log cause Package not available).
It guess, other affected patch policies could have lead to this wrong package in the Prune list.
After fixing the other affected patch policies, i was not able to reproduce the scan result from last week, with a similar package.

Maybe you already know this behavior, i just wanted to let you know, just in case there are more affected reaching out.

20260708_101413 -------------------------------------------------------
20260708_101413 -     Prune Version: 3.5.4 Build: 20260507-8AB
20260708_101413 -------------------------------------------------------
20260708_101413 TelemetryDeck: enabled
20260708_101415 [getToken] source tokenAgeInSeconds: 0.0
20260708_101415 [getToken] Attempting to retrieve token from Optional(https://changed.jamfcloud.com/api/v1/auth/token)
20260708_101415 [getToken] generate token using username / password
20260708_101416 [getToken] new token created for https://changed.jamfcloud.com
20260708_101416 [getVersion] Attempting GET on https://changed.jamfcloud.com/api/v1/jamf-pro-version.
20260708_101416 [JamfPro.getVersion] Jamf Pro Version: 11.29.1-t1782156420899
20260708_101416 [JamfPro.getVersion] https://changed.jamfcloud.com set to use OAuth
20260708_101416 [ViewController] successfully authenticated to https://changed.jamfcloud.com
20260708_101416 [Credentials.save] keychain item for service changed.jamfcloud.com, account jamfadmin, is up-to-date.
20260708_101427 [Scan] start scanning...
20260708_101427 [processItems] Starting to process mobiledeviceextensionattributes
20260708_101427 [processItems] mobiledeviceextensionattributes
20260708_101427 [processItems] skipping moble device extension attributes, calling - computerGroups
20260708_101427 [processItems] Starting to process computerGroups
20260708_101427 [processItems] skipping computerGroups - call mobileDeviceGroups
20260708_101427 [processItems] Starting to process mobileDeviceGroups
20260708_101427 [processItems] skipping mobileDeviceGroups - call packages
20260708_101427 [processItems] Starting to process packages
20260708_101427 [Json.getRecord] get existing endpoints URL: https://changed.jamfcloud.com/JSSResource/packages
20260708_101427 [processItems] call printers
20260708_101427 [processItems] Starting to process printers
20260708_101427 [processItems] skipping scripts - call scripts
20260708_101427 [processItems] Starting to process scripts
20260708_101427 [processItems] skipping scripts - call eBooks
20260708_101427 [processItems] Starting to process ebooks
20260708_101427 [processItems] skipping eBooks - call classes
20260708_101427 [processItems] Starting to process classes
20260708_101427 [processItems] skipping classes - call osxconfigurationprofiles
20260708_101427 [processItems] Starting to process osxconfigurationprofiles
20260708_101427 [processItems] skipping computer configuration profiles - call mobiledeviceapplications
20260708_101427 [processItems] Starting to process mobiledeviceconfigurationprofiles
20260708_101427 [processItems] skipping mobiledeviceconfigurationprofiles - call app-installers
20260708_101427 [processItems] Starting to process app-installers
20260708_101427 [processItems] app-installers
20260708_101427 [processItems] skipping app installers - call patchsoftwaretitles
20260708_101427 [processItems] Starting to process patchsoftwaretitles
20260708_101427 [processItems] patchsoftwaretitles
20260708_101527 [processItems] error reading patch software titles - call patchpolicies
20260708_101527 [processItems] Starting to process patchpolicies
20260708_101527 [processItems] patchpolicies
20260708_101527 [processItems] skipping patch policies - call computer-prestages
20260708_101527 [processItems] Starting to process computer-prestages
20260708_101527 [Json.getRecord] get existing endpoints URL: https://changed.jamfcloud.com/api/v3/computer-prestages
20260708_101529 [processItems] scanning computer prestages for packages and configuration profiles.
...
20260708_105913 [removeObject_Action] single click packages - without option key
20260708_105923 [removeObject_Action]      itemDict: RunTrigger-global_protect_6.2.8-948_pm.pkg and type packages
20260708_105923 [removeObject_Action] withOptionKey: false
20260708_105923 [removeObject_Action] single click packages - without option key
20260708_105932 [removeObject_Action]      itemDict: justanother.pkg and type packages
20260708_105932 [removeObject_Action] withOptionKey: false
20260708_105932 [removeObject_Action] single click packages - without option key
20260708_105939 [removeObject_Action]      itemDict: RunTrigger-global_protect_6.2.8-948_pm.pkg and type packages
20260708_105939 [removeObject_Action] withOptionKey: false
20260708_105939 [removeObject_Action] single click packages - without option key
20260708_105942 [removeObject_Action]      itemDict: justanother.pkg and type packages
20260708_105942 [removeObject_Action] withOptionKey: false
...
20260708_110642 [remove_Action] remove package with id: justanother.pkg
20260708_110642 [remove_Action] remove package with id: RunTrigger-global_protect_6.2.8-948_pm.pkg
20260708_110642 [remove_Action] remove package with id: justanother.pkg

Best Regards, ty for your nice work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions