You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When initiating the script from 3rd party tool (ManageEngine Desktop Central in this case) and the tool is not universal but runs via Rosetta, the script seems to fail. This is likely due to anything launched via the tool running under Rosetta as well and the script cannot handle this
To Reproduce
Script installed using the basic pkg. Launching the script via ManageEngine Desktop Central using command /bin/bash /Library/Management/erase-install/erase-install.sh --reinstall --update --depnotify --current-user causes 1) password prompt not appear and 2) DEPnotify window to open, saying "Upgrading macOS..." but the progress bar never advances and computer sits at the DEPnotify window forever.
When running the command as arch -arm64 /bin/bash /Library/Management/erase-install/erase-install.sh --reinstall --update --depnotify --current-user the password prompt appears and everything works.
Expected behavior
The script would check whether it's running natively on Intel, on Rosetta or natively on Apple Silicon and work in any case.
Environment (please complete the following information):
OS version 12.2.1
erase-install version 26
The text was updated successfully, but these errors were encountered:
I had similar issues today on my test M1 machine, manually installing Rosetta seemed to help, the password prompt would pop up, but for me nothing was happening after providing the password, looking at the logs in our MDM in my case JAMF, showed some issues installing the Python3 framework, once I ran the command below, the script ran as usual, if it helps I was trying to reinstall macOS 12.3
/usr/sbin/softwareupdate --install-rosetta
cvgs
added a commit
to cvgs/erase-install
that referenced
this issue
May 17, 2022
Describe the bug
When initiating the script from 3rd party tool (ManageEngine Desktop Central in this case) and the tool is not universal but runs via Rosetta, the script seems to fail. This is likely due to anything launched via the tool running under Rosetta as well and the script cannot handle this
To Reproduce
Script installed using the basic pkg. Launching the script via ManageEngine Desktop Central using command
/bin/bash /Library/Management/erase-install/erase-install.sh --reinstall --update --depnotify --current-user
causes 1) password prompt not appear and 2) DEPnotify window to open, saying "Upgrading macOS..." but the progress bar never advances and computer sits at the DEPnotify window forever.When running the command as
arch -arm64 /bin/bash /Library/Management/erase-install/erase-install.sh --reinstall --update --depnotify --current-user
the password prompt appears and everything works.Expected behavior
The script would check whether it's running natively on Intel, on Rosetta or natively on Apple Silicon and work in any case.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: