Comments (8)
First, to be clear super
is waiting for the softwareupdate
process to itself return that it's done. The super
update.log is just there for reference when using softwareupdate
. (Further, super
only reacts to the update.log when downloads are called via MDM command.)
In other words, in your testing is the softwareupdate
process completing the download? Even if the download was previously cached, the softwareupdate
command should return that the "downloads are complete", and thus super
continues with its workflow.
from super.
Thank you for correcting me , looked at the script again and it is waiting for the softwareupdate and checking 'downloadRESULT'
may be I am hitting the same Software update notification issue
I did disabled the update notifications, not sure if that applied here then, it worked fine on the VM's
I see that Softwareupdate returning downloaded 12.4 and also I see 'Restart Now' option on the Software Update
I just ran script on it and it just sits here
Update logs sitting at the below as behavior where the update notification enabled
[com.apple.SoftwareUpdateMacController:ScanManager] [Progress] Scan reported progress (end): phase:MINOR_DOCUMENTATION stalled:NO portionComplete:99.000000 estimatedTimeRemaining:-1.000000 2022-06-02 13:08:15.933553-0500 0x4768e Default 0x0 283 0 softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:ScanManager] [Progress] Scan reported progress (start): phase:COMPLETE stalled:NO portionComplete:100.000000 estimatedTimeRemaining:-1.000000 2022-06-02 13:08:15.933553-0500 0x4768e Default 0x0 283 0 softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:ScanManager] [Progress] Scan reported progress (start): phase:COMPLETE stalled:NO portionComplete:100.000000 estimatedTimeRemaining:-1.000000 2022-06-02 13:08:15.933553-0500 0x4768e Default 0x0 283 0 softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:ScanManager] [Progress] Scan reported progress (start): phase:COMPLETE stalled:NO portionComplete:100.000000 estimatedTimeRemaining:-1.000000 2022-06-02 13:08:15.933553-0500 0x4768e Default 0x0 283 0 softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:ScanManager] [Progress] Scan reported progress (start): phase:COMPLETE stalled:NO portionComplete:100.000000 estimatedTimeRemaining:-1.000000
from super.
Below is an example from macOS 12 of the output of softwareupdate
when the download has already been completed and you try to download it again. It "completes" the download in just a few seconds, but it still exits properly without hanging. In other words, in your testing softwareupdate
isn't returning back that it's done.
build@MacBook-Pro ~ % time sudo softwareupdate --download --all
Software Update Tool
Finding available software
Downloading macOS Monterey 12.4
Downloaded: macOS Monterey 12.4
sudo softwareupdate --download --all 0.06s user 0.05s system 1% cpu 9.012 total
from super.
In your previous example of the update.log... note that the progress that reported as completed is just the [Progress] Scan reported progress
. That means the update scan completed, not the download and preparation. Below is an example from the update.log of what we would see if the download actually completed, prepared, and is ready to install.
[com.apple.SoftwareUpdateMacController:SU] [SUMacControllerProgressManager] Reported progress (inter): phase:PREPARING_UPDATE stalled:NO portionComplete:0.985610 estimatedTimeRemaining:300.000000
2022-06-02 11:20:01.225208-0700 0x10d0a Default 0x0 269 0 softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:SU] [SUMacControllerProgressManager] Reported progress (end): phase:PREPARED stalled:NO portionComplete:0.999000 estimatedTimeRemaining:-1.000000
2022-06-02 11:20:01.225347-0700 0x10d0a Default 0x0 269 0 softwareupdated: (SoftwareUpdateMacController) [com.apple.SoftwareUpdateMacController:SU] [SUMacControllerProgressManager] Reported progress (end): phase:COMPLETED stalled:NO portionComplete:1.000000 estimatedTimeRemaining:-1.000000
Thu Jun 02 11:20:01 Monterey12 super[6304]: **** S.U.P.E.R.M.A.N. ASU DOWNLOAD END ****
from super.
Yes, its not going to the downloads phase, I am assuming its getting stuck like the Softwareupdare notification issue, I will double check on the Software update notifications are disabled as may be the notification are not getting disabled even after the config profile installed.
Thank you for taking time on this
from super.
just update you, in that state if I run the Super from terminal, its working fine, so it update notifications are not disabled properly. Sorry I am asking tom many questions, Any way to manually check if the update notification disabled completely ?
from super.
Please check out super
v2.0-b1 and see if it resolves your issue. There are some internal improvements to the MDM parsing that may help.
from super.
This should be resolved with super
v3.0b1. Thanks!
from super.
Related Issues (20)
- Message Enhancement Request HOT 1
- Download and upgrade not working with workflow user (v3.0b6) HOT 6
- FR - Logic Check - Super if executed inside defer window to end script during validation? HOT 4
- Super 3.0-b6 Enhancement Request HOT 17
- Edit wiki page "Jamf Pro Deployment" to include link to the Jamf Pro API Credentials page. HOT 1
- Hard-coded install path /Library/Management. Consider giving advice in wiki on changing it. HOT 2
- Write super's installation path to its own .plist file.
- The Wiki link to "Test Mode" on the Update Options page is broken. HOT 1
- Allow admins to disable the alert sound. HOT 3
- macOS 13.2 Upgrade Failed HOT 6
- Make sure standard users are getting promoted to an admin user HOT 5
- Unable to install Safari Updates HOT 4
- checkMacOSUpgrades is not sorting correctly HOT 3
- Amend text? HOT 3
- mdmWorkflowTYPE == "INSTALLER" timeout logic fail? HOT 2
- Enhancements HOT 4
- Missing $ character in script - Line 5066 HOT 2
- Updates work, Upgrade fails with "timed out" HOT 9
- First Restart without updating HOT 9
- IBM Notifier option display-accessory-type=TEXTBOX not working properly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super.