r/MacOS • MacBook Pro M1 • 14h ago

Help How to debug MacOS upgrades?

Post image

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

10 comments sorted by

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.log

and also look at /var/log/install.log in 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.

1

u/foghcz MacBook Pro M1 3h ago

Thanks, I've left it over night just in case the zombie comes back to life. It didn't. Now I'm trying to find anything useful from the logs:

<<<]) error (null) for connection <NSXPCConnection: 0x7a0080be0> connection to service with pid 12605 named com.apple.sumaccontroller
2026-12-05 19:26:20.272060+0100 0xf5fad5   Default     0x0                  12605  30   softwareupdated: (SoftwareUpdateCoreConnect) [com.apple.SoftwareUpdateMacController:CLIENT] [InvalidateConnection](com.apple.sumaccontroller) Not invalidating server connection <NSXPCConnection: 0x7a0080be0> connection to service with pid 12605 named com.apple.sumaccontroller as client usesPersistentXPCConnections
2026-12-05 19:26:20.272200+0100 0xf5fa12   Default     0x0                  12605  30   softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:SU] [SUMacControllerDescriptor] shouldPerformSFRUpdate:NO (macOS contains SFR and the versions match)
2026-12-05 19:26:20.272211+0100 0xf5fa12   Default     0x0                  12605  30   softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:SU] [SUMacControllerDescriptor] shouldPerformSFRUpdate:NO (macOS contains SFR and the versions match)
2026-12-05 19:26:20.272256+0100 0xf5fa12   Fault       0x2d350d2            12605  14   softwareupdated: (libsystem_trace.dylib) QUARANTINED DUE TO HIGH LOGGING VOLUME
2026-12-05 19:26:20.272258+0100 0xf5fa12   Activity    0x2d350d2            12605  0    softwareupdated: (libsystem_trace.dylib) Activity for state dumps
2026-12-05 19:26:20.272387+0100 0x0        State       0x2d350d2            12605  14   softwareupdated: (CF1B0836-8F45-36A8-A4F9-8CECBBB00CA4) IOHIDManager State
{
    DispatchQueue = 0;
    RunLoop = 0;
    createOptions = 0;
    isOpen = 0;
    openOptions = 0;
}
2026-12-05 19:26:50.331112+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (OSUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUOSUPostLogoutInstallOperation: Applied MSU update
2026-12-05 19:26:50.331937+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Setting ManagedDoItLaterDeferralCount = 0
2026-12-05 19:26:50.338817+0100 0xf5fe9d   Error       0x0                  37008  30   Software Update: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Failed to set object of class: NSConstantIntegerNumber for key: ManagedDoItLaterDeferralCount with error: Error Domain=SUPreferenceManagerErrorDomain Code=1 "(null)"
2026-12-05 19:26:50.338936+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Setting MaximumManagedDoItLaterDeferralCount = 0
2026-12-05 19:26:50.339331+0100 0xf5fe9d   Error       0x0                  37008  30   Software Update: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Failed to set object of class: NSConstantIntegerNumber for key: MaximumManagedDoItLaterDeferralCount with error: Error Domain=SUPreferenceManagerErrorDomain Code=1 "(null)"
2026-12-05 19:26:50.339405+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (OSUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUOSUPostLogoutInstallOperation: Cleared MDM deferral counts
2026-12-05 19:26:50.339453+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (OSUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUOSUPostLogoutInstallOperation: Committing stash (flo = 1)
2026-12-05 19:26:50.339945+0100 0xf60213   Error       0x0                  569    30   suhelperd: [com.apple.SoftwareUpdate:SoftwareUpdate] SUHelperD: commit stash
2026-12-05 19:26:50.340027+0100 0xf60213   Default     0x0                  569    30   suhelperd: [com.apple.SoftwareUpdate:SoftwareUpdate] SUHelperD: FLO enabled during the stash commit, shouldFinalizeUpgradePlist = 1 as hasBaseSystemUpdates = 0
2026-12-05 19:26:50.343001+0100 0xf5fe9f   Error       0x0                  37008  30   Software Update: (OSUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] BridgeOSSoftwareUpdateController: Error retrieving updateState: Error Domain=BridgeOSSoftwareUpdateError Code=5 "[/AppleInternal/Library/BuildRoots/4~CWGAugBwKAyUmcPuNX-48WFR_S4skyxtGz9dmK8/Library/Caches/com.apple.xbs/Sources/BridgeOSSoftwareUpdateController/bridgeOSUpdateProxy/BridgeOSUpdateBridgeIPCClient.m:148][-[BridgeOSUpdateBridgeIPCClient connectToRemoteDevice]] can't find device with type: 3" UserInfo={NSLocalizedDescription=[/AppleInternal/Library/BuildRoots/4~CWGAugBwKAyUmcPuNX-48WFR_S4skyxtGz9dmK8/Library/Caches/com.apple.xbs/Sources/BridgeOSSoftwareUpdateController/bridgeOSUpdateProxy/BridgeOSUpdateBridgeIPCClient.m:148][-[BridgeOSUpdateBridgeIPCClient connectToRemoteDevice]] can't find device with type: 3}
2026-12-05 19:26:50.343088+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (OSUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUOSUPostLogoutInstallOperation: Rebooting (success = 1, displayAsleep = 0, shutdown = 0)
2026-12-05 19:26:50.343429+0100 0xf60213   Default     0x0                  569    30   suhelperd: [com.apple.SoftwareUpdate:SoftwareUpdate] SUHelper: Rebooting (success = 1, night install = 0, shutdown = 0)
2026-12-05 19:26:50.346714+0100 0xf60213   Default     0x0                  569    30   suhelperd: [com.apple.SoftwareUpdate:SoftwareUpdate] SUHelper: Muting boot chime
2026-12-05 19:26:50.536245+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] AssertionMgr: Cancel com.apple.SoftwareUpdate.PostLogout assertion for pid 37008, id 0x98C2
2026-12-05 19:26:50.536714+0100 0xf5fe9d   Default     0x0                  37008  30   Software Update: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] AssertionMgr: Cancel com.apple.SoftwareUpdate.PostLogout.DisplayAwake assertion for pid 37008, id 0x98C3
2026-12-06 08:09:52.976317+0100 0xb44      Error       0x0                  149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Service connection invalidated!
2026-12-06 08:09:52.977428+0100 0x9b5      Error       0x2e0                149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Connection proxy failure with error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process.}
2026-12-06 08:09:52.977493+0100 0x9b5      Error       0x2e0                149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Failed to get object of required class: NSNumber for key: AutomaticDownload with object class: (null) with error: Error Domain=SUPreferenceManagerErrorDomain Code=4 "(null)" UserInfo={NSUnderlyingError=0x7640e04ba0 {Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process.}}}
2026-12-06 08:09:52.981449+0100 0xb44      Error       0x0                  149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Service connection invalidated!
2026-12-06 08:09:52.985043+0100 0x9b5      Error       0x2e0                149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Connection proxy failure with error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process.}
2026-12-06 08:09:52.985113+0100 0x9b5      Error       0x2e0                149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Failed to get object of required class: NSNumber for key: ConfigDataInstall with object class: (null) with error: Error Domain=SUPreferenceManagerErrorDomain Code=4 "(null)" UserInfo={NSUnderlyingError=0x7640e054a0 {Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process.}}}
2026-12-06 08:09:52.991278+0100 0xb46      Error       0x0                  149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Service connection invalidated!
2026-12-06 08:09:52.995256+0100 0x9b5      Error       0x2e0                149    30   mobileassetd: (SoftwareUpdate) [com.apple.SoftwareUpdate:SoftwareUpdate] SUPreferenceManager: Connection proxy failure with error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.softwareupdated was invalidated: Connection init failed at lookup with error 3 - No such process.}

