Describe the bug
I am getting repeated failures on our macs after trying to upgrade to macOS Monterey
Following download, the DEPNotify screen will just sit indicating Download at 100%.
To Reproduce
If applicable, please provide the full command used when running the script.
/Library/Management/erase-install/erase-install.sh --reinstall --os=12 --update --min-drive-space=40 --current-user --check-power --no-fs --depnotify --cleanup-after-use
Please describe how the script was run. [e.g. Standalone via Terminal, in Jamf Policy from the uploaded pkg, in Jamf policy from uploaded script only, via another MDM provider]
JAMF Policy, erase-install-depnotify-26.0.pkg is installed to the machine then the above command is run via "Files and Processes"
Expected behavior
A clear and concise description of what you expected to happen.
Upgrade to macOS Monterey without issue.
Code/log output
Please supply the full command used, and if applicable, add full output from Terminal or from /var/log/erase-install.log. Either upload the log, or paste the output in a code block (triple backticks at the start and end of the code block please!).
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1260k 100 1260k 0 0 5974k 0 --:--:-- --:--:-- --:--:-- 5974k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 188 100 188 0 0 4372 0 --:--:-- --:--:-- --:--:-- 4372
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
14 2024k 14 289k 0 0 2607k 0 --:--:-- --:--:-- --:--:-- 2583k
100 2024k 100 2024k 0 0 7052k 0 --:--:-- --:--:-- --:--:-- 7028k
installer: Package name is macOS Monterey
installer: Installing at base path /private/tmp/dmg.z0zYLE
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “InstallAssistant.pkg”.)
Command '['/usr/sbin/installer', '-pkg', '/Library/Management/erase-install/content/downloads/16/08/012-06873-A_636SHHRD4L/528ojpmw00mulgfjsz9k50modkj31a9v0p/012-06873.English.dist', '-target', '/private/tmp/dmg.z0zYLE']' returned non-zero exit status 1.
Product installation failed.
installinstallmacos.py - get macOS installers from the Apple software catalog
This Mac:
Model Identifier : MacBookPro15,1
Bridge ID : J680AP
Board ID : Mac-937A206F2EE63C01
OS Version : 10.15.7
Build ID : 19H1922
# ProductID Version Build Post Date Title
1 061-26578 10.14.5 18F2059 2019-10-14 macOS Mojave
2 061-26589 10.14.6 18G103 2019-10-14 macOS Mojave
3 041-91758 10.13.6 17G66 2019-10-19 macOS High Sierra
4 041-88800 10.14.4 18E2034 2019-10-23 macOS Mojave
5 041-90855 10.13.5 17F66a 2019-10-23 Install macOS High Sierra Beta
6 061-86291 10.15.3 19D2064 2020-03-23 macOS Catalina
7 001-04366 10.15.4 19E2269 2020-05-04 macOS Catalina
8 001-15219 10.15.5 19F2200 2020-06-15 macOS Catalina
9 001-36735 10.15.6 19G2006 2020-08-06 macOS Catalina
10 001-36801 10.15.6 19G2021 2020-08-12 macOS Catalina
11 001-51042 10.15.7 19H2 2020-09-24 macOS Catalina
12 001-57224 10.15.7 19H4 2020-10-27 macOS Catalina
13 001-68446 10.15.7 19H15 2020-11-11 macOS Catalina
14 071-78704 11.5.2 20G95 2021-08-18 macOS Big Sur
15 002-23589 11.6.1 20G224 2021-12-01 macOS Big Sur
16 002-66265 12.2.1 21D62 2022-02-17 macOS Monterey
17 071-08758 12.3 21E230 2022-03-14 macOS Monterey
18 002-79225 12.3.1 21E258 2022-04-11 macOS Monterey
19 012-06873 12.4 21F79 2022-05-24 macOS Monterey
Build 21F79 selected. Downloading #19...
Making empty sparseimage...
[run_installinstallmacos] Error obtaining valid installer. Cannot continue.
[erase-install] attempting to terminate the 'caffeinate' process - Termination message indicates success
/Library/Management/erase-install/erase-install.sh: line 1042: 18161 Terminated: 15 /usr/bin/caffeinate -dimsu -w $$
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS version [e.g. 12.0.1]
10.15.7
erase-install version [e.g. 24.0] - please upgrade to the latest version before submitting a bug report.
26.0 (I had also tried using 26.1 but experienced the same issue)
Additional context
Add any other context about the problem here.
Describe the bug I am getting repeated failures on our macs after trying to upgrade to macOS Monterey Following download, the DEPNotify screen will just sit indicating Download at 100%.
To Reproduce
If applicable, please provide the full command used when running the script.
/Library/Management/erase-install/erase-install.sh --reinstall --os=12 --update --min-drive-space=40 --current-user --check-power --no-fs --depnotify --cleanup-after-use
Please describe how the script was run. [e.g. Standalone via Terminal, in Jamf Policy from the uploaded pkg, in Jamf policy from uploaded script only, via another MDM provider] JAMF Policy, erase-install-depnotify-26.0.pkg is installed to the machine then the above command is run via "Files and Processes"
Expected behavior A clear and concise description of what you expected to happen. Upgrade to macOS Monterey without issue.
Code/log output Please supply the full command used, and if applicable, add full output from Terminal or from
/var/log/erase-install.log
. Either upload the log, or paste the output in a code block (triple backticks at the start and end of the code block please!).Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):