kc9wwh / macOSUpgrade

Workflow for doing in-place upgrades.
Other
418 stars 103 forks source link

Strange Error Only when using Check in Trigger #62

Closed albiii closed 6 years ago

albiii commented 6 years ago

I am stuck here sir I don't know what is going wrong. Please advise. The JSS says the upgrade completes but the client is still running the same version after install of package and running of script.

Lines 75-89 in my JSS Script

Version of OS. Use Parameter 5 in the JSS, or specify here.

Example: 10.12.5

version="10.13.6"

Trigger used for download. Use Parameter 6 in the JSS, or specify here.

This should match a custom trigger for a policy that contains an installer

Example: download-sierra-install

download_trigger="recurring check-in"

MD5 Checksum of InstallESD.dmg

This variable is OPTIONAL

Leave the variable BLANK if you do NOT want to verify the checksum (DEFAULT)

Example Command: /sbin/md5 /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg

Example MD5 Checksum: b15b9db3a90f9ae8a9df0f81741efa2b

installESDChecksum="$7"

Error in the Log on clients. The policy in JSS version 10.6.2 says complete but the upgrade does not complete restart options Executing Policy 10.13.6 Upgrade Jamf - CTS Script Scheduled

Mounting Server 2T Installing Auto 10.13.6.pkg.zip... Successfully installed Auto 10.13.6.pkg.zip. Running script 10.13.6 Roskos AutoUpgrade... Script exit code: 0 Script result: Power Check: OK - AC Power DetectedDisk Check: OK - 861140525056 Bytes Free Space Detected /Applications/Install macOS High Sierra.app found, checking version. OSVersion is 10.13.6 Installer found, version matches. Verifying checksum... Launching jamfHelper as FullScreen... Launching startosinstall... _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. Running command Self Service... Result of command:/bin/sh: Self: command not found Checking for patches... No patch policies were found. Unmounting file server... Blessing in-place OS upgrade directory... /OS X Install Data is not a directory

albiii commented 6 years ago

system.log jamf.log

Log files from the system above

albiii commented 6 years ago

install.log.zip