super icon indicating copy to clipboard operation
super copied to clipboard

Sequoia - 5.0b2- Erroneous Non-system update triggered

Open master-vodawagner opened this issue 1 year ago • 12 comments

Been dabling with macOS Sequoia and Super V4.1.0b1, post upgrading to Sequoia Super seems to detect a non-system update, attempts to install it and fails.

I cannot see any updates in the logs or softwareupdate --list

Thu Jul 11 10:38:33 X2030488 super[2792]: **** S.U.P.E.R.M.A.N. 4.1.0-beta1 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE START ****
Software Update Tool

super.log msu-workflow.log mdmclient-list.log

master-vodawagner avatar Jul 11 '24 10:07 master-vodawagner

I've also done a --reset-super argument initiated from jamf Pro and ti still finds an invisible update @Macjutsu

Looks like its treating a blank space from the softwareupdate --list command as a non-OS update

master-vodawagner avatar Jul 23 '24 15:07 master-vodawagner

Thanks for this.. you'll want to check again when the next beta hits...

Macjutsu avatar Jul 23 '24 17:07 Macjutsu

There are many updates in https://github.com/Macjutsu/super/releases/tag/v5.0.0-beta2 that may resolve this behavior. Please try it out.

Macjutsu avatar Jul 26 '24 21:07 Macjutsu

There are many updates in https://github.com/Macjutsu/super/releases/tag/v5.0.0-beta2 that may resolve this behavior. Please try it out.

Hello

Unfortunately not 😩

master-vodawagner avatar Jul 26 '24 22:07 master-vodawagner

Hrm... I'm using this on my computer running 15.0 Beta (24A5298h) right now... can you please provide a super.log when you get a chance... thanks!

Macjutsu avatar Jul 26 '24 22:07 Macjutsu

Still redacting my super.log but the mdmclient log has some entries.

=== OS Update Item === Product Key: 012-04872 Title: MRTConfigData Version: 1.93 <Build: (null)> <PMV: (null)> Deferred: no (Date: ) Tags:
MacOSUpdate: no MSU: no (Major: no Full: no DL: no label: (null)) Splat: no <(null)> (Revoked: no) IsMacOSUpdate(): no === OS Update Item === Product Key: 061-06985 Title: Gatekeeper Compatibility Data Version: 1.0 <Build: (null)> <PMV: (null)> Deferred: no (Date: ) Tags:
MacOSUpdate: no MSU: no (Major: no Full: no DL: no label: (null)) Splat: no <(null)> (Revoked: no) IsMacOSUpdate(): no

mdmclient-list.log msu-list.log msu-workflow.log

master-vodawagner avatar Jul 26 '24 22:07 master-vodawagner

super.log

Fri Jul 26 22:59:38 X2030488 super[3330]: **** S.U.P.E.R.M.A.N. 5.0.0-beta2 - SUPER STARTUP ****\
Fri Jul 26 22:59:38 X2030488 super[3330]: Status: Mac computer with Apple silicon running: macOS  15.0-24A5298h\
Fri Jul 26 22:59:38 X2030488 super[3330]: Status: Last macOS startup was: 2024-07-26:22:50:44\
Fri Jul 26 22:59:38 X2030488 super[3330]: Status: Current active GUI user is: lewis12345 (502)\
Fri Jul 26 22:59:40 X2030488 super[3330]: Status: Managed by Jamf Pro 11.8.0 hosted at: <REDACTED>\
Fri Jul 26 22:59:40 X2030488 super[3330]: Status: Previously scheduled installation workflow active for: 2024-07-27:21:18\
Fri Jul 26 22:59:40 X2030488 super[3330]: Status: macOS update/upgrade workflows automatically authenticated via Jamf Pro API with --auth-mdm-failover-to-user=ALWAYS.\
Fri Jul 26 22:59:40 X2030488 super[3330]: **** S.U.P.E.R.M.A.N. 5.0.0-beta2 - CHECK FOR SOFTWARE UPDATES/UPGRADES ****\
Fri Jul 26 22:59:40 X2030488 super[3330]: Status: Deferral restrictions have changed since last super workflow run, full software status check required.\
Fri Jul 26 22:59:40 X2030488 super[3330]: Status: This system is currently configured with software update deferral restrictions.\
Fri Jul 26 22:59:41 X2030488 super[3330]: mdmclient: Waiting for available updates listing...\
Fri Jul 26 22:59:47 X2030488 super[3330]: softwareupdate: Waiting for available updates listing...\
Fri Jul 26 22:59:58 X2030488 super[3330]: Target: Non-system update 1 of 1 is:  \
Fri Jul 26 22:59:59 X2030488 super[3330]: Status: Resetting automatic zero date.\
Fri Jul 26 22:59:59 X2030488 super[3330]: Status: Resetting all deadline counters.\
Fri Jul 26 22:59:59 X2030488 super[3330]: **** S.U.P.E.R.M.A.N. 5.0.0-beta2 - NON-SYSTEM SOFTWARE UPDATE ****\
Fri Jul 26 22:59:59 X2030488 super[3330]: IBM Notifier: Installing non-system macOS software updates notification.\
Fri Jul 26 22:59:59 X2030488 super[3330]: softwareupdate: Starting non-system macOS software updates installation workflow, check /Library/Management/super/logs/msu-workflow.log for more detail.\
Fri Jul 26 23:00:00 X2030488 super[3330]: Warning: Help button not shown because URL is unreachable: https://support.apple.com/en-gb/HT213895\
Fri Jul 26 23:02:00 X2030488 super[3330]: Error: Installation of non-system macOS software updates failed to start after waiting for 120 seconds.\
Fri Jul 26 23:02:00 X2030488 super[3330]: Warning: Apple no longer allows for restarting of software update services on macOS 14.4 or newer. The system may need to be restarted for software update to function properly.\
Fri Jul 26 23:02:00 X2030488 super[3330]: Status: This system is currently configured with software update deferral restrictions.\
Fri Jul 26 23:02:01 X2030488 super[3330]: mdmclient: Waiting for available updates listing...\
Fri Jul 26 23:02:27 X2030488 super[3330]: softwareupdate: Waiting for available updates listing...\
Fri Jul 26 23:02:56 X2030488 super[3330]: Target: Non-system update 1 of 1 is:  \
Fri Jul 26 23:02:56 X2030488 super[3330]: Warning: Failed to install all non-system macOS software updates, re-trying installation workflow.\
Fri Jul 26 23:02:56 X2030488 super[3330]: softwareupdate: Starting non-system macOS software updates installation workflow, check /Library/Management/super/logs/msu-workflow.log for more detail.\
Fri Jul 26 23:04:56 X2030488 super[3330]: Error: Installation of non-system macOS software updates failed to start after waiting for 120 seconds.\
Fri Jul 26 23:04:56 X2030488 super[3330]: Warning: Apple no longer allows for restarting of software update services on macOS 14.4 or newer. The system may need to be restarted for software update to function properly.\
Fri Jul 26 23:04:56 X2030488 super[3330]: Status: This system is currently configured with software update deferral restrictions.\
Fri Jul 26 23:04:58 X2030488 super[3330]: mdmclient: Waiting for available updates listing...\
Fri Jul 26 23:05:02 X2030488 super[3330]: softwareupdate: Waiting for available updates listing...\
Fri Jul 26 23:05:08 X2030488 super[3330]: Target: Non-system update 1 of 1 is:  \
Fri Jul 26 23:05:08 X2030488 super[3330]: Warning: Some non-system macOS software updates did not complete, trying again in 60 minutes.\
Fri Jul 26 23:05:08 X2030488 super[3330]: IBM Notifier: Failure notification.\
Fri Jul 26 23:05:08 X2030488 super[3330]: Exit: super is scheduled to automatically relaunch at: 2024-07-27:00:05:00\
Fri Jul 26 23:05:08 X2030488 super[3330]: **** S.U.P.E.R.M.A.N. 5.0.0-beta2 - EXIT CLEAN ****\
Fri Jul 26 23:05:08 X2030488 super[3330]: Warning: Help button not shown because URL is unreachable: https://support.apple.com/en-gb/HT213895\

master-vodawagner avatar Jul 26 '24 22:07 master-vodawagner

I don’t know if this is an issue pertaining from upgrading Sonoma to Sequoia or if it exists on a laptop setup directly to Sequoia yet.

master-vodawagner avatar Jul 27 '24 06:07 master-vodawagner

Just tested a straight build to Sequoia beta4 and superV5 has found nothing.

So this is just the scenario of upgrading from Sonoma to Sequoia.

master-vodawagner avatar Jul 27 '24 18:07 master-vodawagner

@Macjutsu I think I've found the root cause, looks like upgrading to Sequoia doesn't automatically change the beta update channel the Mac is assigned too and keeps it on macOS Sonoma AppleSeed beta.

Scenario Previous OS: Sonoma 14.6 23G80 Beta Update channel: macOS Sonoma AppleSeed Beta

Upgrade to macOS Sequoia 24A5298h, once at the Desktop SuperV5 kicks in and finds these random non-OS updates, the Mac is still attached to the Sonoma beta update channel. Once I flipped the mac to the macOS Sequoia AppleSeed Beta channel and ran super --reset-super all is well in the world again

master-vodawagner avatar Jul 29 '24 13:07 master-vodawagner

Not sure if this is the culprit or not. Decided to try changing the beta update channel to Sequoia before upgrading.

Once at Seqouia super found the invisible updates 😩

master-vodawagner avatar Jul 29 '24 21:07 master-vodawagner

This command /usr/sbin/softwareupdate --background --include-config-data appears to have worked on 1 test device so far.

We've basically deployed SuperV5, then triggered the Sequoia upgrade and used an existing launchdaemon called reconatreboot.sh which runs a Jamf recon after Sequoia upgrade before finally running the added the above command to run prior to running super --reset-super

master-vodawagner avatar Jul 30 '24 15:07 master-vodawagner

Think you can give the latest build a try?

https://github.com/Macjutsu/super/releases/tag/v5.0.0-beta3

Macjutsu avatar Sep 10 '24 03:09 Macjutsu

Yes although wouldn’t be until mid October sorry, extended holiday time.

master-vodawagner avatar Sep 10 '24 13:09 master-vodawagner

I'm gonna close this for now... I have made a bunch of changes and will likley do a lot more in the next few weeks for the release of Sequoia. If you see this again in October on whatever latest version is, please open a new issue.

Thanks!

Macjutsu avatar Sep 11 '24 01:09 Macjutsu

Based on a chat thread in the super slack Chanel, this is so present in beta 3

master-vodawagner avatar Sep 18 '24 12:09 master-vodawagner

I think I have a fix in the next beta.... soon.

Macjutsu avatar Sep 18 '24 13:09 Macjutsu

Pretty sure I got it this time: https://github.com/Macjutsu/super/releases/tag/v5.0.0-beta4

Macjutsu avatar Sep 19 '24 17:09 Macjutsu