Skip to main content
Question

PI-007928 (iOS App Catalog updates broken in 10.18.0)

  • February 7, 2020
  • 23 replies
  • 51 views

Forum|alt.badge.img+15
  • Esteemed Contributor
  • 719 replies

Upgraded to 10.18.0 and no longer getting mobile device app catalog updates? You're likely running into PI-007928.

Below is a script you can run against your Jamf Pro instance to identify apps in your catalog that are out-of-date. Then, at least, you'll know which apps to manually update.

https://github.com/cwmcbrewster/Jamf_API_Scripts/blob/master/JSS_API_check_app_versions.sh

EDIT: Here is a second script that will update the app versions for you. The script waits for user input to verify the change but you could easily remove that if you're feeling confident. You'll need an API account that can read and update mobile device applications.
https://github.com/cwmcbrewster/Jamf_API_Scripts/blob/master/JSS_API_update_mobileapp_versions.sh

23 replies

Forum|alt.badge.img+3
  • New Contributor
  • 3 replies
  • February 26, 2020

Just ran in to this. App on iPad wont work because it's not new enough. Looked at the JSS and the app is a few versions behind.

If I click on Force Update is that supposed to update it on the iPads, even if its not showing the correct version on the JSS Mobile Device Apps page?


jphillips
Forum|alt.badge.img+11
  • Valued Contributor
  • 63 replies
  • February 26, 2020

Clicking Force Update did not work for us. We had to manually delete each app that was not up-to-date and re-add it with the scopes.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • 719 replies
  • February 26, 2020

@jphillips No need to delete apps and re-add them. Just edit the app(s) and update the version. After that, your devices should get the update next time they submit inventory. You can use the script I linked to above to compare app versions in your Jamf instance to the app versions in the App Store.

@RyanSK I believe the Force Update button sends an MDM command out to all devices with that app installed telling that device to update that given app. I don't think it matters if the device has the current version of the app installed or not. It's basically a reinstall all button.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • 719 replies
  • February 26, 2020

This issue still exists in 10.19.0. It also appears that this issue prevents automatic disabling of apps when they are removed from the App Store.

I added a link (top post) to a second script that will update app versions for you.


Forum|alt.badge.img+1
  • New Contributor
  • 7 replies
  • March 19, 2020

This issue still exists in 10.20.0


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • March 20, 2020

We received the following information yesterday:

Thank you for your message. I'm really sorry you have this problem. Yes, we know the problem with apps. The reference number for this is: PI-007928. Now you can only update the apps manually via UI or API. The resolution comes with Jamf Pro 10.21. We released version 10.20 last night.


Forum|alt.badge.img+3
  • New Contributor
  • 7 replies
  • April 3, 2020

Please fix this!


Forum|alt.badge.img+7
  • Contributor
  • 37 replies
  • April 6, 2020

+1 for these scripts, thanks @cbrewer , worked like a charm.


Forum|alt.badge.img+12
  • Valued Contributor
  • 79 replies
  • April 8, 2020

Have to be kidding me that a core part of iPad MDM has been broken for so many releases. Apps need to be updated... and Apple even makes this easy to do through MDM. The fact that Jamf's code for checking updates breaks so often, yet the community can script a fix is frustrating.


Forum|alt.badge.img+12
  • Honored Contributor
  • 309 replies
  • April 22, 2020

This is causing us more issues than normal now especially because we use a lot of the google apps that are getting updated due to the current situation. The apps are not updating themselves to get the new features that are being released. I've managed to manually change some of them but is causing a lot of headaches for students/parents/teachers. I feel the IOS side of Jamf gets left out quite a bit. For example, it took a while for them to implement the bluetooth restriction which other MDM providers had from day one. With every new update comes a new bug.


Forum|alt.badge.img+14
  • Valued Contributor
  • 222 replies
  • April 24, 2020

Wow thanks @cbrewer that script is great. As someone who is not very savvy with such things - once I figured out Homebrew and jq it worked like a charm.


Forum|alt.badge.img+12
  • Honored Contributor
  • 309 replies
  • April 27, 2020

I'm running into an issue with script. I think it might have something to do with the script checking the mobile app id and stopping when it sees an app isn't assigned to that id. For example, appid1 = Self Service, appid2 = blank, appid3 = Jamf Reset. Because appid2 is blank and doesn't exist I believe the script is ending early.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • 719 replies
  • April 27, 2020

@RLR The script doesn't iterate thru apps by assuming all app ID numbers are there. It's using the API to get all current apps from /mobiledeviceapplications. The apps that the script sees should be the same list of apps you see in your Jamf Pro server.


Forum|alt.badge.img+12
  • Honored Contributor
  • 309 replies
  • April 27, 2020

@cbrewer Thanks for the quick reply. Terminal is telling me 1 apps processed but when I open the CSV file I don't have anything in there. I have 500+ apps in Jamf. Not sure what it might be.

Edit: ignore my posts. Was my api account not having correct permissions.


Forum|alt.badge.img+1
  • New Contributor
  • 2 replies
  • April 28, 2020

when i run this im getting back a result -bash: !": event not found
this is on the 1st run app and csv is empty using a admin account with full access


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • 719 replies
  • April 28, 2020

This issue is fixed in Jamf Pro 10.21.0.


Forum|alt.badge.img+14
  • Valued Contributor
  • 222 replies
  • January 19, 2021

@cbrewer I had no issue running your first script earlier this year but now all I get is:
This may take a while depending on the number of apps in your jss
Checking 1 apps...
(23) Failed writing body
1 apps processed... It seems that the apps are once again not updating as we expect them to :(
Have a ticket in with Jamf


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • 719 replies
  • January 19, 2021

@bfrench

Big Sur introduced a change to xpath. See here.

I updated the script so it works in Big Sur.


Forum|alt.badge.img+14
  • Valued Contributor
  • 222 replies
  • January 19, 2021

Thanks - that fixed part of the issue - however still getting
Checking 1 apps...
1 apps processed...


Forum|alt.badge.img+14
  • Valued Contributor
  • 222 replies
  • January 19, 2021

ugh just got it to work - darn typo


Forum|alt.badge.img+14
  • Valued Contributor
  • 222 replies
  • January 19, 2021

Just received this from Jamf

I can confirm that you're hitting a separate product issue,
PI-007928: Jamf Pro Does Not Issue App Updates To Devices When New Versions Are Clearly Available.


Forum|alt.badge.img+3
  • New Contributor
  • 5 replies
  • February 8, 2022

Can someone please tell me the steps to run this script? I would like to know what apps need to be updated. The issue seems to still be happening where Apps are not updating again. 


jkeller13
Forum|alt.badge.img+6
  • Contributor
  • 20 replies
  • November 7, 2022

How is this still a problem 🤦🏻‍