Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Could not start chrome. Exit code: 1 (General error). Error output: cannot join mount namespace of pid 1: Operation not permitted #667

Open
rekreg opened this issue Feb 13, 2025 · 4 comments

Comments

@rekreg
Copy link

rekreg commented Feb 13, 2025

I can't solve the problem for two days. I run it on a local computer and everything works fine. I transferred the project to Ubuntu 22.04 and it gives me this error. Laravel + Symphony panther bundle

Image

Symfony\Component\Panther\Exception\RuntimeException
Could not start chrome. Exit code: 1 (General error). Error output: cannot join mount namespace of pid 1: Operation not permitted

@marcohuxam
Copy link

In our CodeIgniter 4 application, we also use Panther for scraping and currently we are also getting exit code 1 in our logstream for unknown reasons..

@PyroShape
Copy link

Which version of symfony/process do you use ? I have the same issue since I upgrade up to 6.4.13.

@rekreg
Copy link
Author

rekreg commented Feb 15, 2025

In composer.lock my version is "symfony/process": "^7.0.3"
Any ideas that might help in my case?

@marcohuxam
Copy link

In our CodeIgniter 4 application, we also use Panther for scraping and currently we are also getting exit code 1 in our logstream for unknown reasons..

I also have a Laravel application which uses Symfony Panther, this has also randomly broken without code changes. I am fairly certain that some change within the Symfony framework (probably not Panther, but a library on which it depends, as Panther has no recent releases) has broken the library, possibly in combination with PHP frameworks. The other possibility that might be considered is a new version of Chrome that breaks something.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants