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
171 stars 92 forks source link

No OpenVPN config file located in /config/openvpn/ #45

Closed Treverr closed 4 years ago

Treverr commented 4 years ago

I can't star the docker for some reason with the error that I don't have an opvn file in my config files, but I do.

Here is the command I'm running:

trever@server:/home/qbtuser/.config/qBittorrent/openvpn$ docker run --privileged  -d \
>               -v /home/qbtuser/.config/qBittorrent/:/config \
>               -v /Volumes/Temporary/Downloads:/downloads \
>               -e "VPN_ENABLED=yes" \
>               -e "LAN_NETWORK=10.0.1.0/24" \
>               -e "NAME_SERVERS=1.1.1.1,1.0.0.1" \
>               -p 8080:8080 \
>               -p 8999:8999 \
>               -p 8999:8999/udp \
>               markusmcnugen/qbittorrentvpn

And I get the following logs:

2020-03-14 22:10:49.909239 [info] VPN_ENABLED defined as 'yes'
2020-03-14 22:10:49.944533 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...

But when I check my directory:

trever@server:/home/qbtuser/.config/qBittorrent$ ls -l
total 16
drwxrwxr-x 2 root    root    4096 Mar 14 15:30 openvpn
-rw-r--r-- 1 qbtuser qbtuser 2867 Mar 14 12:34 qBittorrent.conf
-rw-r--r-- 1 qbtuser qbtuser  196 Mar 14 12:34 qBittorrent-data.conf
drwxrwxr-x 2 qbtuser qbtuser 4096 Mar 14 12:34 rss

And

trever@server:/home/qbtuser/.config/qBittorrent/openvpn$ ls -l
total 8
-rwxrwxr-x 1 trever trever   38 Mar 14 12:51 credentials.conf
-rwxrwxr-x 1 trever trever 2825 Mar 14 15:30 us4066.opvn

This is my first time using docker, so I am probably just not understanding something.

snowlucas commented 4 years ago

Your file has the wrong extension. opvn vs ovpn