Problems Upgrading to MacOS Sierra

jstine
Contributor

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:

a1545e0d888c4eb29f15cdfd2e1b4cf3
80a93705b1f84d128b91e22911def93b
dfe4dd1bc7c748f399fecaeeacc6deb2

Does anyone have any idea whats going on? Are there any specific logs that I could be checking to see what gives? Thank you.

14 REPLIES 14

bradtchapman
Valued Contributor II
  • Are you running Jamf Server 9.93 or 9.96?

Take a look at the policy log in the Jamf Server, and also the logs from the computer in the following location:

  • /var/log/jamf.log
  • /var/log/system.log

System.log tends to be very busy, so scroll back to the exact timestamp where the policy began and look for clues.

jstine
Contributor

I'm currently on 9.96*

thoule
Valued Contributor II

...nevermind.

reelmike
New Contributor II

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...

bradtchapman
Valued Contributor II

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.

jstine
Contributor

@bradtchapman

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...

mpermann
Valued Contributor II

@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?

bradtchapman
Valued Contributor II

Hey @jstine - do you have an update?

jstine
Contributor

@bradtchapman

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.

triegel
New Contributor

Hi @jstine

Did that wind up being the issue? Were you able to craft a fix?

-T

rward
New Contributor

Exact same issue here. Did you manage to get a definitive fix or idea why this was happening @jstine ?

jstine
Contributor

@rward updating the recovery partition to the latest version resolved the issue.

bradtchapman
Valued Contributor II

@jstine : what method did you use to upgrade the recovery partition?

jstine
Contributor

@bradtchapman If I am remembering correctly, I used AutoDMG.