Hi guys,
I today wanted to swap my pms running on my Synology NAS into Docker. I copied the Library and setup as described in the dos using bridge mode. Frankly even though the protocol says pms starting and running I cannot access it via the web interface. Port: 34200 gives the following output:
The server canceled the request.
I also setup the Claim and ADVERTISE_IP parameter…
Also I had to change only the 1900 port because it was in use. I am not planning to use DLNA at all so I don’t think that is a major problem…
I am using the container on a Synlogy for ages now. Appart from a single incident (that was more linux than Synlogy specific) sometime arround last year, i had no problem at all.
Please provide your “docker run” command or details on how you created the container.
I don’t get your point. I am quiet familiar with docker on Ubuntu CLI but used the GUI Webinterface of DSM to set it up. As i asked before is there a way to output all the settings of on container altogether?
docker inspect PlexMediaServer
[
{
"Health": {
"Status": "unhealthy",
"FailingStreak": 171,
"Log": [
{
"Start": "2018-09-22T22:35:12.95613367+02:00",
"End": "2018-09-22T22:35:13.000434291+02:00",
"ExitCode": 1,
"Output": "curl: (7) Failed to connect to localhost port 32400: Connection refused\n"
},
{
"Start": "2018-09-22T22:38:33.000676229+02:00",
"End": "2018-09-22T22:38:33.047300301+02:00",
"ExitCode": 1,
"Output": "curl: (7) Failed to connect to localhost port 32400: Connection refused\n"
},
{
"Start": "2018-09-22T22:41:53.047498234+02:00",
"End": "2018-09-22T22:41:53.095400008+02:00",
"ExitCode": 1,
"Output": "curl: (7) Failed to connect to localhost port 32400: Connection refused\n"
},
{
"Start": "2018-09-22T22:45:13.09551368+02:00",
"End": "2018-09-22T22:45:13.157560654+02:00",
"ExitCode": 1,
"Output": "curl: (7) Failed to connect to localhost port 32400: Connection refused\n"
},
{
"Start": "2018-09-22T22:48:33.157724021+02:00",
"End": "2018-09-22T22:48:33.360726076+02:00",
"ExitCode": 1,
"Output": "curl: (7) Failed to connect to localhost port 32400: Connection refused\n"
}
]
}
},
]
As I just read past it there is the log error connection refused. How come so? I still have Plex installed on my NAS but the service is stopped? Might it still interphere? Tried to set up the local port to 32401 still not reachable…
Hmm still not accessible. I read this article and set up the gid and uid for a user that has access outside of docker to the config files. Still the same error…
According the healtcheck, I would say that plex is not starting at all.
To rule out problems with the configuration, please start with an empty folder for /conf.
Once you successfully started Plex and access it, shut it down and move your configuration back.
Make sure that the folder owner of your config folder matches the UID:PID(!)
Then make sure to start that following environment variables are set:
“CHANGE_CONFIG_DIR_OWNERSHIP=true” <— this should apply ‘chown -r PLEX_UID_PLEX_GID to the config folder’,
“PLEX_CLAIM=claim-tryanotherday”, <— Hopefully with your REAL claim code
“ADVERTISE_IP=http://xyz:32400” <— with your NAS IP ofcourse; not needed if network=host is used