-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--database
flag is now required for crashpad handler in Chrome 128.0.6613
#649
Comments
Same issue for me:
Using chromium (128.0.6613.113-1~deb12u1) |
@davide-alghi check issue #401. @siwa-ddiesenreither check issue #394. |
@enricodias I don’t get why the update to Chromium 128 is causing this issue ? We run this in an Alpine docker container since a while without issues, and now with this new version of Chrimium we get the same error message as @siwa-ddiesenreither (which does not help very much) I tried to do what's suggested in issue #394 and it does not work, those folders/files do not even exists in the container. |
@maxiwheat I don't know what changed on chrome to make this an issue again, but there are a few other solutions in this issue that you can try. |
@enricodias ok tnx https://indocoding.vesocial.com/dev/new-version-of-chrome-broke-chrom-php-headless-chromium |
Ok, this seems to be a new issue. I'm not sure if we should just mention it in the readme or tweak the code to use a default crashpad path when running on linux, probably inside the |
--database
flag is now required for crashpad handler in Chrome 128.0.6613
The provided solution in this link does not work for me. The actual fix that finally worked is the one posted previously by @enricodias referirng the comment here: puppeteer/puppeteer#11023 (comment) |
A simple solution that you can do is to create a crashpad folder and disable it with customFlags.
|
Working for me #394 (comment)
|
For some reason it has to specifically be in the This used to work fine until the recent Chromium update, so I guess it might be a bug in Chromium itself? |
any news?
This config does not work |
Discovered this issue this week. What is weird is that running our container image locally doesn't have this issue but in AWS Fargate it craps out. I tried setting the XDG_CONFIG_HOME and XDG_CACHE_HOME env variables to use a tmp folder but it didn't seem to work. In the end I just created the |
Hello @NJPod, I’m experiencing the same issue. It works perfectly fine locally but fails in production on DigitalOcean's App Platform. Could you share the command you added to create the .config folder when building the Docker image? Thanks! |
This also covers some warnings I was seeing whilst debugging. |
Workaround in my Linux environment:
The downside is you have to clean $temp_user_data_dir yourself in the end. because BrowserProcess does not do that when you explicitly set 'userDataDir' as option. I would like to propose a fix in the library. BrowserProcess::start() should inspect $options['envVariables'] for XDG_CONFIG_HOME and XDG_CACHE_HOME, and set missing ones to same value as $options['userDataDir'] (given by caller or created temporary by class). |
chrome-php fails with the latest version of Google Chrome (128.0.6613.113)
2024-09-02 07:11:19.3271 [error][] - Chrome process stopped before startup completed. Additional info: mkdir: cannot create directory '/var/www/.local': Permission denied touch: cannot touch '/var/www/.local/share/applications/mimeapps.list': No such file or directory chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. [11780:11780:0902/071119.313895:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104) RuntimeException: Chrome process stopped before startup completed. Additional info: mkdir: cannot create directory '/var/www/.local': Permission denied touch: cannot touch '/var/www/.local/share/applications/mimeapps.list': No such file or directory chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information.
The text was updated successfully, but these errors were encountered: