Trigus42 / alpine-qbittorrentvpn

Multiarch docker image with the latest qBittorrent-nox client (WEB UI) and WireGuard/OpenVPN tunnel
GNU General Public License v3.0
73 stars 14 forks source link

ERROR VPN PORT not found #57

Closed acrobatmaxx closed 8 months ago

acrobatmaxx commented 8 months ago

Good evening,

I've been using this image for a few months without any issues until last update. I get the error "VPN_PORT not found". I noticed someone else posted about it but haven't seen any response yet so I thought I should share my logs in case it helps:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-environment.sh: executing... 
2024-02-01 15:58:09 [WARNING] LAN_NETWORK is deprecated, might not work in future versions and is no longer needed. Obmit or use WEBUI_ALLOWED_NETWORKS to restrict access instead
2024-02-01 15:58:09 [INFO] HEALTH_CHECK_HOST is not set. Using default host 1.1.1.1
2024-02-01 15:58:09 [INFO] HEALTH_CHECK_INTERVAL is not set. Using default interval of 5s
2024-02-01 15:58:09 [INFO] HEALTH_CHECK_TIMEOUT is not set. Using default interval of 5s
2024-02-01 15:58:09 [INFO] PUID defined as 1002
2024-02-01 15:58:09 [INFO] PGID defined as 998
2024-02-01 15:58:09 [INFO] An user with PUID 1002 does not exist, adding an user called 'qbittorrent' with PUID 1002
2024-02-01 15:58:09 [INFO] VPN_ENABLED defined as 'yes'
2024-02-01 15:58:09 [INFO] VPN_TYPE defined as 'openvpn'
2024-02-01 15:58:09 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers
2024-02-01 15:58:09 [INFO] Adding 1.1.1.1 to resolv.conf
2024-02-01 15:58:09 [INFO] Adding 8.8.8.8 to resolv.conf
2024-02-01 15:58:09 [INFO] Adding 1.0.0.1 to resolv.conf
2024-02-01 15:58:09 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 10-environment.sh: exited 0.
[cont-init.d] 20-vpn.sh: executing... 
2024-02-01 15:58:09 [INFO] Choosen VPN config: 'PrivateVPN-CA-Toronto-TUN-1195.ovpn'
2024-02-01 15:58:09 [INFO] Using credentials from /config/openvpn/PrivateVPN-CA-Toronto-TUN-1195_credentials.conf
dos2unix: converting file /config/openvpn/PrivateVPN-CA-Toronto-TUN-1195.ovpn to Unix format...
2024-02-01 15:58:09 [INFO] VPN remote line defined as '45.148.7.6 1195 udp'
2024-02-01 15:58:09 [INFO] VPN_REMOTE defined as '45.148.7.6'
2024-02-01 15:58:09 [ERROR] VPN_PORT not found in `/config/openvpn/PrivateVPN-CA-Toronto-TUN-1195.ovpn

I went back with using version qbt4.6.1-20231121 and it works.

Let me know if you need any other info. Thank you very much!

Trigus42 commented 8 months ago

Thank you, but please keep the discussion in the original issue. Your problem might already be fixed too. Please have a look at my response in the other issue