r/MacOS • u/foghcz MacBook Pro M1 • 14h ago
Help How to debug MacOS upgrades?
Hi everyone,
my work Macbook Air M3 gets stuck with each MacOS update at roughly 40%. The picture above is after 3 hours. It happens with each update, it doesn't really matter which one.
The laptop is JAMF managed, so I suspect some corporate bullsh*t doing this. The help desk doesn't really care, they only offer full reinstall, but that didn't solve the issue.
Is there a way to check some logs perhaps? How could I find out what's causing this?
1
Upvotes
4
u/BitgeeksDev 13h ago
The installer writes its own log, so after it fails (or once you're back in), open Terminal and run:
log show --last 1d --predicate 'process == "softwareupdated" OR subsystem == "com.apple.SoftwareUpdate"' > ~/Desktop/update.logand also look at
/var/log/install.login Console. Search for "error" or "fail" around the time it got stuck.If it's the same 40% every time and a reinstall didn't fix it, I'd suspect something your company installs that hooks deep into the system, like a security or endpoint agent, more than macOS itself. Those often need updating before the OS update goes through. Since it's managed, the useful ask to IT is "please check install.log and the security agent version" rather than another reinstall.
3
u/rbboll7823 13h ago
If it fails on every update, even after a reinstall, my money's on endpoint or security software that JAMF pushes, not the Mac. For logs, check
/var/log/install.logand runlog show --last 4h --predicate 'process == "softwareupdated"'in Terminal right after it fails. Look for the last lines before it stalls. Also try running the update from Safe Mode (hold the power button at boot, then hold Shift), which keeps third-party system extensions from loading. If that works, you've got proof to take back to the help desk.4
u/Dry-Raspberry9457 14h ago
open the Console app, go to Log Reports and look at install.log. scroll to the time it got stuck, the last lines before it goes quiet usually show what its waiting on. what does it say there?
1
u/EngineerVal 12h ago
Was the update pushed by Jamf or started from System Settings? If Jamf pushed it, IT can check History - Operating System History - Details - View event store in that Mac's Jamf Pro record. Send them the time it stalled.