JSS-Scripts icon indicating copy to clipboard operation
JSS-Scripts copied to clipboard

OS_Upgrade.sh - macOS 12 Updates

Open n0brainer opened this issue 3 years ago • 2 comments

Looks like the OS_Upgrade script is having trouble going from macOS 11.6.1 > 12.0.1. It returns an unsupported OS.

Haven't had a chance to check older versions yet.

n0brainer avatar Nov 03 '21 22:11 n0brainer

here's the pertinent info from jamf logs

/Library/Application Support/JAMF/tmp/OS_Upgrade-BigSur: line 986: 4900 Killed: 9 "$jamfHelper" -windowType hud -lockhud -title "$app_name (1 of 2)" -description "$adequate_free_space_for_install_dialog" -icon "$downloadicon" 892 gigabytes found as free space on boot drive. Proceeding with install. Unsupported Operating System. Cannot upgrade 11.6.1 to 10.9 0

n0brainer avatar Nov 04 '21 16:11 n0brainer

I'm not sure if it'll solve it or not, but I did update the script recently. What happens if you run the script with #!/bin/bash -x (modify the first line of the script)? That might provide a bit more insight. What you've shared indicates some sort of issue when it's running the checkMinReqOSVer function.

bp88 avatar Nov 08 '21 02:11 bp88