2

u/BitgeeksDev 2h ago

Nice digging. Reading those lines, the update side actually looks fine: it applied the update, committed the stash and asked for a reboot with success = 1. So the stall is after that restart, in the part that installs before macOS boots, and the normal session logs won't show much of it.

The errors in there are mostly noise. "can't find device with type: 3" is the updater looking for a T2 chip, which an M3 doesn't have, and the ManagedDoItLaterDeferralCount ones are it failing to write the MDM deferral settings.

Two things I'd grab next:

log show --last 2d --predicate 'eventMessage contains "Previous shutdown cause"' tells you how the Mac went down each time, so you can see whether the stuck boot ended in a forced power off.

systemextensionsctl list shows the security and network extensions Jamf has installed. If one of those shows up on every machine that hangs, that's the thing to put in front of IT, along with the time it stalled (19:26:50).

1

u/foghcz MacBook Pro M1 2h ago

My guess was a restart that didn't happen even though the system asked for it - that's what I see in the install log - I've put it in another thread down here.

The extensions - there's only a Cisco VPN and BitDefender

Previous shutdown cause shows only zeores, that's weird:

Filtering the log data using "composedMessage CONTAINS "Previous shutdown cause"" Skipping info and debug messages, pass --info and/or --debug to include. Timestamp                       Thread     Type        Activity             PID    TTL   -------------------------------------------------------------------------------------------------------------------- Log      - Default:          0, Info:                0, Debug:             0, Error:          0, Fault:          0 Activity - Create:           0, Transition:          0, Actions:           0

