Skip to main content
Solved

Chrome not opening after imaging

  • November 2, 2018
  • 3 replies
  • 13 views

Forum|alt.badge.img+8
  • Valued Contributor
  • 70 replies

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.



Best answer by danshaw

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.

3 replies

Forum|alt.badge.img+7
  • Valued Contributor
  • 74 replies
  • November 5, 2018

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


Forum|alt.badge.img+18
  • Contributor
  • 475 replies
  • November 5, 2018

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"

Forum|alt.badge.img+8
  • Author
  • Valued Contributor
  • 70 replies
  • Answer
  • November 19, 2018

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.