Plex for Mac: Version 1.78.2.3975-c5bd0cbb
PMS on Docker/Linux: Version 1.32.6.7521
I’m having an issue where Plex seems to get stuck scanning new additions to the library. Quite often (maybe approaching once a day) I’ll be unable to play any media. I have to restart my Plex container and then it continues on its merry way. I’ve tried a few things, like:
- Upgrading from Ubuntu 22
- Switching from CIFS/SMB to NFS access to my NAS
- Disabling Plex’s backups (saw someone in another thread recommend it)
- Upgrading through several versions of the Linux kernel
- Upgrading through many recent versions of PMS
- Opening up the scheduled tasks windows to ~23 hours per day, to allow everything to catch up (which it has now, after weeks of running)
This is a new(ish) build, been up for just a few months now and it’s had this issue since the very beginning.
Here’s my current setup:
Dell Optiplex 7069 Micro
i7-8700T / 64 GB RAM / 2 TB SSD / Intel NIC
Ubuntu server 23.04
Docker version 24.0.6, build ed223bc
docker-compose version 1.29.2
Hardware transcoding enabled
Plex config stored locally on SSD
Media files stored on Synology accessed via NFS mounts (same behavior on CIFS/SMB before switching to NFS)
And here’s a timeline of the most recent incident this morning, for which I have logs:
All times CDT @ Sep 26, 2023:
9:30a - noticed "Happiness (1998)" spinning in Mac Plex app -- this is usually the signal something is wrong.
9:30 - attempted playback (resume Gravity Falls S02E15) - FAILED, no immediate error (indefinite spinning)
~9:31 - restarted Plex container in Docker ("docker restart plex")
9:33 - attempted playback (resume Gravity Falls S02E15) - success
9:34 - Happiness still spinning, CMD-R in Mac Plex App to refresh, now it stopped spinning
9:35 - Attempt play of Happiness - success
9:37 - Gathered logs via Settings / Troubleshooting / Download Logs
Docker compose file:
version: "3.6"
volumes:
PLEXDATA:
name: PLEXDATA
driver_opts:
type: nfs
o: addr=10.0.1.159,nolock,soft,rw
device: :/volume1/PLEXDATA
SHARE1:
name: SHARE1
driver_opts:
type: nfs
o: addr=10.0.1.159,nolock,soft,rw
device: :/volume1/SHARE1
DX513DATA:
name: DX513DATA
driver_opts:
type: nfs
o: addr=10.0.1.159,nolock,soft,rw
device: :/volume2/DX513DATA
services:
plex:
restart: always
container_name: plex
environment:
- CHANGE_CONFIG_DIR_OWNERSHIP=true
- HOME=/config
- PLEX_CLAIM=----redacted----
- TZ=America/Chicago
- PLEX_GID=1000
- PLEX_UID=1000
hostname: plexinc-pms-docker-plexpass
network_mode: host
image: plexinc/pms-docker:plexpass
volumes:
- PLEXDATA:/PLEXDATA
- PLEXDATA:/PLEXDATA1
- PLEXDATA:/PLEXDATA2
- PLEXDATA:/PLEXDATA3
- PLEXDATA:/PLEXDATA4
- PLEXDATA:/PLEXDATA5
- DX513DATA:/DX513DATA
- SHARE1:/SHARE1
- /media/transcode:/transcode
- /media/plex-local-config:/config
devices:
- /dev/dri:/dev/dri
mem_limit: 8192M
privileged: true
Plex logs: sent via PM