•

u/BitgeeksDev 1h ago

All zeros just means the search found no matching lines, not that the cause was 0. The unified log only keeps a few days, so the boot that matters may already have rolled out.

A quicker check: `last reboot` and `last shutdown` in Terminal list when the Mac actually restarted, so you can see whether the restart the installer asked for ever happened.

If it didn't, BitDefender would be my first suspect. Security tools with system extensions are a common reason an update stalls at that step. I'd remove it with its own uninstaller, restart, run the update, then put it back. Cisco VPN is less likely, but I'd disconnect it during the update too.

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.log and run log 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.

1

u/foghcz MacBook Pro M1 3h ago

Thanks, looking at the logs it looks like there should have been a silent reboot, which didn't happen:

2026-12-05 19:26:50+01 NB323247 Software Update[37008]: SUOSUPostLogoutInstallOperation: Rebooting (success = 1, displayAsleep = 0, shutdown = 0)
2026-12-05 19:26:50+01 NB323247 softwareupdated[12605]: authorizeWithEmptyAuthorizationForRights: Requesting provided rights: 18
2026-12-05 19:26:50+01 NB323247 softwareupdated[12605]: SUUpdateServiceDaemon: Rebooting (success = 1, nightInstall = 0, displayAsleep = 0, shutdown = 0)
2026-12-05 19:26:50+01 NB323247 suhelperd[569]: SUHelper: Rebooting (success = 1, night install = 0, shutdown = 0)
2026-12-05 19:26:50+01 NB323247 suhelperd[569]: SUHelper: Muting boot chime
2026-12-05 19:26:50+01 NB323247 suhelperd[569]: Boot chime muted
2026-12-05 19:26:50+01 NB323247 Software Update[37008]: AssertionMgr: Cancel com.apple.SoftwareUpdate.PostLogout assertion for pid 37008, id 0x98C2
Dec  6 08:09:52 localhost powerd[55]: powerd process is started
Dec  6 08:09:52 NB323247 opendirectoryd[72]: [session] UID: 0, EUID: 0, GID: 0, EGID: 0, PID: 73, PROC: apsd ODNodeCreateWithNameAndOptions request, SessionID: 00000000-0000-0000-0000-000000000000, Name: /Search, Options: 0x0
Dec  6 08:09:52 NB323247 opendirectoryd[72]: [session] ODNodeCreateWithNameAndOptions failed with result 2000

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.

1

u/foghcz MacBook Pro M1 2h ago

It was started by me. They don't really care about it, they only suggest a complere reinstall, which we did once already. There are just a few macs in windows company...