binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
397 stars 46 forks source link

qBittorrent do not start libQt6Core.so.6: cannot open shared object file: No such file or directory #235

Open leelouch opened 1 month ago

leelouch commented 1 month ago

Hi, I am unable to start qbittorrent :

libQt6Core.so.6: cannot open shared object file: No such file or directory

VPN started, I am able to sh the docker, tun interface us up, qbitprocess not started.

any idea please ?

Thanks for help.

arch: aarch64 uname -a : Linux odroidn2 4.9.312-125 #1 SMP PREEMPT Sat Jun 18 18:58:41 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

docker run -d \ --cap-add=NET_ADMIN \ --name=qbittorrent \ -v /volume1/video/:/data \ -v /volume1/:/volume1 \ -v /home/xxxx/config:/config \ -v /etc/localtime:/etc/localtime:ro \ -e VPN_ENABLED=yes \ -e VPN_PROV=custom \ -e VPN_CLIENT=openvpn \ -e "LAN_NETWORK=192.168.0.0/16" \ -e WEBUI_PORT=8080 \ -p 8080:8080 \ -p 6881:6881 \ -p 6881:6881/udp \ -p 8118:8118 \ -e UMASK=000 \ -e PUID=0 \ -e PGID=0 \ --restart unless-stopped \ binhex/arch-qbittorrentvpn

logs below


2024-05-05 18:22:01,900 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0

2024-05-05 18:22:01,901 DEBG 'start-script' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2

2024-05-05 18:22:01,902 DEBG 'start-script' stdout output:
192.168.0.0/16 via 172.17.0.1 dev eth0

2024-05-05 18:22:01,903 DEBG 'start-script' stdout output:
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1

2024-05-05 18:22:01,904 DEBG 'start-script' stdout output:
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1

2024-05-05 18:22:01,906 DEBG 'start-script' stdout output:
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1

2024-05-05 18:22:01,907 DEBG 'start-script' stdout output:
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1

2024-05-05 18:22:01,908 DEBG 'start-script' stdout output:
broadcast 172.17.0.0 dev eth0 table local proto kernel scope link src 172.17.0.2

2024-05-05 18:22:01,909 DEBG 'start-script' stdout output:
local 172.17.0.2 dev eth0 table local proto kernel scope host src 172.17.0.2

2024-05-05 18:22:01,911 DEBG 'start-script' stdout output:
broadcast 172.17.255.255 dev eth0 table local proto kernel scope link src 172.17.0.2

2024-05-05 18:22:01,911 DEBG 'start-script' stdout output:
unreachable default dev lo proto kernel metric 4294967295 error 4294967195 pref medium
unreachable default dev lo proto kernel metric 4294967295 error 4294967195 pref medium

2024-05-05 18:22:01,912 DEBG 'start-script' stdout output:
--------------------

2024-05-05 18:22:02,029 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2024-05-05 18:22:02,035 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s xx.xxx.xxx.xxx/32 -i eth0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -s xxx.xxx.xx.xxx/32 -i eth0 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8080 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -d xx.xxx.xxx.xxx/32 -o eth0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -d .xxx.xxx.xxx/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8080 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2024-05-05 18:22:02,043 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN (non daemonised)...

2024-05-05 18:22:02,075 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations.

2024-05-05 18:22:02,075 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 Note: '--allow-compression' is not set to 'no', disabling data channel offload.

2024-05-05 18:22:02,075 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 WARNING: file 'openvpn-credentials.txt' is group or others accessible

2024-05-05 18:22:02,075 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 OpenVPN 2.6.10 [git:makepkg/ba0f62fb950c56a0+] aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Mar 21 2024

2024-05-05 18:22:02,076 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 library versions: OpenSSL 3.2.1 30 Jan 2024, LZO 2.10

2024-05-05 18:22:02,076 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 DCO version: N/A

2024-05-05 18:22:02,076 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 WARNING: --ping should normally be used with --ping-restart or --ping-exit

2024-05-05 18:22:02,077 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2024-05-05 18:22:02,077 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 NOTE: --fast-io is disabled since we are not using UDP

2024-05-05 18:22:02,079 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TCP/UDP: Preserving recently used remote address: [AF_INET]xxxxxxxxxxxxxx:443

2024-05-05 18:22:02,080 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 Socket Buffers: R=[87380->87380] S=[16384->16384]

2024-05-05 18:22:02,080 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 Attempting to establish TCP connection with [AF_INET]xxxxxxxxxxxxxx:443

2024-05-05 18:22:02,088 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TCP connection established with [AF_INET]xxxxxxxxxxxx:443

2024-05-05 18:22:02,089 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TCPv4_CLIENT link local: (not bound)

2024-05-05 18:22:02,089 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TCPv4_CLIENT link remote: [AF_INET]xxxxxxxxxxxxx:443

2024-05-05 18:22:02,096 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TLS: Initial packet from [AF_INET]xxxxxxxxxxxx:443, sid=a9915933 543c49a1

