Server Version#: 1.18.2.2058
Player Version#: Android 7.24.3.13840
Plex Media Server running in CentOS 8 Docker, official plexinc/pms-docker image
Media streamed from Android Plex App to Google Chromecast Ultra over insecure connection
Docker-compose config
version: "3"
volumes:
video:
driver: local
driver_opts:
type: nfs
o: addr=storage,vers=4.1,rw,nolock,async
device: ":/mnt/mainpool/export/Shared/Video"
config_plex:
driver: local
driver_opts:
type: nfs
o: addr=storage,vers=4.1,rw,async
device: ":/mnt/mainpool/vmdata/configuration/plex"
networks:
internal:
internal: "true"
services:
plex:
image: plexinc/pms-docker:latest
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- config_plex:/config:cached
- video:/media
- /tmp:/transcode/Transcode/Sessions # tmpfs
- "/tmp:/config/Library/Application Support/Plex Media Server/Codecs" # tmpfs
environment:
- CHANGE_CONFIG_DIR_OWNERSHIP=false
ports:
- 32400:32400/tcp # Media Server
- 3005:3005/tcp # Plex Companion
- 32410:32410/udp # GDM discovery: needed for plex cross discovery
- 32412-32414:32412-32414/udp # GDM discovery
networks:
- default
- internal
Issue:
There is this weird (semi-?) sporadic issue after playback where the plex media server sometimes goes unavailable for all devides, and after waiting for a few minutes everything seems back to normal.
It is not 100% of the time, and I feel like it might be occurring less frequently when I let next episode load automatically. This issue also does not seem to occur for some time right after the container is started up initially/or restarted.
Problem also happened a ton more when I was initially scanning libraries and downloading metadata. Server was basically unreachable for most of their duration.
Symptoms:
- Videos play in full, but when next episode is selected “content unavailable” is seen frequently
- Server recovers in less than 5 minutes, but during this duration all media seems unavailable
- No crash indication in docker logs
Background:
Recently I moved my media server to new platform as part of hardware upgrades (CentOS 7 -> 8, local mounted volumes -> nfs mounted volumes).
I had similar problem early on in the old system, but it was caused by incorrect ports being open. That should not be a problem here at least by configuration now.
I have been thinking this is an issue somehow related to the nfs volumes, and I’ve moved parts of config data back and forth, and adjusted the nfs server settings to see if something in particular would sort the issue, but no luck.
Parts of the config I have not yet moved to local storage are ‘Media’ and ‘Metadata’, as I would like to keep those on persistent storage independent of the container host…
Any suggestions what might be causing this behavior?