Posted on 06-29-2022 09:39 AM
I've been seeing an error, "Software update timed out after 300 seconds" lately when a device runs an inventory, recon.
Any one have an Idea what this is from? In the device inventory I'm not seeing any pending apple software updates or failed MDM commands.
Posted on 06-29-2022 09:53 AM
From the 10.39 release notes:
[PI109755] When a computer inventory submission hangs and "Collect available software updates" is selected in the Computer Inventory Collection settings, the computer successfully moves on from the failed command after a period of time.
Posted on 06-29-2022 10:21 AM
Posted on 06-29-2022 11:42 AM
I used jamf remote to send softwareupdate -l. It is taking a long time to finish. It is running an older system 10.15.7
Posted on 06-29-2022 11:28 AM
I have recently been seeing this on a few computers as well since 10.39.1
Posted on 07-14-2022 06:04 AM
Count me in.
Posted on 06-29-2022 03:52 PM
I haven't checked the last release but as far as I know this is still broken. I talk about this issue here - This Page Here
I sincerely miss having Jamf being able to grab security, safari and app store updates automatically.
Posted on 06-30-2022 12:00 PM
There are issues with software updates with later versions Big Sur ...We have to
sudo launchctl kickstart -k system/com.apple.softwareupdated
to get it working : ) don't really know if it's Apple or our security software. : )
C
Posted on 06-30-2022 04:58 PM
So far all the devices with this issue are 10.15.7. a policy to run launchctl kickstart -k system/com.apple.softwareupdated on the devices and run an inventory have done so error free.
Posted on 07-01-2022 07:46 AM
You are awesome. Thanks so much for this. It's hitting and fixing our entire fleet now. (I was looking at lists and policies this morning and said out loud, "11.6.5 is not up-to-date!")
07-06-2022 01:43 PM - edited 07-14-2022 07:05 AM
Unfortunately, this fox did not resolve this issue. But, thanks for the suggestion @gachowski 😀
Posted on 07-08-2022 01:34 PM
That is brilliant, @gachowski
Thank you so much
Posted on 07-14-2022 06:07 AM
I can see this issue since Jamf 10.39.1 on various macOS versions (10.15.x, 11.x & 12.x) and kickstarting the softwareupdate daemon does NOT solve it.
Posted on 07-14-2022 07:04 AM
Unfortunately. True. It did not resolve the issue.
07-14-2022 07:14 AM - edited 07-21-2022 12:02 PM
It did for a lot of machines for us but not all. This is clearly a pretty bad bug which they hopefully fix ASAP.
Posted on 05-20-2024 08:46 AM
That command helped me today!
Posted on 05-20-2024 10:16 AM
Be aware that as of macOS Sonoma 14.4 Apple will not run a launchctl kickstart -k command against most system services, including com.apple.softwareupdated
Posted on 05-21-2024 08:40 AM
I was running against a Ventura laptop.
But thank you for the info, appreciated.
Posted on 07-14-2022 07:58 AM
Add me to this. macOS is 10.15.7, 11.x and maybe others now...truly annoying to say the least.
Posted on 07-15-2022 06:41 AM
We are experiencing this as well. I have submitted a support ticket.
Posted on 07-15-2022 09:49 AM
We are also seeing this issue across our estate. Its affecting multiple OS versions. Its not every device, and its not every inventory, but its happening frequently enough. However, previously policy's often failed to inventory when 'Collect software updates' was selected. The inventory would fail due to software update collection, but the error wasn't reported. Whats changed is better error reporting. I'd still like to know why its failing though, is it a Jamf of an Apple issue?
Posted on 07-15-2022 09:51 AM
Random here too, and it's timing out on the "software update" bit. Even though we have a decent amount of Extension Attributes, it's never done this before, so yeah, sumpin' is up.
I've run sudo jamf recon -verbose, but nothing other than that shows as the culprit here.
Posted on 07-15-2022 10:02 AM
I have seen on machines not enrolled in Jamf a few times, so I assume it's a Apple issue... : )
07-19-2022 05:55 AM - edited 07-19-2022 05:55 AM
Starting to see this on random computers in the enterprise, after updating to MacOS 12.4. Is it just a matter of extending the time, if possible?
Locating hardware information (macOS 12.4.0)...
Software update timed out after 300 seconds.
Posted on 07-25-2022 12:18 PM
Created a script & Policy and pushed to those computers with recon errors. It seemed to have worked.
launchctl kickstart -k system/com.apple.softwareupdated; sleep 10; softwareupdate -l; sleep 10; /usr/local/jamf/bin/jamf recon
Posted on 07-21-2022 12:01 PM
I am not seeing this error at all anymore on our 800 Mac fleet as of around 7/18. I only saw it very rarely after running this on all of them:
launchctl kickstart -k system/com.apple.softwareupdated; sleep 10; softwareupdate -l; sleep 10; /usr/local/jamf/bin/jamf recon
Posted on 07-25-2022 12:14 PM
Still seeing on ~10 Macs here...I hate it since I have email notifications setup for failed recons...
Posted on 07-25-2022 12:22 PM
@A-bomb - I'm not against trying this, but it makes me wonder what went wrong - Jamf or the Macs or?
Not wanting to change what's been working without understanding why it's happening. But, thank you for that. Maybe I'll test one and see what happens...
Posted on 07-25-2022 12:28 PM
@scottb It seems MacOS is between updates and it fails finding the correct version. I am seeing this on 11.x macOS mostly. Once they get the update or the script, it seems to resolve the recon issue.
Posted on 07-25-2022 12:31 PM
@DMH2000 - OK, I created a policy and scoped a couple troubled Macs to it...will report back.
Posted on 07-26-2022 08:18 AM
So, the Macs I ran the script on seem to be cured for the moment...
Thanks for the info, but I hope this goes away with Jamf 10.40.0.
Posted on 07-26-2022 08:44 AM
@scottb macAdmin slack knows/thinks it's a Apple/macOS issue and has happened on the past three or four version of macOS.
C
Posted on 08-12-2022 12:29 PM
Seeing this too. We're rolling out the 'Nudge' framework to enforce software updates, documentation states to include an 'Update Inventory' command as part of the Nudge policy. Noticed I have a lot of computers failing on the collecting inventory part. Google search of the error lead me to this thread (though we do have Jamf Pro).
Rolling out a
sudo launchctl kickstart -k system/com.apple.softwareupdated
to all computers to see if it helps.
+1 for hoping Jamf 10.40.0 fixes this.
08-15-2022 01:24 PM - edited 08-15-2022 02:15 PM
I recently updated my on premise JSS from 10.37.2 to 10.40. I am now seeing the error “Software update timed out after 300 seconds.” a LOT during (2) specific tasks (not including any MDM software update commands):
1 When a policy includes an update inventory payload (after installing a pkg for example).
2. When a managed Mac checks in to upload its inventory as part of a scheduled routine (daily).
This appears to be mainly affecting macOS 11.x Big Sur Macs, but I think I have seen it on macOS 12 Monterey as well.
I do not see that PI109755 is resolved in 10.40.1
Posted on 08-16-2022 08:11 AM
Still seeing some of these, even on Macs I ran the script on. Not as many, but still...
FWIW, it is on 11.x and 12.x Macs.
Posted on 08-17-2022 06:24 AM
After talking to Jamf Support (on an unrelated call) they indicated that this timeout issue should be affecting mainly Jamf Pro customers running 10.39 and 10.40 (I think) and only affecting macOS 11 Macs (that has a known documented issue of softwareupdate getting 'stuck') but I have seen it on macOS 12 too To remediate, I am running a simple one-liner script to kickstart the macOS softwareupdate process on a regular schedule (set to weekly but might run it daily).
sudo launchctl kickstart -k system/com.apple.softwareupdated
Posted on 08-22-2022 05:00 PM
Jamf 10.40. Saw recon hang at "Locating hardware information" on a Big Sur machine, and kickstart fixed it. Monterey machine running 12.15.0 hung, and kickstart didn't resolve it. Upgraded to 12.15.1 and kickstart still didn't resolve the hang on "Locating hardware information. Ran recon with --verbose and it seems to hang after Gatekeeper status. Machine has the default Gatekeeper configuration though, so not sure what the issue would be.
Locating hardware information (macOS 12.5.1)...
verbose: Device is BLE capable: no
verbose: Device is SIP protected: Enabled
verbose: Checking AD status...
verbose: Gatekeeper status: App Store and identified developers
Posted on 03-08-2023 02:18 PM
This problem has plagued my environment for many months to a point that I stopped collecting software updates in the the inventory. Apparently, Jamf hasn't fixed this yet as of v10.44.1.
Posted on 03-09-2023 06:55 AM
We are still running periodical kickstarts here at my org which certainly cuts down on the errors in inventory but I still see a few each day.
Posted on 03-09-2023 12:49 PM
Each round of recons (daily) shows a few as well. Not a huge issue, but would like to see no errors on this...