Closed mgoulet65 closed 1 year ago
I also am seeing a similar error:
2023-04-11T15:32:21-07:00 ERROR NET_ADMIN capability is missing: iptables-nft: iptables v1.8.8 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) (exit status 4); iptables: iptables v1.8.8 (legacy): can't initialize iptables table `filter': Permission denied (you must be root)
I even created a new user in my TruenasSCALE that had no password and sudo access (trying to give it root access) but same error occurs.
Edit: I am not using the same VPN provider as the OP, see below for my required environment variables according to the Gluetun Github:
VPN_SERVICE_PROVIDER=private internet access
OPENVPN_USER=myuserhere
OPENVPN_PASSWORD=mypasswordhere
@Ornias1993 Might need to either run this as root or pass the tun device to the container https://github.com/qdm12/gluetun/issues/1224
Also going to drop this here from the Gluetun Github:
https://github.com/qdm12/gluetun/wiki/Iptables-errors
It suggests adding --cap_add=NET_ADMIN
as an option to the docker command, obviously not applicable to SCALE app configs
Cap is already added.
Renamed and changed timeframe in accordance with next news announcement...
Fixed merged in common, should be available with a release soon.
App Name
qbittorrent (using gluetun)
SCALE Version
22.12.1
App Version
4.5.1_15.0.0
Application Events
Application Logs
Application Configuration
App defaults PLUS
Describe the bug
I can start the APP just fine if I disable the VPN section. Onbce I add VPN it fails to deploy and creates the erros listed above.
To Reproduce
Install QB app with config described above. Start it. Traverse to the qb URL without error Edit App config to add VPN config. Start app Hangs on starting and produces logs above.
Expected Behavior
Start cleanly with VPN section completed.
Screenshots
See above
Additional Context
Was working with this VPN config previous to APP upgrade.
I've read and agree with the following