Posted on 10-25-2016 12:00 PM
Hello Everyone,
I'm having some trouble with our MacOS upgrade. I have my users installing a cached installer from Self Service, but when the machine restarts, it keeps restarting like normal and will not boot into the installation. The odd thing is, this only happens on some computers. I'd say about 25% of my machines are just restarting, and not installing MacOS, while the other 75% are restarting into the MacOS install screen. These are my current settings:
Does anyone have any idea whats going on? Are there any specific logs that I could be checking to see what gives? Thank you.
Posted on 10-25-2016 12:04 PM
Take a look at the policy log in the Jamf Server, and also the logs from the computer in the following location:
System.log tends to be very busy, so scroll back to the exact timestamp where the policy began and look for clues.
Posted on 10-25-2016 12:08 PM
I'm currently on 9.96*
Posted on 10-25-2016 12:13 PM
...nevermind.
Posted on 10-25-2016 12:15 PM
I usually set the "User Logged in Action" in Restart Options to "Restart", and subsequently set the delay to 1 minute. I also add in a blurb, if deployed via Self Service, to the user, that the machine will auto-restart in 1 min/60secs, just as a courtesy.
Also doesn't hurt to check the box for "Perform authenticated restart on computers with FileVault 2 enabled", just ensures that the machine boots to the installer, w/o having to authenticate...
Posted on 10-25-2016 12:35 PM
So @jstine , did your JSS log any attempts (success or failure) of computers trying to run this policy? Did you find anything interesting in the log files that you are free to share?
I suspect that the immediate restart may have prevented the jamf binary from doing so, and that you need a 1 minute restart delay as @reelmike suggested.
Posted on 10-25-2016 12:44 PM
I have it set to restart if package or update requires it. It is currently set to wait 5 minutes. I had it at 2, but was worried that the restart window was too short, and that was what could be messing up the install. However, there seems to be no difference in success rate with the 2 minute vs 5 minute restart time. The policy log is below. I should mention that it looks exactly the same for failed installs as it does for successful installs:
[STEP 1 of 5]
Executing Policy Install MacOS Sierra from Cache - Self Service
[STEP 2 of 5]
Installing Install macOS Sierra.InstallESD.dmg...
Preparing for in-place OS upgrade...
Closing package...
[STEP 3 of 5]
[STEP 4 of 5]
[STEP 5 of 5]
Running Recon...
Retrieving inventory preferences from https://jamf.mydomain.com/...
Locating accounts...
Locating package receipts...
Searching path: /Applications
Locating software updates...
Locating printers...
Gathering application usage information...
Searching path: /Users
Blessing in-place OS upgrade directory...
Creating Reboot Script...
Posted on 10-25-2016 12:50 PM
@jstine are the computers that the policy is failing on have FileVault turned on? If they do, have you tried enabling the "Perform authenticated restart on computers with FileVault 2 enabled" option?
Posted on 10-31-2016 12:10 PM
Hey @jstine - do you have an update?
Posted on 11-01-2016 06:25 AM
We believe it is being caused because the recovery partition is 10.11.2, and the OS version to be upgraded is 10.11.6. They don't match. I'm performing a test to confirm a fix today.
Posted on 11-10-2016 11:59 AM
Posted on 02-07-2017 07:03 AM
Exact same issue here. Did you manage to get a definitive fix or idea why this was happening @jstine ?
Posted on 02-07-2017 07:06 AM
@rward updating the recovery partition to the latest version resolved the issue.
Posted on 04-17-2017 11:31 AM
@jstine : what method did you use to upgrade the recovery partition?
Posted on 04-17-2017 11:38 AM
@bradtchapman If I am remembering correctly, I used AutoDMG.