MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
174 stars 93 forks source link

Container fails to Launch once I enable VPN_ENABLED = yes #122

Open brucecleghorn opened 2 years ago

brucecleghorn commented 2 years ago

Hi Chaps Thanks for your help in advance. I'm a Synology/Docker/Git Hub entry level user so forgive me if I ask dumb questions. I've successfully setup a lot of docker containers but this one has got me stumped.

If I run the container just with qBittorrent (No VPN) then it runs fine, no issues As soon as I try to enable the VPN (VPN_ENABLED = yes) the containers fails immediately with no error code

The Log just shows this, with no error code 2022-03-05 09:23:02 stdout 2022-03-05 09:23:02.971827 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN.ovpn 2022-03-05 09:23:02 stdout 2022-03-05 09:23:02.931648 [info] VPN_ENABLED defined as 'yes'

my ovpn file was downloaded from my service provider (AirVPN) and works fine on the Synology VPN Outside of the docker so I think (know) the ovpn file is not the issue

Any help would be massively apprecaited Thanks Bruce

nicolassutter commented 2 years ago

@brucecleghorn Hey, i had the exact same issue. I had to edit my .ovpn config file to add:

auth-user-pass credentials.conf

This fixed it for me ;)

brucecleghorn commented 2 years ago

Mate, THANKS SO MUCH . . . Fixed it for me as well (And TBH I'd given up on this . . . . . TY)