I removed the start.sh that I created and reinstalled the image. Currently running docker on ubuntu intel arch.
Here is the error.
adding route to local network 172.16.4.1/23 via 172.17.0.1 dev eth0
RTNETLINK answers: Operation not permitted
id: ‘plex’: no such user
/etc/openvpn/start.sh: 16: [: Illegal number:
id: ‘plex’: no such user
/etc/openvpn/start.sh: 17: [: Illegal number:
Setting owner for Folder paths to 1001:1001
chown: invalid user: ‘plex:plex’
id: ‘plex’: no such user
id: ‘plex’: no such user
Sabnzbd will run as
User name: plex
User uid:
User gid:
Sun Jul 12 15:41:45 2020 WARNING: cannot stat file '/etc/openvpn/pass.txt': No such file or directory (errno=2)
Options error: --auth-user-pass fails with '/etc/openvpn/pass.txt': No such file or directory (errno=2)
Options error: Please correct these errors.
Use --help for more information.
Can you show /home/plex/.sabnzbd, /etc/openvpn, so I can try it locally?
As mentioned in the readme, LOCAL_NETWORK should be the whole local network from where you want to be able to connect to the GUI in the browser. This network should be on the host, not a network inside Docker.
Also, the port mapping is not correct. You want to map the outside port 8800 to 8080 inside the container. Thus: 8800:8080.
Do you really want to proxy other containers which are in the IP range from 172.16.4.1 to 172.16.5.254?
Also, why is your network 172.16.4.1/23 rather than 172.16.4.0/23? Not that this makes a difference but I think you are not fully aware how IP addresses work.
Is your physical machine’s IP really 172.16.5.250 or is this the container’s IP?
Can you show me the contents of start.sh? It likely contains invalid syntax.
Is plex a valid user on the host system? Currently root owns the files in /etc/openvpn and /etc/openvpn/pass.txt is set to only be readable by its owner. However, in the container it likely tries to access it with plex and thus cannot read the file. Set the file owner for the folder /etc/openvpn and its subdirectories to plex:plex with chown -R.
My local network is 172.16.4.0/23 not .1. My mistype.
Local network has the range from 172.16.4.10-172.16.5.199 for non static IP. .200-254 for static IP.
Physical machine is at 250 and not the containers IP
That is a great question about the contents of the start.sh. I am just learning containers. Where is the start.sh? on the physical machine? or in the docker container? how do I access it? Can’t run any commands through the console (portainer) because the container is down.
plex is a user on the host system. I read that the container will use root for openvpn and the assigned user for the sabnazbd. However, it seems that it is attempting to use the plex user as root. That may be the issue…