JSS-Scripts
JSS-Scripts copied to clipboard
OS_Upgrade.sh - macOS 12 Updates
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.
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
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.