binhex / arch-qbittorrentvpn

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

Qbit fails to launch because of IPtables / WireGuard on kernel 4.18.0-348 #115

Closed s3rverro0m closed 2 years ago

s3rverro0m commented 2 years ago

I recently upgraded my server to Rocky Linux 8.5 which is kernel 4.18.0-348 (it’s upstream to RHEL). When I did that, I noticed that Qbit (and Sabnzbd) failed to launch because of IPtables and wireguard. I tested that wireguard works because I was able to bring up wg0 manually using the same config as Qbit. I’m not sure if this is something you can help with or not.

The following are set in my docker-compose yml: `privileged: true sysctls:

Kernel version: uname -r 4.18.0-348.2.1.el8_5.x86_64

IPtables version: iptables -V iptables v1.8.4 (nf_tables)

Snippet of the error log: 2021-11-17 14:30:11,329 DEBG 'start-script' stderr output: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.18.0-348.2.1.el8_5.x86_64

2021-11-17 14:30:11,330 DEBG 'start-script' stderr output: iptables v1.8.7 (legacy): can't initialize iptables table ‘filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.

I’m going to assume this is more of a kernel issue than anything else, but I am unsure. I figured I would ask here. qbittorrentvpn-2021-11-17T14-35-51.log

s3rverro0m commented 2 years ago

The issue seems to be resolved after updating all docker packages (they just came out today).