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
ERROR Error starting Chrome browser. Error: EACCES: permission denied, open '/tmp/flaresolverr.txt' #120
Comments
I got the same problem, it was a file already existing in /tmp/flaresolverr.txt Then, recompile with |
@Elegary Thnak you for getting back to me! Oddly enough the problem went away with a reboot for me, but I also found the flareresolverr.txt file to be gone as well after the reboot. After solving some puppeteer dependencies, I am now able to run flaresolverr from the command line. However, I still cannot run it at a service as shown above. When I run journalctl -u flaresolverr, I am getting the following output:
I am taking a wild guess here, but I believe the service is not looking to find Chrome as a subdirectory of flaresolverr. My environment is headless and I have already followed the available dependency guides for puppeteer. Any help is appreciated! |
I did some more research and found that the service doesn't start because it doesn't understand the environment variable in service file. |
Maybe you've done the same mistake of mine. Before I can launch FlareSolverr by systemd (with a dedicated user named "flaresolverr"), I launched it with my current user ("root" by example). So, the first time the /tmp/flaresolverr.txt was created, it got the root:root permissions. So, the By attributing the correct ownership, I successfully started flaresolverr. Here is my
Pretty similar as yours, no ? :-) |
FlareSolverr v1.2.6 released. |
I have got the same issue on Ubuntu. |
My
|
Environment
FlareSolverr Version: 1.2.5
Docker: No
OS: Ubuntu 20.04
Are you using a proxy or VPN? No
Using Captcha Solver: Yes
If using captcha solver, which one: hcaptcha-solver
Description
Problem
The service doesn't start and so I am trying to get FlareSolverr to run manually. This gives me the following output:
I have checked the /tmp directory and it has a file named flaresolverr.txt.
Maybe I am missing a dependency? However, the output doesn't give me any clue what it might be.
The text was updated successfully, but these errors were encountered: