Describe the bug
Trying to run this on my QNAP NAS, but it seems to have a problem installing the uc_driver.
It tries to do this on every request:
$ docker run -it --rm -p 8191:8191 ghcr.io/thephaseless/byparr
INFO: Started server process [7]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8191 (Press CTRL+C to quit)
INFO: Request: cmd='request.get' url='http://www.google.com/' max_timeout=60000
/app/.venv/lib/python3.12/site-packages/pyautogui/_pyautogui_x11.py:284: SyntaxWarning: invalid escape sequence '\e'
'\e': _display.keysym_to_keycode(Xlib.XK.string_to_keysym('Escape')),
Warning: uc_driver not found. Getting it now:
*** chromedriver to download = 131.0.6778.85 (Latest Stable)
Downloading chromedriver-linux64.zip from:
https://storage.googleapis.com/chrome-for-testing-public/131.0.6778.85/linux64/chromedriver-linux64.zip ...
Download Complete!
Extracting ['chromedriver'] from chromedriver-linux64.zip ...
Unzip Complete!
The file [uc_driver] was saved to:
/app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/
uc_driver
Making [uc_driver 131.0.6778.85] executable ...
[uc_driver 131.0.6778.85] is now ready for use!
ERROR: Error: [Errno 8] Exec format error: '/app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver'
INFO: 10.10.11.92:63057 - "POST /v1 HTTP/1.1" 500 Internal Server Error
INFO: Request: cmd='request.get' url='http://www.google.nl/' max_timeout=60000
/bin/sh: 1: /app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver: Exec format error
Warning: uc_driver update needed. Getting it now:
*** chromedriver to download = 131.0.6778.85 (Latest Stable)
Downloading chromedriver-linux64.zip from:
https://storage.googleapis.com/chrome-for-testing-public/131.0.6778.85/linux64/chromedriver-linux64.zip ...
Download Complete!
Extracting ['chromedriver'] from chromedriver-linux64.zip ...
Unzip Complete!
The file [uc_driver] was saved to:
/app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/
uc_driver
Making [uc_driver 131.0.6778.85] executable ...
[uc_driver 131.0.6778.85] is now ready for use!
ERROR: Error: [Errno 8] Exec format error: '/app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver'
INFO: 10.10.11.92:63075 - "POST /v1 HTTP/1.1" 500 Internal Server Error
INFO: Health check
INFO: Request: cmd='get' url='https://prowlarr.servarr.com/v1/ping' max_timeout=30
/bin/sh: 1: /app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver: Exec format error
Warning: uc_driver update needed. Getting it now:
*** chromedriver to download = 131.0.6778.85 (Latest Stable)
Downloading chromedriver-linux64.zip from:
https://storage.googleapis.com/chrome-for-testing-public/131.0.6778.85/linux64/chromedriver-linux64.zip ...
Download Complete!
Extracting ['chromedriver'] from chromedriver-linux64.zip ...
Unzip Complete!
The file [uc_driver] was saved to:
/app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/
uc_driver
Making [uc_driver 131.0.6778.85] executable ...
[uc_driver 131.0.6778.85] is now ready for use!
ERROR: Error: [Errno 8] Exec format error: '/app/.venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver'
INFO: 127.0.0.1:45474 - "GET /health HTTP/1.1" 500 Internal Server Error
I've:
Docker host (please complete the following information):
- OS: QTS (Linux 5.10.60-qnap)
- Platform and model: QNAP TS-435XeU
- Architecture: ARM64 (v8)
Additional info
- Chromium seems to be installed and doing something.. although testing it without an X-server is difficult.
$ docker run -it --rm -p 8191:8191 ghcr.io/thephaseless/byparr bash
root@805ada2418ab:/app# chromium --no-sandbox
[6:31:1125/200031.224347:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[6:6:1125/200031.235481:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
[6:6:1125/200031.235541:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
root@805ada2418ab:/app# xvfb-run -s "-screen 0 1600x1200x24" chromium --no-sandbox
[59:85:1125/200218.181434:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:88:1125/200218.727500:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:88:1125/200218.727694:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:85:1125/200218.737265:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[59:85:1125/200218.739099:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[59:85:1125/200218.740393:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[59:85:1125/200218.745047:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[59:85:1125/200218.745126:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
[59:85:1125/200219.779148:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[59:85:1125/200219.821449:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[59:85:1125/200219.822134:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
[59:59:1125/200219.886695:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
[59:59:1125/200219.911804:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[59:113:1125/200219.936412:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:113:1125/200219.936601:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:113:1125/200219.936780:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:113:1125/200219.936914:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[59:113:1125/200219.937047:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200219.990186:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200220.034585:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200220.062857:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[59:59:1125/200220.079050:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200220.129484:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200220.160115:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200220.184595:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[59:59:1125/200220.216361:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=6
[59:59:1125/200220.216471:FATAL:gpu_data_manager_impl_private.cc(423)] GPU process isn't usable. Goodbye.
*** stack smashing detected ***: terminated
Trace/breakpoint trap
Describe the bug
Trying to run this on my QNAP NAS, but it seems to have a problem installing the uc_driver.
It tries to do this on every request:
I've:
Docker host (please complete the following information):
Additional info