Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when upgrading to macOS Sequoia if invalid macOS installers are present using --update option #529

Closed
pveenu opened this issue Oct 30, 2024 · 6 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@pveenu
Copy link

pveenu commented Oct 30, 2024

Describe the bug
We are experiencing errors when upgrading to macOS Sequoia if previous macOS installers, like Install macOS Ventura.app, are located in the /Applications folder.

To Reproduce

  • If applicable, please provide the full command used when running the script.
  • Please describe how the script was run. - in Jamf Policy from the uploaded pkg

Expected behavior
Device was supposed to be upgraded to Sequoia even if other macOS installers present in /Applications folder.
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:

your log goes here between triple backticks! Make sure you remove any personal information!

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS version [e.g. 14.6]
  • erase-install version [e.g. 36.0] - please upgrade to the latest version before submitting a bug report.

Additional context
Add any other context about the problem here.

@pveenu pveenu added the bug Something isn't working label Oct 30, 2024
@pveenu
Copy link
Author

pveenu commented Oct 30, 2024

Checking the jamf logs we see the following error: 2024-10-30 08:30:48 | v36.0 | [erase-install] ERROR: Invalid installer is present. Run with --overwrite, --update or --replace-invalid option to ensure that a valid installer is obtained.

We are using an erase-install-launcher script with along with the package in Jamf and we used one of the parameter as --reinstall --overwrite

@grahampugh
Copy link
Owner

Hi, you need to fill in the bug report properly or I can't help you. The one line you've provided shows me that you've used an invalid combination of parameters.

@grahampugh grahampugh added question Further information is requested invalid This doesn't seem right and removed bug Something isn't working labels Oct 30, 2024
@pveenu
Copy link
Author

pveenu commented Oct 30, 2024

Hi,
I have attached the erase-install log files. This has been tested using both "--update" and "--overwrite" parameters.[
Archive 3.zip
](url)

@grahampugh grahampugh added bug Something isn't working and removed invalid This doesn't seem right labels Oct 30, 2024
@grahampugh
Copy link
Owner

Hi, thanks for the logs. You have found an edge case bug which I will fix in the next release, coming soon. You may be able to solve it now by using the --replace-invalid parameter instead of --overwrite or --update.

@grahampugh
Copy link
Owner

@grahampugh grahampugh changed the title We are experiencing errors when upgrading to macOS Sequoia if previous macOS installers, like Install macOS Ventura.app, are located in the /Applications folder. Errors when upgrading to macOS Sequoia if invalid macOS installers are present using --update option Oct 30, 2024
@pveenu
Copy link
Author

pveenu commented Oct 31, 2024

Thank you for addressing the issue so promptly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants