Setting up a PMS on a fresh Debian installation, using docker…
Other docker containers are behaving as they should, but the PMS official build (plexinc/pms-docker
) is failing to start. The docker logs show:
—8<—
Plex Media Server first run setup complete
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 50-plex-update: executing...
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.
Starting Plex Media Server.
The last line then repeats indefinitely…
Looking at the PMS log in the config directory it shows nothing obvious to me:
Mar 13, 2018 21:49:42.738 [0x7f9dfa7fe700] INFO - Plex Media Server v1.12.0.4829-6de959918 - ubuntu docker x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT 00:00
Mar 13, 2018 21:49:42.740 [0x7f9dfa7fe700] INFO - Linux version: 4.9.0-4-amd64 (#1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23)), language: C
Mar 13, 2018 21:49:42.740 [0x7f9dfa7fe700] INFO - Processor AMD Phenom(tm) II X6 1100T Processor
Mar 13, 2018 21:49:42.740 [0x7f9dfa7fe700] INFO - /usr/lib/plexmediaserver/Plex Media Server
I have tried starting the container as both root and as a docker user (clearing out the config each time), and both behave the same.
I have tried both bridge and host networking, and both behave the same.
Clearly I am doing something wrong, but I can’t currently spot it at all - hints/ideas/pointers all welcome.
Additional system notes:
Debian 9.3: 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1
Docker package: 17.12.1~ce-0~debian
docker-compose.yaml:
version: '2'
services:
plex:
container_name: plex
image: plexinc/pms-docker
restart: unless-stopped
ports:
- 32400:32400/tcp
- 3005:3005/tcp
- 8324:8324/tcp
- 32469:32469/tcp
- 1900:1900/udp
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
environment:
- TZ=Europe/London
- PLEX_CLAIM=claim-######
- ADVERTISE_IP=http://<HostIP>:32400/
- ALLOWED_NETWORKS=192.168.0.0/16,10.0.0.0/8,172.16.0.0/12
hostname: mediaserver
volumes:
- /storage/Plex/dB:/config
- /storage/Plex/transcode:/transcode
- /storage/Plex/media:/data