Closed fireantz closed 3 years ago
i cannot replicate this issue im afraid. can you stop the container and delete all files and folders except /config/openvpn and then start the container.
I removed the docker, deleted the config folder and started from scratch again with the same result. I did get binhex-delugevpn working without issue.
ok check your file permissions, you can force a chmod by stopping the container and deleting the file /config/perms.txt and then starting the container.
just to confirm this container is set to start privileged, right?.
I have the same exact error on my QNAP machine.
2020-07-03 20:40:59.017072 [info] System information Linux eabd56d3ae2a 4.2.8 #1 SMP Fri May 29 07:32:35 CST 2020 x86_64 GNU/Linux
2020-07-03 20:40:59.057473 [info] OS_ARCH defined as 'x86-64'
2020-07-03 20:40:59.097266 [warn] PUID not defined (via -e PUID), defaulting to '99'
2020-07-03 20:40:59.214246 [warn] PGID not defined (via -e PGID), defaulting to '100'
2020-07-03 20:40:59.477572 [warn] UMASK not defined (via -e UMASK), defaulting to '000'
2020-07-03 20:40:59.525258 [info] Setting permissions recursively on volume mappings...
2020-07-03 20:40:59.575139 [info] VPN_ENABLED defined as 'no'
2020-07-03 20:40:59.611340 [warn] !!IMPORTANT!! VPN IS SET TO DISABLED', YOU WILL NOT BE SECURE
2020-07-03 20:40:59.652620 [warn] ENABLE_AUTODL_IRSSI not defined (via -e ENABLE_AUTODL_IRSSI), defaulting to 'no'
2020-07-03 20:40:59.689203 [warn] ENABLE_RPC2 not defined (via -e ENABLE_RPC2), defaulting to 'yes'
2020-07-03 20:40:59.733708 [warn] ENABLE_RPC2_AUTH not defined (via -e ENABLE_RPC2_AUTH), defaulting to 'yes'
2020-07-03 20:40:59.771263 [warn] RPC2_USER not defined (via -e RPC2_USER), defaulting to 'admin'
/usr/local/bin/init.sh: line 346: /config/nginx/security/rpc2_pass: No such file or directory
Directly downloaded from DockerHub and it doesn't seem to matter that the container is privileged or not.
--
EDIT: After fiddling for a bit, I found out that this problem is solved if I manually define a password within the RPC2_PASS and WEBUI_PASS environment variables.
Do you have any special characters in your username or password?
/usr/local/bin/init.sh: line 346: /config/nginx/security/rpc2_pass: No such file or directory
this has been fixed, it was simply a path issue.
I am trying to get binhex-rtorrentvpn setup but after configuring everything when it tries to start I get the following error:
/usr/local/bin/init.sh:
line 346: /config/nginx/security/rpc2_pass: No such file or directoryI'm using mullvad as my VPN and I should have it configured correctly to do so (not sure if that would be the reason for the error or not)