binhex / arch-delugevpn

Docker build script for Arch Linux base with Deluge, Privoxy and OpenVPN
GNU General Public License v3.0
695 stars 112 forks source link

Fails to start on versions newer than 2.1.1-3-02 #352

Closed 1n5aN1aC closed 1 year ago

1n5aN1aC commented 1 year ago

I don't see any recent commits to github, but I see 2 recent new versions on DockerHub, both of which fail to start, looping over and over, with no error message, even with DEBUG=true.

2.1.1-3-03 exhibits this behavior for me, as well as 2.1.1-3-04

gniting commented 1 year ago

same here. the only way I can get it to work is if I change: VPN_ENABLED=yes to VPN_ENABLED=no, which kinda defeats the purpose.

kgb545 commented 1 year ago

Yup, exactly same here, keeps looping and restarting, no error messages in log (with debug to true)

1n5aN1aC commented 1 year ago

In case anyone needs the container working, and doesn't know how to pin a specific working version, here is a temporary fix if you use docker compose:

Edit your docker-compose file so the image line is pointing to a specific older version. (one that still works) image: binhex/arch-delugevpn:2.1.1-3-02

Don't forget to remove it once the image has been fixed!

binhex commented 1 year ago

Yup, exactly same here, keeps looping and restarting, no error messages in log (with debug to true)

is there literally nothing in the /config/supervisord.log ? i need something to go on, i cannot replicate the issue at present (working for me).

kgb545 commented 1 year ago

All i see in the logs is this (repeated over and over). I noticed in Portainer that the ports were not published (yet):

Created by... . . . \ | || __ | | __ | | |/ | | _/ \ \/ / | _\ \ | | \ Y \ / > < | /|__| /| /_ >/_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/

2023-02-14 19:11:52.322949 [info] System information Linux 4bd397d513e9 5.15.0-60-generic #66~20.04.1-Ubuntu SMP Wed Jan 25 09:41:30 UTC 2023 x86_64 GNU/Linux 2023-02-14 19:11:52.346253 [info] OS_ARCH defined as 'x86-64' 2023-02-14 19:11:52.368461 [info] PUID defined as '1000' 2023-02-14 19:11:52.389984 [info] PGID defined as '1000' 2023-02-14 19:11:52.426307 [info] UMASK defined as '000' 2023-02-14 19:11:52.448178 [info] Permissions already set for '/config' 2023-02-14 19:11:52.471463 [info] Deleting files in /tmp (non recursive)... 2023-02-14 19:11:52.502108 [info] VPN_ENABLED defined as 'yes' 2023-02-14 19:11:52.527380 [info] VPN_CLIENT defined as 'openvpn' 2023-02-14 19:11:52.552868 [info] VPN_PROV defined as 'airvpn' 2023-02-14 19:11:52.577166 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_Netherlands_UDP-443.ovpn 2023-02-14 19:11:52.622209 [info] VPN remote server(s) defined as 'nl.vpn.airdns.org,' 2023-02-14 19:11:52.641517 [info] VPN remote port(s) defined as '443,' 2023-02-14 19:11:52.659854 [info] VPN remote protcol(s) defined as 'udp,' 2023-02-14 19:11:52.687408 [info] VPN_DEVICE_TYPE defined as 'tun0' 2023-02-14 19:11:52.711748 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2023-02-14 19:11:52.844961 [debug] DNS operational, we can resolve name -removed by me-

gniting commented 1 year ago

is there literally nothing in the /config/supervisord.log ? i need something to go on, i cannot replicate the issue at present (working for me). Nope, nothing in the /config/supervisord.log that is suspicious. Here's what I see, repeated over and over again:

130479 ___.   .__       .__
130480 \_ |__ |__| ____ |  |__   ____ ___  ___
130481  | __ \|  |/    \|  |  \_/ __ \\  \/  /
130482  | \_\ \  |   |  \   Y  \  ___/ >    <
130483  |___  /__|___|  /___|  /\___  >__/\_ \
130484      \/        \/     \/     \/      \/
130485    https://hub.docker.com/u/binhex/
130486
130487 2023-02-14 19:12:54.359575 [info] System information Linux deluge 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 GNU/Linux
130488 2023-02-14 19:12:54.388112 [info] OS_ARCH defined as 'x86-64'
130489 2023-02-14 19:12:54.415400 [info] PUID defined as '1000'
130490 2023-02-14 19:12:54.444147 [info] PGID defined as '1002'
130491 2023-02-14 19:12:54.609379 [info] UMASK defined as '022'
130492 2023-02-14 19:12:54.636229 [info] Permissions already set for '/config'
130493 2023-02-14 19:12:54.664452 [info] Deleting files in /tmp (non recursive)...
130494 2023-02-14 19:12:54.698066 [info] VPN_ENABLED defined as 'yes'
130495 2023-02-14 19:12:54.726555 [info] VPN_CLIENT defined as 'openvpn'
130496 2023-02-14 19:12:54.753835 [info] VPN_PROV defined as 'custom'
130497 2023-02-14 19:12:54.784695 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/VPN.ovpn
130498 2023-02-14 19:12:54.965326 [warn] VPN confi
130499 2023-02-14 19:12:54.965385                                              guration file /config/openvpn/VPN.ovpn        remote port is missing or malformed, assuming port '1194'
130500 2023-02-14 19:12:54.992967 [info] VPN remote server(s) defined as 'ro.vpnunlimitedapp.com,'
130501 2023-02-14 19:12:55.017045 [info] VPN remote port(s) defined as '1194,'
130502 2023-02-14 19:12:55.041127 [info] VPN remote protcol(s) defined as 'udp,'
130503 2023-02-14 19:12:55.069324 [info] VPN_DEVICE_TYPE defined as 'tun0'
130504 2023-02-14 19:12:55.096695 [info] VPN_OPTIONS defined as '--inactive 3600 --ping 10 --ping-exit 60'
130505 2023-02-14 19:12:55.132880 [debug] DNS operational, we can resolve name 'ro.vpnunlimitedapp.com' to address '185.144.83.11        77.81.98.70 185.144.83.13'
strike84 commented 1 year ago

@kgb545 Did you also post in the unraid forum? if not then there are 2 airvpn users having this issue. I might know something you can try for airvpn. But I see @gniting does not use airvpn, so I might be wrong. I'll post something you airvpn users can try in my next post.

kgb545 commented 1 year ago

@kgb545 Did you also post in the unraid forum? if not then there are 2 airvpn users having this issue. I might know something you can try for airvpn. But I see @gniting does not use airvpn, so I might be wrong. I'll post something you airvpn users can try in my next post.

Yes, that post in unraid forum was also me, so for now i'm the only airvpn user

strike84 commented 1 year ago

@kgb545 Ok, is your .ovpn file a few years old by any chance? Can you log into your airvpn account and go to client area-> devices,click on details on the default one, and click renew. After you have done that you'll have to download new ovpn files and log out/in of all devices you're using airvpn on. Replace the ovpn file you have for delugevpn and restart. Any difference?

It might take 5 min before all your active sessions are disconnected on the airvpn site. So you might see auth errors if you're using many devices, but that'll pass once all the sessions are disconnected.

1n5aN1aC commented 1 year ago

Yup, exactly same here, keeps looping and restarting, no error messages in log (with debug to true)

is there literally nothing in the /config/supervisord.log ? i need something to go on, i cannot replicate the issue at present (working for me).

Here's mine:

Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2023-02-14 13:06:09.720901 [info] System information Linux 2fd26ad00a08 5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 GNU/Linux
2023-02-14 13:06:09.744689 [info] OS_ARCH defined as 'x86-64'
2023-02-14 13:06:09.768998 [info] PUID defined as '0'
2023-02-14 13:06:09.791953 [warn] PGID not defined (via -e PGID), defaulting to '100'
2023-02-14 13:06:09.840726 [info] UMASK defined as '000'
2023-02-14 13:06:09.862821 [info] Permissions already set for '/config'
2023-02-14 13:06:09.887299 [info] Deleting files in /tmp (non recursive)...
2023-02-14 13:06:09.915463 [info] VPN_ENABLED defined as 'yes'
2023-02-14 13:06:09.939094 [warn] VPN_CLIENT not defined (via -e VPN_CLIENT), defaulting to 'openvpn'
2023-02-14 13:06:09.960760 [info] VPN_PROV defined as 'pia'
2023-02-14 13:06:09.986747 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/ca_vancouver.ovpn
2023-02-14 13:06:10.032297 [info] VPN remote server(s) defined as 'ca-vancouver.privacy.network,'
2023-02-14 13:06:10.047016 [info] VPN remote port(s) defined as '1198,'
2023-02-14 13:06:10.067184 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-14 13:06:10.088624 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-14 13:06:10.109943 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-02-14 13:06:10.137165 [debug] DNS operational, we can resolve name 'ca-vancouver.privacy.network' to address '181.41.202.91 181.41.202.237 181.41.202.81'
2023-02-14 13:06:10.164270 [debug] DNS operational, we can resolve name 'www.privateinternetaccess.com' to address '104.16.41.63 104.16.42.63'
2023-02-14 13:06:10.195061 [debug] DNS operational, we can resolve name 'serverlist.piaservers.net' to address '104.17.108.63 104.17.107.63'

Then it just repeats that over and over, as the container restarts.

I note that this is what a successful start looks like for me: (on 2.1.1-3-02)

Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2023-02-14 13:09:15.534437 [info] System information Linux c7b0d648277e 5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 GNU/Linux
2023-02-14 13:09:15.553232 [info] OS_ARCH defined as 'x86-64'
2023-02-14 13:09:15.576095 [info] PUID defined as '0'
2023-02-14 13:09:15.695444 [warn] PGID not defined (via -e PGID), defaulting to '100'
2023-02-14 13:09:15.785397 [info] UMASK defined as '000'
2023-02-14 13:09:15.803271 [info] Permissions already set for '/config'
2023-02-14 13:09:15.829128 [info] Deleting files in /tmp (non recursive)...
2023-02-14 13:09:15.856942 [info] VPN_ENABLED defined as 'yes'
2023-02-14 13:09:15.881931 [warn] VPN_CLIENT not defined (via -e VPN_CLIENT), defaulting to 'openvpn'
2023-02-14 13:09:15.903926 [info] VPN_PROV defined as 'pia'
2023-02-14 13:09:16.470556 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/ca_vancouver.ovpn
2023-02-14 13:09:16.527299 [info] VPN remote server(s) defined as 'ca-vancouver.privacy.network,'
2023-02-14 13:09:16.547089 [info] VPN remote port(s) defined as '1198,'
2023-02-14 13:09:16.561896 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-14 13:09:16.586610 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-14 13:09:16.608580 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-02-14 13:09:16.633082 [info] LAN_NETWORK defined as '----'
2023-02-14 13:09:16.656055 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.1                                         8.218,37.235.1.177,84.200.70.40,1.0.0.1'
2023-02-14 13:09:16.677997 [info] VPN_USER defined as '----'
2023-02-14 13:09:16.702692 [info] VPN_PASS defined as '----'
2023-02-14 13:09:16.724726 [info] STRICT_PORT_FORWARD defined as 'yes'
2023-02-14 13:09:16.750128 [info] ENABLE_PRIVOXY defined as 'no'
2023-02-14 13:09:16.777970 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2023-02-14 13:09:16.799668 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2023-02-14 13:09:16.821711 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2023-02-14 13:09:16.846315 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2023-02-14 13:09:16.872329 [info] DELUGE_ENABLE_WEBUI_PASSWORD not defined,(via -e DELUGE_ENABLE_WEBUI_PASSWORD), defaulting to 'yes'
2023-02-14 13:09:28.195593 [info] Starting Supervisor...
2023-02-14 13:09:28,325 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2023-02-14 13:09:28,325 INFO Set uid to user 0 succeeded
2023-02-14 13:09:28,327 INFO supervisord started with pid 7
2023-02-14 13:09:29,329 INFO spawned: 'start-script' with pid 193
....etc
kgb545 commented 1 year ago

@kgb545 Ok, is your .ovpn file a few years old by any chance? Can you log into your airvpn account and go to client area-> devices,click on details on the default one, and click renew. After you have done that you'll have to download new ovpn files and log out/in of all devices you're using airvpn on. Replace the ovpn file you have for delugevpn and restart. Any difference?

It might take 5 min before all your active sessions are disconnected on the airvpn site. So you might see auth errors if you're using many devices, but that'll pass once all the sessions are disconnected.

I tend to switch regularly to different countries depending on bandwith quality (it differs a lot per period with Airvpn). So my current ovpn is 3 weeks old. Will wait for now to switch again, since other users with different VPN providers face similar issues after updating to version > 2.1.1-3-02

nickglott commented 1 year ago

Same issues, TorGuard w/ wireguard fails to satrt after the update this morning. Also set UID and PGID to 0 to see if its a permissions issue with no luck. Rolling back to previous version. 2.1.1-3-02...No issues


___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/
2023-02-14 15:13:13.102631 [info] System information Linux 1f561c840bdb 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 GNU/Linux
2023-02-14 15:13:13.120064 [info] OS_ARCH defined as 'x86-64'
2023-02-14 15:13:13.137235 [info] PUID defined as '1000'
2023-02-14 15:13:13.154944 [info] PGID defined as '1000'
2023-02-14 15:13:13.179042 [info] UMASK defined as '000'
2023-02-14 15:13:13.195294 [info] Permissions already set for '/config'
2023-02-14 15:13:13.212930 [info] Deleting files in /tmp (non recursive)...
2023-02-14 15:13:13.233372 [info] VPN_ENABLED defined as 'yes'
2023-02-14 15:13:13.250975 [info] VPN_CLIENT defined as 'wireguard'
2023-02-14 15:13:13.268226 [info] VPN_PROV defined as 'custom'
2023-02-14 15:13:13.287381 [info] WireGuard config file (conf extension) is located at /config/wireguard/wg0.conf
2023-02-14 15:13:13.311332 [info] VPN_REMOTE_SERVER defined as '***.**.**.**'
2023-02-14 15:13:13.328485 [info] VPN_REMOTE_PORT defined as '1443'
2023-02-14 15:13:13.343168 [info] VPN_DEVICE_TYPE defined as 'wg0'
2023-02-14 15:13:13.357681 [info] VPN_REMOTE_PROTOCOL defined as 'udp'
2023-02-14 15:13:13.374475 [info] LAN_NETWORK defined as '10.10.10.0/24'
2023-02-14 15:13:13.391493 [info] NAME_SERVERS defined as '84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
2023-02-14 15:13:13.408256 [info] VPN_USER defined as '********'
2023-02-14 15:13:13.424718 [info] VPN_PASS defined as '***********'
2023-02-14 15:13:13.441159 [info] ENABLE_PRIVOXY defined as 'yes'
2023-02-14 15:13:13.459587 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2023-02-14 15:13:13.476430 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
146.70.50.74
strike84 commented 1 year ago

@kgb545 Ok, is your .ovpn file a few years old by any chance? Can you log into your airvpn account and go to client area-> devices,click on details on the default one, and click renew. After you have done that you'll have to download new ovpn files and log out/in of all devices you're using airvpn on. Replace the ovpn file you have for delugevpn and restart. Any difference? It might take 5 min before all your active sessions are disconnected on the airvpn site. So you might see auth errors if you're using many devices, but that'll pass once all the sessions are disconnected.

I tend to switch regularly to different countries depending on bandwith quality (it differs a lot per period with Airvpn). So my current ovpn is 3 weeks old. Will wait for now to switch again, since other users with different VPN providers face similar issues after updating to version > 2.1.1-3-02

Ok, but how many years since you downloaded the first .ovpn file? Old airvpn certs needs to be renewed due to updates in OpenVPN. It's worth a try if it's been many years since you downloaded the first ovpn file. I have it working on airvpn, and I had to renew not that long ago to be able to connect. It might be a long shot since others having the same issue, but I know for a fact that you'll have issues with airvpn if your cert is too old and you have not renewed.

nickglott commented 1 year ago

I m using Torguard VPN so differetn VPN and Wireguard so diferent protocol and still have the issue so I assume it is something else. Sadly w/o it giving more logs I don't think we can provide any other help. I am asuming it might have to do with the custom enviroment.

strike84 commented 1 year ago

I am asuming it might have to do with the custom enviroment.

Probably

binhex commented 1 year ago

for anybody up to the task can you try running bash inside of the container and then try editing the file /root/iptable-init.sh and comment out lines 141, 150, and 159 save and restart the container, see if this fixes it.

binhex commented 1 year ago

also can everybody execute the following on their hosts and paste the output

lsmod | grep ip

gniting commented 1 year ago

also can everybody execute the following on their hosts and paste the output

lsmod | grep ip

nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
snd_soc_sst_ipc        20480  1 snd_soc_skl
dm_multipath           40960  0
ipmi_devintf           20480  0
ipmi_msghandler       122880  1 ipmi_devintf
ip_tables              32768  3 iptable_filter
x_tables               53248  8 xt_conntrack,iptable_filter,nft_compat,xt_tcpudp,xt_addrtype,xt_nat,ip_tables,xt_MASQUERADE
multipath              20480  0
kgb545 commented 1 year ago

also can everybody execute the following on their hosts and paste the output

lsmod | grep ip

lsmod | grep ip
iptable_nat            16384  1
nf_nat                 49152  3 xt_nat,iptable_nat,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
iptable_filter         16384  2
ip_tables              32768  4 iptable_filter,iptable_nat
x_tables               53248  8 xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_nat,ip_tables,iptable_nat,xt_MASQUERADE
kgb545 commented 1 year ago

for anybody up to the task can you try running bash inside of the container and then try editing the file /root/iptable-init.sh and comment out lines 141, 150, and 159 save and restart the container, see if this fixes it.

When i was troubleshooting i tried to bash inside the container but that was impossible as it kept looping and restarting.

binhex commented 1 year ago

ok i think i see the issue, ive manually pushed up a new image tagged as 'test', so pull image binhex/arch-delugevpn:test let me know if it fixes the issue, i can then push to master and build latest

gniting commented 1 year ago

ok i think i see the issue, ive manually pushed up a new image tagged as 'test', so pull image binhex/arch-delugevpn:test let me know if it fixes the issue, i can then push to master and build latest

That looks better, the deluge WebUI comes up. Thanks! FYI, this new test image does not honor the DELUGE_ENABLE_WEBUI_PASSWORD=no param. WebUI still asks for the password.

binhex commented 1 year ago

ok great that the webui comes up, thats very odd though about the password prompt, that code has not been touched!.

gniting commented 1 year ago

that code has not been touched!.

🤷 Maybe it's just on my end. Hopefully someone else can test and confirm/deny my report.

FrazzIe commented 1 year ago

that code has not been touched!.

🤷 Maybe it's just on my end. Hopefully someone else can test and confirm/deny my report.

doesn't work for me when set to "no" either.

1n5aN1aC commented 1 year ago

The test tag is working for me, and the DELUGE_ENABLE_WEBUI_PASSWORD=no option appears to be working for me as well.

D34DC3N73R commented 1 year ago

I was also having trouble with PIA on a hetzner host, using :test fixes the issue for me as well.

kgb545 commented 1 year ago

ok i think i see the issue, ive manually pushed up a new image tagged as 'test', so pull image binhex/arch-delugevpn:test let me know if it fixes the issue, i can then push to master and build latest

I can also confirm that it's working for me again with the :test image! (with AirVPN)

binhex commented 1 year ago

new image now built, please switch back to tag latest and pull, or if you wish to use a fixed tag then its 2.1.1-3-05

gniting commented 1 year ago

new image now built, please switch back to tag latest and pull, or if you wish to use a fixed tag then its 2.1.1-3-05

Sorry to report this but webui does not come up with this latest image. Logs below, same behavior as before, container keeps restarting.

Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/
2023-02-15 10:17:40.468502 [info] System information Linux deluge 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 GNU/Linux
2023-02-15 10:17:40.496660 [info] OS_ARCH defined as 'x86-64'
2023-02-15 10:17:40.524151 [info] PUID defined as '1000'
2023-02-15 10:17:40.553051 [info] PGID defined as '1002'
2023-02-15 10:17:40.612673 [info] UMASK defined as '022'
2023-02-15 10:17:40.639764 [info] Permissions already set for '/config'
2023-02-15 10:17:40.668076 [info] Deleting files in /tmp (non recursive)...
2023-02-15 10:17:40.702102 [info] VPN_ENABLED defined as 'yes'
2023-02-15 10:17:40.730677 [info] VPN_CLIENT defined as 'openvpn'
2023-02-15 10:17:40.758013 [info] VPN_PROV defined as 'custom'
2023-02-15 10:17:40.789081 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/VPN-Unlimited-CA.ovpn
2023-02-15 10:17:40.842489 [warn] VPN confi
2023-02-15 10:17:40.842549                      guration file /config/openvpn/VPN-Unlimited-CA.ovpn remote port is missing or malformed, assuming port '1194'
2023-02-15 10:17:40.870285 [info] VPN remote server(s) defined as 'ca-tr.vpnunlimitedapp.com,'
2023-02-15 10:17:40.894580 [info] VPN remote port(s) defined as '1194,'
2023-02-15 10:17:40.918728 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-15 10:17:40.947563 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-15 10:17:40.975321 [info] VPN_OPTIONS defined as '--inactive 3600 --ping 10 --ping-exit 60'
2023-02-15 10:17:41.012651 [debug] DNS operational, we can resolve name 'ca-tr.vpnunlimitedapp.com' to address '184.75.213.194 162.219.176.163 184.75.213.154 104.254.92.42 162.253.131.106 104.254.90.34 204.187.100.82 104.254.90.58'
2023-02-15 10:17:41.038804 [debug] iptables kernel module available, setting policy to drop...
2023-02-15 10:17:41.066788 [debug] ip6tables kernel module available, setting policy to drop...
Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/
2023-02-15 10:18:32.685201 [info] System information Linux deluge 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 GNU/Linux
2023-02-15 10:18:32.714225 [info] OS_ARCH defined as 'x86-64'
2023-02-15 10:18:32.741641 [info] PUID defined as '1000'
2023-02-15 10:18:32.770440 [info] PGID defined as '1002'
2023-02-15 10:18:32.862038 [info] UMASK defined as '022'
2023-02-15 10:18:32.889112 [info] Permissions already set for '/config'
2023-02-15 10:18:32.917416 [info] Deleting files in /tmp (non recursive)...
2023-02-15 10:18:32.951011 [info] VPN_ENABLED defined as 'yes'
2023-02-15 10:18:32.979575 [info] VPN_CLIENT defined as 'openvpn'
2023-02-15 10:18:33.006953 [info] VPN_PROV defined as 'custom'
2023-02-15 10:18:33.038127 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/VPN-Unlimited-CA.ovpn
2023-02-15 10:18:33.092750 [warn] VPN confi
2023-02-15 10:18:33.092809                      guration file /config/openvpn/VPN-Unlimited-CA.ovpn remote port is missing or malformed, assuming port '1194'
2023-02-15 10:18:33.120376 [info] VPN remote server(s) defined as 'ca-tr.vpnunlimitedapp.com,'
2023-02-15 10:18:33.144453 [info] VPN remote port(s) defined as '1194,'
2023-02-15 10:18:33.168587 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-15 10:18:33.196977 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-15 10:18:33.224448 [info] VPN_OPTIONS defined as '--inactive 3600 --ping 10 --ping-exit 60'
2023-02-15 10:18:33.261527 [debug] DNS operational, we can resolve name 'ca-tr.vpnunlimitedapp.com' to address '184.75.213.194 162.219.176.163 184.75.213.154 104.254.92.42 162.253.131.106 104.254.90.34 204.187.100.82 104.254.90.58'
2023-02-15 10:18:33.287796 [debug] iptables kernel module available, setting policy to drop...
2023-02-15 10:18:33.315718 [debug] ip6tables kernel module available, setting policy to drop...
D34DC3N73R commented 1 year ago

Also not working for me. sha256:6d888c17b7229698e0df8b2f81a8229d214ed798f55669efacdabf9a04eb9056

SpringheeledJT commented 1 year ago

I am getting a similar issue to @gniting log output below:

Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2023-02-15 09:32:18.014612 [info] System information Linux 5e69ce075c67 5.15.0-60-generic #66~20.04.1-Ubuntu SMP Wed Jan 25 09:41:30 UTC 2023 x86_64 GNU/Linux
2023-02-15 09:32:18.064063 [info] OS_ARCH defined as 'x86-64'
2023-02-15 09:32:18.111139 [info] PUID defined as '1001'
2023-02-15 09:32:18.163018 [info] PGID defined as '998'
2023-02-15 09:32:18.222354 [info] UMASK defined as '000'
2023-02-15 09:32:18.271590 [info] Permissions already set for '/config'
2023-02-15 09:32:18.323190 [info] Deleting files in /tmp (non recursive)...
2023-02-15 09:32:18.383186 [info] VPN_ENABLED defined as 'yes'
2023-02-15 09:32:18.433010 [info] VPN_CLIENT defined as 'openvpn'
2023-02-15 09:32:18.482033 [info] VPN_PROV defined as 'pia'
2023-02-15 09:32:18.539472 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/uk_london.ovpn
2023-02-15 09:32:18.634316 [info] VPN remote server(s) defined as 'uk-london.privacy.network,'
2023-02-15 09:32:18.678570 [info] VPN remote port(s) defined as '1198,'
2023-02-15 09:32:18.726202 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-15 09:32:18.777344 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-15 09:32:18.826683 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-02-15 09:32:18.890803 [debug] DNS operational, we can resolve name 'uk-london.privacy.network' to address '191.101.209.8 181.215.176.13 191.101.209.52'
2023-02-15 09:32:18.955022 [debug] DNS operational, we can resolve name 'www.privateinternetaccess.com' to address '104.16.42.63 104.16.41.63'
2023-02-15 09:32:19.021970 [debug] DNS operational, we can resolve name 'serverlist.piaservers.net' to address '104.17.107.63 104.17.108.63'
2023-02-15 09:32:19.068844 [debug] iptables kernel module available, setting policy to drop...
2023-02-15 09:32:19.121803 [debug] ip6tables kernel module available, setting policy to drop...
Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2023-02-15 09:33:19.843896 [info] System information Linux 5e69ce075c67 5.15.0-60-generic #66~20.04.1-Ubuntu SMP Wed Jan 25 09:41:30 UTC 2023 x86_64 GNU/Linux
2023-02-15 09:33:19.892873 [info] OS_ARCH defined as 'x86-64'
2023-02-15 09:33:19.940859 [info] PUID defined as '1001'
2023-02-15 09:33:19.991878 [info] PGID defined as '998'
2023-02-15 09:33:20.050070 [info] UMASK defined as '000'
2023-02-15 09:33:20.097454 [info] Permissions already set for '/config'
2023-02-15 09:33:20.148017 [info] Deleting files in /tmp (non recursive)...
2023-02-15 09:33:20.207015 [info] VPN_ENABLED defined as 'yes'
2023-02-15 09:33:20.256829 [info] VPN_CLIENT defined as 'openvpn'
2023-02-15 09:33:20.309049 [info] VPN_PROV defined as 'pia'
2023-02-15 09:33:20.365619 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/uk_london.ovpn
2023-02-15 09:33:20.459151 [info] VPN remote server(s) defined as 'uk-london.privacy.network,'
2023-02-15 09:33:20.500896 [info] VPN remote port(s) defined as '1198,'
2023-02-15 09:33:20.544925 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-15 09:33:20.596283 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-15 09:33:20.644649 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-02-15 09:33:20.733197 [debug] DNS operational, we can resolve name 'uk-london.privacy.network' to address '191.101.209.8 191.101.209.52 181.215.176.13'
2023-02-15 09:33:20.798198 [debug] DNS operational, we can resolve name 'www.privateinternetaccess.com' to address '104.16.42.63 104.16.41.63'
2023-02-15 09:33:20.863976 [debug] DNS operational, we can resolve name 'serverlist.piaservers.net' to address '104.17.107.63 104.17.108.63'
2023-02-15 09:33:20.911026 [debug] iptables kernel module available, setting policy to drop...
2023-02-15 09:33:20.962469 [debug] ip6tables kernel module available, setting policy to drop...
binhex commented 1 year ago

Ugh! ok i see the ip6tables command is present but the kernel modules are not, i wish i wasn't debugging this blind (cannot replicate as i have ip6tables loaded).

ok new build done, this SHOULD fix it once and for all, please pull latest and let me know.

SpringheeledJT commented 1 year ago

that seems to have worked :)

gniting commented 1 year ago

ok new build done, this SHOULD fix it once and for all, please pull latest and let me know.

yep, confirming that it works now. Thanks @binhex!

kgb545 commented 1 year ago

Also can confirm that :latest image is now working for me as wel! (Airvpn)

1n5aN1aC commented 1 year ago

Working for me as well after switching to no tag! (:latest implied)

DELUGE_ENABLE_WEBUI_PASSWORD=no appears to still work also.

Thanks for your work!

binhex commented 1 year ago

@jh125486 post a new issue, oh and btw it's not a crash loop, it's an on purpose exit due to critical missing kernel module.