Closed moshemarciano closed 6 years ago
You might be able to put it on a disk image. (Preferably ext4)
@moshemarciano did you ever find a solution to this?
I was having a similar issue except my fix involved adding an entry to UFW. Not sure if this is the ideal solution but what I did was : sudo ufw allow from <CLIENT_IP> to any port 32400
I got here by checking the ufw logs at /var/log/ufw.log
and also that I was able to proxy via ssh port 32400 on the host: ssh <USER>@<HOST_IP> -L 32400:<HOST_IP>:32400 -N
installed docker image on a centos 7 host (VirtualBox vm), with 5 other active containers (all from linuxserver, all working well and accessible from other computers on the lan), container starts, logs looks good, but web UI says connection refused and no preferences.xml file generated and no real application logs run
I tried many types of forms of the create command, one typical variant is:
Note I used UID=1000 (actual user) , when I tried with root UID=0 I got the "Starting Plex Media Server." loop endlessly in the log
Still, Plex isn't coming up. I get connection refused even while doing docker exec -i -t plex /bin/bash curl http://172.17.0.1:32400/web
or
curl http://127.0.0.1:32400/web
getting
I also tried the host IP and external IP
also netstat -l from within the container doesn't show the port 32400 as listening
ps -ef shows the server is running
UPDATE: found out that the culprit is the plex docker image and virtualbox, I setup the config and media folders to be one mounted by virtualbox from the hosting OSX machine.
turns out if I start the container with root user 0:0, it will send plex into loop of starting plex server... log lines
if I use virtualbox mounted folder it will start ok but never listen on port 32400.
I tried to fix it using chmod and even add the user to the docker group or virtualbox group, it had no affect on the filesystem for some reason.
the only way to make it work is keep the config local, in my case inside the virtualbox VM which kind of sucks backup wise, I would prefer it to be on my OSX machine filesystem too