2024-05-05 18:22:02,167 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA

2024-05-05 18:22:02,169 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 VERIFY OK: depth=1, O=NordVPN, CN=NordVPN CA9

2024-05-05 18:22:02,169 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 VERIFY KU OK

2024-05-05 18:22:02,170 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 Validating certificate extended key usage

2024-05-05 18:22:02,170 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication

2024-05-05 18:22:02,170 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 VERIFY EKU OK

2024-05-05 18:22:02,170 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 VERIFY X509NAME OK: CN=be148.nordvpn.com

2024-05-05 18:22:02,171 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 VERIFY OK: depth=0, CN=be148.nordvpn.com

2024-05-05 18:22:02,189 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bits RSA, signature: RSA-SHA512, peer temporary key: 253 bits X25519

2024-05-05 18:22:02,189 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 [be148.nordvpn.com] Peer Connection Initiated with [AF_INET]xxxxxxxxxxxxxxx:443

2024-05-05 18:22:02,189 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1

2024-05-05 18:22:02,190 DEBG 'start-script' stdout output:
2024-05-05 18:22:02 TLS: tls_multi_process: initial untrusted session promoted to trusted

2024-05-05 18:22:03,317 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 SENT CONTROL [be148.nordvpn.com]: 'PUSH_REQUEST' (status=1)

2024-05-05 18:22:03,379 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,explicit-exit-notify,comp-lzo no,route-gateway 10.100.0.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.100.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM'

2024-05-05 18:22:03,379 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 OPTIONS IMPORT: --explicit-exit-notify can only be used with --proto udp

2024-05-05 18:22:03,379 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 OPTIONS IMPORT: --ifconfig/up options modified

2024-05-05 18:22:03,379 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 OPTIONS IMPORT: route options modified

2024-05-05 18:22:03,380 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 OPTIONS IMPORT: route-related options modified

2024-05-05 18:22:03,380 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

2024-05-05 18:22:03,380 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_route_v4_best_gw query: dst 0.0.0.0

2024-05-05 18:22:03,380 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_route_v4_best_gw result: via 172.17.0.1 dev eth0

2024-05-05 18:22:03,380 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:02

2024-05-05 18:22:03,381 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 TUN/TAP device tun0 opened

2024-05-05 18:22:03,381 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_iface_mtu_set: mtu 1500 for tun0

2024-05-05 18:22:03,381 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_iface_up: set tun0 up

2024-05-05 18:22:03,382 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_addr_v4_add: 10.100.0.2/24 dev tun0

2024-05-05 18:22:03,382 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 /root/openvpnup.sh tun0 1500 0 10.100.0.2 255.255.255.0 init

2024-05-05 18:22:03,388 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_route_v4_add: xxxxxxxxxxxxxxx/32 via 172.17.0.1 dev [NULL] table 0 metric -1

2024-05-05 18:22:03,390 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_route_v4_add: 0.0.0.0/1 via 10.100.0.1 dev [NULL] table 0 metric -1

2024-05-05 18:22:03,391 DEBG 'start-script' stdout output:
2024-05-05 18:22:03 net_route_v4_add: 128.0.0.0/1 via 10.100.0.1 dev [NULL] table 0 metric -1
2024-05-05 18:22:03 Initialization Sequence Completed
2024-05-05 18:22:03 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'stub'
2024-05-05 18:22:03 Timers: ping 60, ping-restart 180

2024-05-05 18:22:04,535 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2024-05-05 18:22:04,730 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 109.236.63.74

2024-05-05 18:22:04,739 DEBG 'start-script' stdout output:
[info] VPN provider 'custom' not supported for automatic port forwarding, skipping incoming port assignment

2024-05-05 18:22:04,828 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.100.0.2 different, marking for reconfigure

2024-05-05 18:22:04,845 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running

2024-05-05 18:22:04,848 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy
[info] Removing session lock file (if it exists)...

2024-05-05 18:22:04,931 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...

2024-05-05 18:22:16,137 DEBG 'watchdog-script' stdout output:
[warn] Wait for qBittorrent process to start aborted, too many retries
[info] Showing output from command before exit...

2024-05-05 18:22:16,143 DEBG 'watchdog-script' stderr output:
/usr/bin/qbittorrent-nox: error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory

2024-05-05 18:22:46,201 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.100.0.2 different, marking for reconfigure

2024-05-05 18:22:46,219 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running
[info] qBittorrent config file already exists, skipping copy
[info] Removing session lock file (if it exists)...

2024-05-05 18:22:46,310 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...

2024-05-05 18:22:57,509 DEBG 'watchdog-script' stdout output:
[warn] Wait for qBittorrent process to start aborted, too many retries
[info] Showing output from command before exit...

2024-05-05 18:22:57,512 DEBG 'watchdog-script' stderr output:
/usr/bin/qbittorrent-nox: error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory