I am using the script found here and it works for the most part, except randomly it fails intermittently. See JAMF logs below, the installer downloads fine, verified working, the script seems to run through and complete without errors, JAMF even reports "Completed" but the OS just does not update sometimes. I've been using the script for dozens and dozens of successful updates but cannot work out why it fails on some devices.
Has anyone seen the "errors" in the logs before? I see the same log reports from JAMF on successful updates...
Executing Policy Upgrade to macOS 10.15.7 Script - Auto Running script macOSUpgrade - Catalina... Script exit code: 0 Script result: Killing caffeinate processes. Killing startosinstall processes. No matching processes were found Killing osinstallersetupd processes. No matching processes were found Power Check: OK - AC Power Detected Disk Check: OK - 653464420352 Bytes Free Space Detected Downloading macOS Installer... 2020-10-12 08:11:29.700 jamfHelper[1782:22137] GetInputSourceEnabledPrefs user file path = /Users/clairec/Library/Preferences/com.apple.HIToolbox.plist 2020-10-12 08:11:29.700 jamfHelper[1782:22137] GetInputSourceEnabledPrefs effective user id path = 0 2020-10-12 08:11:29.798 jamfHelper[1782:22137] GetInputSourceEnabledPrefs user pref content = <CFBasicHash 0x7fe050435c30 [0x7fffa4aefaf0]>{type = immutable dict, count = 4, entries => 0 : <CFString 0x7fffa4a43618 [0x7fffa4aefaf0]>{contents = "AppleSelectedInputSources"} = <CFArray 0x7fe050428600 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7fe050421ef0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7fe050435060 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fe050425340 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7fe0504215c0 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 1 : <CFString 0x7fffa4a23ab8 [0x7fffa4aefaf0]>{contents = "AppleEnabledInputSources"} = <CFArray 0x7fe050422ba0 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7fe050420c80 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7fe05042f1f0 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fe05042f5f0 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7fe050424530 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 2 : <CFString 0x7fe05040bf80 [0x7fffa4aefaf0]>{contents = "AppleInputSourceHistory"} = <CFArray 0x7fe050435bf0 [0x7fffa4aefaf0]>{type = immutable, count = 1, values = ( 0 : <CFBasicHash 0x7fe050435200 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } )} 5 : <CFString 0x7fffa4a97b78 [0x7fffa4aefaf0]>{contents = "AppleCurrentKeyboardLayoutInputSourceID"} = <CFString 0x7fffa4ab5cf8 [0x7fffa4aefaf0]>{contents = "com.apple.keylayout.US"} } This policy trigger is already being run: root 1245 36.9 0.4 4395572 32984 ?? R 8:02AM 3:22.29 /usr/local/jamf/bin/jamf policy -event download-catalina-install Downloading macOS Installer... 2020-10-12 08:11:35.360 jamfHelper[1821:22361] GetInputSourceEnabledPrefs user file path = /Users/clairec/Library/Preferences/com.apple.HIToolbox.plist 2020-10-12 08:11:35.360 jamfHelper[1821:22361] GetInputSourceEnabledPrefs effective user id path = 0 2020-10-12 08:11:35.361 jamfHelper[1821:22361] GetInputSourceEnabledPrefs user pref content = <CFBasicHash 0x7f7f9543b6e0 [0x7fffa4aefaf0]>{type = immutable dict, count = 4, entries => 0 : <CFString 0x7fffa4a43618 [0x7fffa4aefaf0]>{contents = "AppleSelectedInputSources"} = <CFArray 0x7f7f9543d110 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7f7f9543cc60 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7f7f9543d0b0 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7f7f9543d050 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7f7f9543d080 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 1 : <CFString 0x7fffa4a23ab8 [0x7fffa4aefaf0]>{contents = "AppleEnabledInputSources"} = <CFArray 0x7f7f9543d2b0 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7f7f9543d150 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7f7f9543d230 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7f7f9543d1d0 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7f7f9543d200 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 2 : <CFString 0x7f7f9543cc30 [0x7fffa4aefaf0]>{contents = "AppleInputSourceHistory"} = <CFArray 0x7f7f9543d370 [0x7fffa4aefaf0]>{type = immutable, count = 1, values = ( 0 : <CFBasicHash 0x7f7f9543d2f0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } )} 5 : <CFString 0x7fffa4a97b78 [0x7fffa4aefaf0]>{contents = "AppleCurrentKeyboardLayoutInputSourceID"} = <CFString 0x7fffa4ab5cf8 [0x7fffa4aefaf0]>{contents = "com.apple.keylayout.US"} } This policy trigger is already being run: root 1245 40.0 0.4 4395572 35724 ?? R 8:02AM 3:23.51 /usr/local/jamf/bin/jamf policy -event download-catalina-install Downloading macOS Installer... 2020-10-12 08:11:38.309 jamfHelper[1858:22465] GetInputSourceEnabledPrefs user file path = /Users/clairec/Library/Preferences/com.apple.HIToolbox.plist 2020-10-12 08:11:38.309 jamfHelper[1858:22465] GetInputSourceEnabledPrefs effective user id path = 0 2020-10-12 08:11:38.310 jamfHelper[1858:22465] GetInputSourceEnabledPrefs user pref content = <CFBasicHash 0x7fb867c4d910 [0x7fffa4aefaf0]>{type = immutable dict, count = 4, entries => 0 : <CFString 0x7fffa4a43618 [0x7fffa4aefaf0]>{contents = "AppleSelectedInputSources"} = <CFArray 0x7fb867c4d6b0 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7fb867c4d5d0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7fb867c4d670 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fb867c4d610 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7fb867c4d640 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 1 : <CFString 0x7fffa4a23ab8 [0x7fffa4aefaf0]>{contents = "AppleEnabledInputSources"} = <CFArray 0x7fb867c4d810 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7fb867c4d6f0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7fb867c4d790 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fb867c4d730 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7fb867c4d760 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 2 : <CFString 0x7fb867c33ce0 [0x7fffa4aefaf0]>{contents = "AppleInputSourceHistory"} = <CFArray 0x7fb867c4d8d0 [0x7fffa4aefaf0]>{type = immutable, count = 1, values = ( 0 : <CFBasicHash 0x7fb867c4d850 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } )} 5 : <CFString 0x7fffa4a97b78 [0x7fffa4aefaf0]>{contents = "AppleCurrentKeyboardLayoutInputSourceID"} = <CFString 0x7fffa4ab5cf8 [0x7fffa4aefaf0]>{contents = "com.apple.keylayout.US"} } This policy trigger is already being run: root 1245 52.7 0.4 4395572 35724 ?? S 8:02AM 3:24.77 /usr/local/jamf/bin/jamf policy -event download-catalina-install macOS Installer Downloaded 3 Times - Checksum is Not Valid Prompting user for error and exiting... 2020-10-12 08:11:40.948 jamfHelper[1896:22571] GetInputSourceEnabledPrefs user file path = /Users/clairec/Library/Preferences/com.apple.HIToolbox.plist 2020-10-12 08:11:40.948 jamfHelper[1896:22571] GetInputSourceEnabledPrefs effective user id path = 0 2020-10-12 08:11:40.949 jamfHelper[1896:22571] GetInputSourceEnabledPrefs user pref content = <CFBasicHash 0x7fd851c31660 [0x7fffa4aefaf0]>{type = immutable dict, count = 4, entries => 0 : <CFString 0x7fffa4a43618 [0x7fffa4aefaf0]>{contents = "AppleSelectedInputSources"} = <CFArray 0x7fd851c31480 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7fd851c329c0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7fd851c30820 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fd851c307c0 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7fd851c307f0 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 1 : <CFString 0x7fffa4a23ab8 [0x7fffa4aefaf0]>{contents = "AppleEnabledInputSources"} = <CFArray 0x7fd851c315a0 [0x7fffa4aefaf0]>{type = immutable, count = 2, values = ( 0 : <CFBasicHash 0x7fd851c314c0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } 1 : <CFBasicHash 0x7fd851c31560 [0x7fffa4aefaf0]>{type = immutable dict, count = 2, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fd851c31500 [0x7fffa4aefaf0]>{contents = "Non Keyboard Input Method"} 1 : Bundle ID = <CFString 0x7fd851c31530 [0x7fffa4aefaf0]>{contents = "com.apple.PressAndHold"} } )} 2 : <CFString 0x7fd851c31040 [0x7fffa4aefaf0]>{contents = "AppleInputSourceHistory"} = <CFArray 0x7fd851c31620 [0x7fffa4aefaf0]>{type = immutable, count = 1, values = ( 0 : <CFBasicHash 0x7fd851c315e0 [0x7fffa4aefaf0]>{type = immutable dict, count = 3, entries => 0 : <CFString 0x7fffa4a21218 [0x7fffa4aefaf0]>{contents = "InputSourceKind"} = <CFString 0x7fffa4a68098 [0x7fffa4aefaf0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fffa4a1bd78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout Name"} = U.S. 2 : <CFString 0x7fffa4a53b78 [0x7fffa4aefaf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fffa4aefaf0]>{value = +0, type = kCFNumberSInt64Type} } )} 5 : <CFString 0x7fffa4a97b78 [0x7fffa4aefaf0]>{contents = "AppleCurrentKeyboardLayoutInputSourceID"} = <CFString 0x7fffa4ab5cf8 [0x7fffa4aefaf0]>{contents = "com.apple.keylayout.US"} } 0


