Chrome not opening after imaging

danshaw
Contributor II

I could use the hive mind on this one as I am out of ideas. Around version 68 of Chrome, we started having an issue with Chrome immediately crashing when launched. At first I thought it was how I was packaging up the app. This was after a clean re-image using DEP. It has even effected some existing users after they have upgraded (we pushed it out via JAMF).

Things i've tried that did not fix the issue:

  • Used composer to create package with root:wheel 755 permissions.
  • Used Packages to package Chrome.
  • Re-imaged and installed chrome from chrome.com. No JAMF policy.
  • Tried multiple versions of OSX.
  • Tried imaging without DEP.

We are currently running JAMF 10.7.1 and I have tried this one OSX 10.12,10.13. All other apps are fine, it's just Chrome! At this point, we cannot offer Chrome to new users and its blowing my mind.

1c466027ccfa4ff9af5124b874d8f568
601d3ca5fe1d47aca9db3303fba3e14a
82893b869df84282a3bb60f64cc5c1ba

1 ACCEPTED SOLUTION

danshaw
Contributor II

I appreciated the tips guys. After imaging like 50 times, I found the culprit to be an older version of our anti-virus software Cylance. After upgrading, the newest version of Chrome was working. It must have been blocking something in the background. I ran the script to completely uninstall it and is now working fine after a re-install.

View solution in original post

3 REPLIES 3

c_archibald
Contributor II

Check to see if you've accumulated multiple versions as stated:
Chrome AutoUpdating Accumulates Old Versions

ryan_ball
Valued Contributor

I've seen sometimes that the "~/Library/Application Support" folder permissions get jacked up.

You could quickly try this and see if this helps you:

#!/bin/bash

loggedInUser=$(/usr/bin/python -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username + "
");')
userHome=$(/usr/bin/dscl . read "/Users/$loggedInUser" NFSHomeDirectory | cut -c 19-)

chown -R "$loggedInUser" "$userHome/Application Support"
open -a "Google Chrome"

danshaw
Contributor II

I appreciated the tips guys. After imaging like 50 times, I found the culprit to be an older version of our anti-virus software Cylance. After upgrading, the newest version of Chrome was working. It must have been blocking something in the background. I ran the script to completely uninstall it and is now working fine after a re-install.

View solution in original post