FlareSolverr: FlareSolverr won't start.
Have you checked our README?
- I have checked the README
Is there already an issue for your problem?
- I have checked older issues, open and closed
Have you checked the discussions?
- I have read the Discussions
Environment
- FlareSolverr version: latest form git
- Last working FlareSolverr version:
- Operating system: Manjaro Arm64 for RaspberryPi4
- Are you using Docker: [no]
- FlareSolverr User-Agent (see log traces or / endpoint):
- Are you using a VPN: [no]
- Are you using a Proxy: [no]
- Are you using Captcha Solver: [no]
- If using captcha solver, which one:
- URL to test this issue:
Description
I’m installing FlareSolverr from source code and it won’t start.
Logged Error Messages
2023-02-02 14:28:58 INFO FlareSolverr 3.0.2
2023-02-02 14:28:58 INFO Testing web browser installation...
2023-02-02 14:28:58 INFO Chrome / Chromium path: /usr/bin/chromium
2023-02-02 14:29:00 INFO Chrome / Chromium major version: 109
Traceback (most recent call last):
File "/home/pi/FlareSolverr/src/utils.py", line 158, in get_user_agent
driver = get_webdriver()
File "/home/pi/FlareSolverr/src/utils.py", line 72, in get_webdriver
driver = uc.Chrome(options=options, driver_executable_path=driver_exe_path, version_main=version_main,
File "/home/pi/FlareSolverr/src/undetected_chromedriver/__init__.py", line 436, in __init__
super(Chrome, self).__init__(
File "/home/pi/.local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
super().__init__(
File "/home/pi/.local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 103, in __init__
self.service.start()
File "/home/pi/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 90, in start
self._start_process(self.path)
File "/home/pi/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 199, in _start_process
self.process = subprocess.Popen(
File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/pi/.local/share/undetected_chromedriver/d0c3e87b99700651_chromedriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/FlareSolverr/src/flaresolverr.py", line 91, in <module>
flaresolverr_service.test_browser_installation()
File "/home/pi/FlareSolverr/src/flaresolverr_service.py", line 61, in test_browser_installation
user_agent = utils.get_user_agent()
File "/home/pi/FlareSolverr/src/utils.py", line 162, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 8] Exec format error: '/home/pi/.local/share/undetected_chromedriver/d0c3e87b99700651_chromedriver'
### Screenshots
_No response_
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 24 (9 by maintainers)
I’m providing images for these architectures:
Some of the issues are related to the ARM 32 version. I did some changes but I can not test them:
The error
Exec format error
is caused because you are running a Docker image for an architecture not supported by your machine. @fe80Grau try running the Docker image for ARM64.Sure.
I’ve cloned the repo and rebuilt the docker image, and it started working again 😄
@ngosang maybe you could publish a new minor version just to update the container OS dependencies?
Thank you
You were a few seconds too quick. See edited comment above for similar issues. May be a wider problem.
https://github.com/FlareSolverr/FlareSolverr/releases/tag/v3.1.0
We’re using Selenium now, not Puppeteer.