Skip to content
New issue

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

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

Already on GitHub? # to your account

trying to use jamf launcher with fetch full installer #488

Closed
mrmte opened this issue Feb 21, 2024 · 6 comments
Closed

trying to use jamf launcher with fetch full installer #488

mrmte opened this issue Feb 21, 2024 · 6 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@mrmte
Copy link

mrmte commented Feb 21, 2024

Describe the bug
trying to add a variable to the jamf launch script to get the full installer --fetch-full-installer rather than mist and upgrade macos but It errors out

To Reproduce
$4 = --current-user
$5 = --reinstall
$6 = --version=14.3.1
$7 = --check-power
$8 = --no-fs
$9 = --rebootdelay 300
$10 = --cleanup-after-use
$11= --fetch-full-installer

Expected behavior
to download the installer and continue the upgrade

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:

[erase-install-launcher] Starting script "--fetch-full-installer" --current-user --reinstall --version=14.3.1 --check-power --no-fs --rebootdelay 300 --cleanup-after-use
/Library/Application Support/JAMF/tmp/erase-install-launcher - Sonoma: line 96: --fetch-full-installer: command not found
[erase-install-launcher] Exit (127)

Screenshots
Screenshot 2024-02-21 at 13 23 35

Environment (please complete the following information):

  • OS version [e.g. 13.6]
  • erase-install version 13.1.0

Additional context
Add any other context about the problem here.

@mrmte mrmte added the bug Something isn't working label Feb 21, 2024
@mrmte
Copy link
Author

mrmte commented Feb 21, 2024

im now trying the following
--current-user
--reinstall
--fetch-full-installer
--os=14
--no-fs
--rebootdelay 300
--cleanup-after-use

i get the credentials prompt but in the logs it says

Could not obtain installer information using softwareupdate --list-full-installers. Cannot Continue.

@grahampugh
Copy link
Owner

You can't use Parameter 11 - see the script for details on how to use it.

As for the second comment, check if the softwareupdate command is working on your machine. If not, I would recommend removing the --fetch-full-installer option.

@grahampugh grahampugh added question Further information is requested and removed bug Something isn't working labels Feb 21, 2024
@mrmte
Copy link
Author

mrmte commented Feb 21, 2024

Yeah I saw that and on the second attempt removed $11. Software update working no issues on my machine getting the full installer. I see you have the same bug logged you were able to reproduce.

@grahampugh
Copy link
Owner

You're right. I had forgotten about that, and yes it's the same issue. I've found the issue and it will be fixed in the next release.

@grahampugh grahampugh added duplicate This issue or pull request already exists and removed question Further information is requested labels Feb 21, 2024
@grahampugh
Copy link
Owner

@grahampugh
Copy link
Owner

Fixed in v33.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants