-
Notifications
You must be signed in to change notification settings - Fork 279
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
mkdir: cannot create directory '/.local': Permission denied #518
Comments
I see you are trying to use the new headless in Google Chrome, from my experience this doesn't work in Docker (yet). |
We are not using this with Docker. |
Chrome should not create hidden |
hmm in my case it was trying to touch '/var/www/.local', inside the Docker container. I tried creating that as root, and setting it so it was writable by the user, and now I get a different error: RuntimeException: Chrome process stopped before startup completed. Additional info: chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. [6673:6673:0902/154840.854156:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104) in HeadlessChromium\Browser\BrowserProcess->HeadlessChromium\Browser{closure}() (line 422 of /var/www/html/endelman-survey/survey-dev/vendor/chrome-php/chrome/src/Browser/BrowserProcess.php). |
This issue has been automatically marked as stale because there has been no recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions. |
I've seen other similar posts, but none of the resolutions in those posts are helping me. I can open Chrome (and create a PDF) successfully from the command line, but when I try to use this library I am getting:
This is the code I am using (failing in the "createBrowser" step):
Any suggestions on how to make this work?
The text was updated successfully, but these errors were encountered: