Have been able to get the openvpn portion running, however the error is local to the sabnzbd user.
Here is the command to start the docker:
sudo docker run -d --name sabnzbdvpn -v /home/plex/.sabnzbd:/config -v /etc/openvpn:/etc/openvpn -v /etc/localtime:/etc/localtime:ro -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --device=/dev/net/tun -p 8800:8800 -e "LOCAL_NETWORK=172.16.4.1/23" -e USER_NAME=plex -e PUID=1001 -e PGID=1001 -e DOWNLOAD_DIR="/home/plex/Downloads/complete" -e INCOMPLETE_DIR="/home/plex/Downloads/incomplete" -e OPENVPN_CONFIG="torguardSF_UDP.conf" --cap-add=NET_ADMIN mumiehub/sabnzbdvpn
Here is the log:
`adding route to local network 172.16.4.1/23 via 172.17.0.1 dev eth0,
Error: Invalid prefix for given prefix length.,
Setting owner for Folder paths to 1001:1001,
,
Sabnzbd will run as
User name: plex
User uid: 1001
User gid: 1001
OPEN VPN WORKING
STARTING SABNZBD with USER
Startup script SABnzbd completed.
Wed Jul 22 09:28:57 2020 Initialization Sequence Completed
sudo: unknown user: abc
sudo: unable to initialize policy plugin`
The 'abc' user is hard coded, shouldn't this be overwritten by the plex user that is set?
Have been able to get the openvpn portion running, however the error is local to the sabnzbd user.
Here is the command to start the docker:
sudo docker run -d --name sabnzbdvpn -v /home/plex/.sabnzbd:/config -v /etc/openvpn:/etc/openvpn -v /etc/localtime:/etc/localtime:ro -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --device=/dev/net/tun -p 8800:8800 -e "LOCAL_NETWORK=172.16.4.1/23" -e USER_NAME=plex -e PUID=1001 -e PGID=1001 -e DOWNLOAD_DIR="/home/plex/Downloads/complete" -e INCOMPLETE_DIR="/home/plex/Downloads/incomplete" -e OPENVPN_CONFIG="torguardSF_UDP.conf" --cap-add=NET_ADMIN mumiehub/sabnzbdvpn
Here is the log: `adding route to local network 172.16.4.1/23 via 172.17.0.1 dev eth0, Error: Invalid prefix for given prefix length., Setting owner for Folder paths to 1001:1001, ,
Sabnzbd will run as
User name: plex User uid: 1001 User gid: 1001
OPEN VPN WORKING
STARTING SABNZBD with USER Startup script SABnzbd completed. Wed Jul 22 09:28:57 2020 Initialization Sequence Completed sudo: unknown user: abc sudo: unable to initialize policy plugin`
The 'abc' user is hard coded, shouldn't this be overwritten by the plex user that is set?