Closed cchsadmin closed 4 months ago
Hi there, this should be addressed in the pre-release 34.0, if you'd like to give it a try. I'll make it the Latest Release later this week if there are no gotchas.
Thanks Graham. It's working in my test case.
I installed an old 1.14 version of MIST on a test machine and then ran the following command with the specific 34.0 URL to make sure it grabbed the new version.
curl -s https://raw.githubusercontent.com/grahampugh/erase-install/34.0/erase-install.sh | sudo zsh /dev/stdin --reinstall --overwrite --no-fs --rebootdelay 60 --cleanup-after-use
Below is an excerpt of output that I received to show that it saw the out of date version and updated it. It correctly downloaded a compatible .App and successfully got past the "Sending Password to startosinstall"
2024-04-23 14:38:52 | v34.0 | [check_for_mist] mist-cli v1.14 is installed (/usr/local/bin/mist) - does not match required version v2.0
2024-04-23 14:38:52 | v34.0 | [check_for_mist] Downloading mist-cli...
% 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 2202k 100 2202k 0 0 9330k 0 --:--:-- --:--:-- --:--:-- 67.2M
installer: Package name is mist-cli
installer: Upgrading at base path /
installer: The upgrade was successful.
2024-04-23 14:38:54 | v34.0 | [check_for_mist] mist-cli v2.0 is installed (/usr/local/bin/mist)
Describe the bug A clear and concise description of what the bug is.
I used the "Curl Method of Erase-install and kept getting stopped at "Sending password to startosinstall." The Install MacOS Sonoma.app that was getting downloaded and placed in /Applications/ was invalid each time. I checked the version of MIST in /usr/local/bin and it was out of date. Removing the MIST executable and letting Erase-Install install it fresh with 2.0 no longer downloaded an invalid .app.
To Reproduce
Have MIST 1.12 executable in /usr/local/bin and run the following command. I ran it directly from the device via Terminal.
curl -s https://raw.githubusercontent.com/grahampugh/erase-install/release/erase-install.sh | sudo zsh /dev/stdin --reinstall --overwrite --no-fs --rebootdelay 60 --cleanup-after-use
Expected behavior A clear and concise description of what you expected to happen.
I expected Erase-Install to check the version of MIST and update it to make sure it's the current version.
Code/log output Please supply the full command used, and if applicable, add full output from Terminal or from
/var/log/erase-install.log
. Don't post a partial log - I need the whole thing. Either upload the log as a file, or paste the output in a code block like this:Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.