Hello,
Unfortunately I’m not sure when it stopped working, so I can’t point exactly to what’s changed and start from there. I think I watched something over plex several weeks ago, and I’ve not used it since, but PMS was running all the time.
I have it running in docker container:
docker run --rm \ --name plex \ --network=pub_net \ --ip=192.168.1.150 \ -e TZ="Europe/London" \ -e PLEX_CLAIM="claim-QevbVzyxq44xiLKug5cW" \ -h plex \ -v /var/docker/plex/config:/config \ -v /var/docker/plex/transcode:/transcode \ -v /var/docker/shared/movies:/data/movies \ -v /var/docker/shared/music:/data/music \ plexinc/pms-docker:plexpass
When I start it, it takes some time to start (1-2 mins):
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6e3c2273c2d2 plexinc/pms-docker:plexpass "/init" 2 minutes ago Up 2 minutes (health: starting) plex
But then it shows as started normally:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6e3c2273c2d2 plexinc/pms-docker:plexpass "/init" 4 minutes ago Up 3 minutes (healthy) plex
However if I go to http://container_ip:32400/ I get “Looking for servers…” after I log on. Same happens if I visit app.plex.tv.
No errors in Library/…/Logs/PMS.log
Any ideas what might be wrong?
What is it trying to look for?
BTW, if I install ssh server and set ssh tunnel so that I could hit localhost:32400 I get XML response back:
<MediaContainer size="21" allowCameraUpload="0" allowChannelAccess="1" allowMediaDeletion="1" allowSharing="1" allowSync="0" backgroundProcessing="1" companionProxy="1" diagnostics="logs,databases,streaminglogs" eventStream="1" friendlyName="plex" hubSearch="1" itemClusters="1" livetv="5" machineIdentifier="XXX" mediaProviders="1" multiuser="1" myPlex="1" myPlexMappingState="unknown" myPlexSigninState="none" myPlexSubscription="0" photoAutoTag="1" platform="Linux" platformVersion="3.10.0-514.16.1.el7.x86_64 (#1 SMP Wed Apr 12 15:04:24 UTC 2017)" pluginHost="1" readOnlyLibraries="0" requestParametersInCookie="1" streamingBrainVersion="2" sync="1" transcoderActiveVideoSessions="0" transcoderAudio="1" transcoderLyrics="1" transcoderPhoto="1" transcoderSubtitles="1" transcoderVideo="1" transcoderVideoBitrates="64,96,208,320,720,1500,2000,3000,4000,8000,10000,12000,20000" transcoderVideoQualities="0,1,2,3,4,5,6,7,8,9,10,11,12" transcoderVideoResolutions="128,128,160,240,320,480,768,720,720,1080,1080,1080,1080" updatedAt="1514059119" updater="1" version="1.10.1.4602-f54242b6b" voiceSearch="1"><Directory count="1" key="activities" title="activities"/><Directory count="1" key="butler" title="butler"/><Directory count="1" key="channels" title="channels"/><Directory count="1" key="clients" title="clients"/><Directory count="1" key="diagnostics" title="diagnostics"/><Directory count="1" key="hubs" title="hubs"/><Directory count="1" key="library" title="library"/><Directory count="3" key="livetv" title="livetv"/><Directory count="3" key="media" title="media"/><Directory count="1" key="neighborhood" title="neighborhood"/><Directory count="1" key="playQueues" title="playQueues"/><Directory count="1" key="player" title="player"/><Directory count="1" key="playlists" title="playlists"/><Directory count="1" key="resources" title="resources"/><Directory count="1" key="search" title="search"/><Directory count="1" key="server" title="server"/><Directory count="1" key="servers" title="servers"/><Directory count="1" key="statistics" title="statistics"/><Directory count="1" key="system" title="system"/><Directory count="1" key="transcode" title="transcode"/><Directory count="1" key="updater" title="updater"/></MediaContainer>
OK, figured it out eventually. In case anyone else hits the same problem:
Last time I used plex was about a month ago, and the version that version running at the time was 1.7.x. About two weeks ago my server was restarted, so the docker container was initialised again and since I’m running plexpass version it downloaded the latest available release.
It seems that now I have to explicitly set the following:
PLEX_UID, PLEX_GID, ALLOWED_NETWORKS
I’m not sure if all are required, I suspect it was allowed_networks that was missing, but don’t want to experiment. Set all thre env vars, restarted the container (takes about 3 mins to start… had to make sure claim token is updated right before the start), and voila, all working again. Until next upgrade
Merry X-mas!
Can you provide some more details on what you did to fix this? I’m in the same boat, but having issues with docker update. Seems like you can’t set env vars with docker update.