Casper Self Service Installation Failed

imryh
New Contributor

Trying to install Casper on a local machine.
Brand new (late 2015) iMac with Retina 5K, and El Capitan.

Installation fails every time. Tried different user account. Tried fixing permissions.

Here is the log:

Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: LSExceptions [0x7f9298517c00] loaded
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: @(#)PROGRAM:Install PROJECT:Install-1000
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: @(#)PROGRAM:Installer PROJECT:Installer-853
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Hardware: iMac17,1 @ 3.20 GHz (x 4), 8192 MB RAM
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Running OS Build: Mac OS X 10.11.3 (15D21)
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: TMPDIR=/var/folders/rc/qyf4dq7n3w12xcb5sm2fqjn80000gn/T/
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: HOME=/Users/harvardmultimedia
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: SHELL=/bin/bash
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.uQpCt1pTi5/Listeners
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.eFJj6cGeIz/Render
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: LOGNAME=harvardmultimedia
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: XPC_SERVICE_NAME=com.apple.xpc.launchd.oneshot.0x10000007.Installer
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: COMMAND_MODE=unix2003
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: USER=harvardmultimedia
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Env: XPC_FLAGS=0x0
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Casper_QuickAdd_9.81_FAS_20161027 Installation Log
Feb 16 15:51:32 dhcp-140-247-172-233 Installer[776]: Opened from: /Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg
Feb 16 15:51:33 dhcp-140-247-172-233 Installer[776]: Referenced component packages (1) trustLevel=100
Feb 16 15:51:42 dhcp-140-247-172-233 Installer[776]: InstallerStatusNotifications plugin loaded
Feb 16 15:51:42 dhcp-140-247-172-233 Installer[776]: LSExceptions [0x7f9298517c00] unloaded
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: Administrator authorization granted.
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: ================================================================================
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: User picked Standard Install
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: Choices selected for installation:
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: Install: "Casper_QuickAdd_9.81_FAS_20161027"
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: Casper_QuickAdd_9.81_FAS_20161027.pkg : QuickAdd_9.81_FAS_201610279.81 : 9.81
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: ================================================================================
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: It took 0.00 seconds to summarize the package selections.
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: -[IFPKGDerivedDocument sortedPackageLocations]: result = ( "file://localhost" )
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Feb 16 15:51:48 dhcp-140-247-172-233 Installer[776]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Set authorization level to root for session
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Will use PK session
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Using authorization level of root for IFPKInstallElement
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Starting installation:
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Configuring volume "Macintosh HD"
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Preparing disk for local booted install.
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Free space on "Macintosh HD": 1 TB (1001328013312 bytes).
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: Create temporary directory "/var/folders/rc/qyf4dq7n3w12xcb5sm2fqjn80000gn/T//Install.776vufgbE"
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: IFPKInstallElement (1 packages)
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: Adding client PKInstallDaemonClient pid=776, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Feb 16 15:51:49 dhcp-140-247-172-233 Installer[776]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: ----- Begin install -----
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: packages=( "PKLeopardPackage <file://localhost/Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg>" )
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: Extracting file://localhost/Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/8AFA3E72-AF5B-4B2D-8A89-B277FB408A4E.activeSandbox/Root/private/tmp/JAMFQuickAdd, uid=0)
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: prevent user idle system sleep
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: suspending backupd
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/8AFA3E72-AF5B-4B2D-8A89-B277FB408A4E.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/8AFA3E72-AF5B-4B2D-8A89-B277FB408A4E.activeSandbox
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/8AFA3E72-AF5B-4B2D-8A89-B277FB408A4E.activeSandbox/Root (1 items) to /
Feb 16 15:51:49 dhcp-140-247-172-233 install_monitor[780]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.w9vhhw/Scripts/QuickAdd_9.81_FAS_201610279.81.lGQKa7
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: ./postinstall: ln: /usr/local/bin/jamf: File exists
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: ./postinstall: Creating configuration file for https://casper01.cadm.harvard.edu:8443/...
Feb 16 15:51:49 dhcp-140-247-172-233 installd[358]: ./postinstall: The SSL certificate for https://casper01.cadm.harvard.edu:8443/ does not need to be trusted.
Feb 16 15:51:52 dhcp-140-247-172-233 installd[358]: ./postinstall: Downloading required CA Certificate(s)...
Feb 16 15:51:52 dhcp-140-247-172-233 installd[358]: ./postinstall: There was an error.
Feb 16 15:51:52 dhcp-140-247-172-233 installd[358]: ./postinstall: Error enrolling computer: Unable to establish trust with the JSS - File at the following path is not writeable: /Library/Keychains/System.keychain.
Feb 16 15:51:52 dhcp-140-247-172-233 install_monitor[780]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Feb 16 15:51:53 dhcp-140-247-172-233 installd[358]: PackageKit: releasing backupd
Feb 16 15:51:53 dhcp-140-247-172-233 installd[358]: PackageKit: allow user idle system sleep
Feb 16 15:51:53 dhcp-140-247-172-233 installd[358]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Casper_QuickAdd_9.81_FAS_20161027.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg, PKInstallPackageIdentifier=QuickAdd_9.81_FAS_201610279.81, NSLocalizedDescription=An error occurred while running scripts from the package “Casper_QuickAdd_9.81_FAS_20161027.pkg”.} { NSFilePath = "./postinstall"; NSLocalizedDescription = "An error occurred while running scripts from the package U201cCasper_QuickAdd_9.81_FAS_20161027.pkgU201d."; NSURL = "file://localhost/Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg"; PKInstallPackageIdentifier = "QuickAdd_9.81_FAS_201610279.81"; }
Feb 16 15:51:53 dhcp-140-247-172-233 installd[358]: PackageKit: Running idle tasks
Feb 16 15:51:53 dhcp-140-247-172-233 installd[358]: PackageKit: Done with sandbox removals
Feb 16 15:51:53 dhcp-140-247-172-233 Installer[776]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Casper_QuickAdd_9.81_FAS_20161027.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/harvardmultimedia/Downloads/Casper_QuickAdd_9.81_FAS_20161027.pkg, PKInstallPackageIdentifier=QuickAdd_9.81_FAS_201610279.81, NSLocalizedDescription=An error occurred while running scripts from the package “Casper_QuickAdd_9.81_FAS_20161027.pkg”.}
Feb 16 15:51:53 dhcp-140-247-172-233 installd[358]: PackageKit: Removing client PKInstallDaemonClient pid=776, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Feb 16 15:51:54 dhcp-140-247-172-233 Installer[776]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Feb 16 15:51:54 dhcp-140-247-172-233 Installer[776]: IFDInstallController 98445950 state = 8
Feb 16 15:51:54 dhcp-140-247-172-233 Installer[776]: Displaying 'Install Failed' UI.
Feb 16 15:51:54 dhcp-140-247-172-233 Installer[776]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Any ideas?

Thanks!

Imry

4 REPLIES 4

apizz
Valued Contributor

Have you tried enrolling the machine with any other method other than your QuickAdd PKG? I would use the Recon app to enroll the machine as a test. If that works then there's something going on with your QuickAdd PKG.

apizz
Valued Contributor

Just to clarify, how are you accessing Self Service from a machine that hasn't been enrolled with the JSS? Haven't had any reason myself to mess around with the QuickAdd PKG, so pardon my ignorance on that front.

I'd also try installing your QuickAdd PKG manually as a test, if you're seeing issues deploying it with Self Service.

bvrooman
Valued Contributor

It looks like something is amiss with your System keychain:

Feb 16 15:51:52 dhcp-140-247-172-233 installd[358]: ./postinstall: Error enrolling computer: Unable to establish trust with the JSS - File at the following path is not writeable: /Library/Keychains/System.keychain.

Can you add anything (certificate, password, etc.) to that keychain manually?

isterling_goaaa
New Contributor III

I'm not the original poster, but that was just the hint I needed, bvrooman. I reset the system keychain and was able to enroll my system.