Giter VIP home page Giter VIP logo

Comments (8)

Macjutsu avatar Macjutsu commented on September 1, 2024

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.

KumarMudedla avatar KumarMudedla commented on September 1, 2024

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
image

image

I just ran script on it and it just sits here
image

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.

Macjutsu avatar Macjutsu commented on September 1, 2024

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.

Macjutsu avatar Macjutsu commented on September 1, 2024

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.

KumarMudedla avatar KumarMudedla commented on September 1, 2024

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.

KumarMudedla avatar KumarMudedla commented on September 1, 2024

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.

Macjutsu avatar Macjutsu commented on September 1, 2024

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.

Macjutsu avatar Macjutsu commented on September 1, 2024

This should be resolved with super v3.0b1. Thanks!

from super.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.