-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I run a headless dietpi 'ARR server (pi4) with installed: radarr, sonarr, prowlarr & jellyseerr.
I followed your instructions meticulously and created a stack on portainer, which runs, but according to the log the selenium driver is missing (1)
Also tried docker pull (2):
"ERROR:root:Failed to initialize Selenium driver: [Errno 8] Exec format error: '/bin/google-chrome'
ERROR:root:Chrome binary path: /usr/bin/google-chrome
ERROR:root:ChromeDriver path: /usr/local/bin/chromedriver"
What do I need to do,
does it not work on dietpi,
what did I miss?
The full log:
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/undetected/init.py", line 285, in init
browser = subprocess.Popen(
File "/usr/local/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/bin/google-chrome'
/bin/sh: 1: /usr/local/bin/chromedriver: Exec format error
/bin/sh: 1: /usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/drivers/uc_driver: Exec format error
ERROR:root:Failed to initialize Selenium driver: [Errno 8] Exec format error: '/bin/google-chrome'
ERROR:root:Chrome binary path: /usr/bin/google-chrome
ERROR:root:ChromeDriver path: /usr/local/bin/chromedriver
Traceback (most recent call last):
File "/usr/src/app/add.py", line 1625, in
main()
File "/usr/src/app/add.py", line 1547, in main
init_selenium_driver()
File "/usr/src/app/add.py", line 1432, in init_selenium_driver
with SB(uc=True,
File "/usr/local/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/plugins/sb_manager.py", line 1214, in SB
sb.setUp()
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 15187, in setUp
self.driver = self.get_new_driver(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 4183, in get_new_driver
new_driver = browser_launcher.get_driver(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/core/browser_launcher.py", line 2824, in get_driver
return get_local_driver(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/core/browser_launcher.py", line 4849, in get_local_driver
driver = undetected.Chrome(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/undetected/init.py", line 285, in init
browser = subprocess.Popen(
File "/usr/local/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
Also tried docker pull (2):
~/list-sync$ sudo docker pull ghcr.io/woahai321/list-sync:main && sudo docker run -it --rm -v "$(pwd)/data:/usr/src/app/data" -e TERM=xterm-256color ghcr.io/woahai321/list-sync:main
main: Pulling from woahai321/list-sync
Digest: sha256:3ae3a13edca0e8a8d1ee544b821803ccb9f8dc0a28dbe82060b2eed60ba11f55
Status: Image is up to date for ghcr.io/woahai321/list-sync:main
ghcr.io/woahai321/list-sync:main
/bin/sh: 1: /usr/local/bin/chromedriver: Exec format error
Warning: uc_driver not found. Getting it now:
*** chromedriver to download = 133.0.6943.98 (Latest Stable)
Downloading chromedriver-linux64.zip from:
https://storage.googleapis.com/chrome-for-testing-public/133.0.6943.98/linux64/chromedriver-linux64.zip ...
Download Complete!
Extracting ['chromedriver'] from chromedriver-linux64.zip ...
Unzip Complete!
The file [uc_driver] was saved to:
/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/drivers/
uc_driver
Making [uc_driver 133.0.6943.98] executable ...
[uc_driver 133.0.6943.98] is now ready for use!
ERROR:root:Failed to initialize Selenium driver: [Errno 8] Exec format error: '/bin/google-chrome'
ERROR:root:Chrome binary path: /usr/bin/google-chrome
ERROR:root:ChromeDriver path: /usr/local/bin/chromedriver
Traceback (most recent call last):
File "/usr/src/app/add.py", line 1625, in
main()
File "/usr/src/app/add.py", line 1547, in main
init_selenium_driver()
File "/usr/src/app/add.py", line 1432, in init_selenium_driver
with SB(uc=True,
File "/usr/local/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/plugins/sb_manager.py", line 1214, in SB
sb.setUp()
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 15187, in setUp
self.driver = self.get_new_driver(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 4183, in get_new_driver
new_driver = browser_launcher.get_driver(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/core/browser_launcher.py", line 2824, in get_driver
return get_local_driver(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/core/browser_launcher.py", line 4849, in get_local_driver
driver = undetected.Chrome(
File "/usr/src/app/.venv/lib/python3.9/site-packages/seleniumbase/undetected/init.py", line 285, in init
browser = subprocess.Popen(
File "/usr/local/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/bin/google-chrome'
Thank you in advance!