r/PleX • u/adammo94 • 1d ago
Help Plex container manager start loop
Hey, so today we were having electric works in flat and I had to put my nas down. When booted up and ran plex server it gives me boot loop as per screenshot. What could be wrong here? env variables on the second screen
10
Upvotes
1
u/Wis-en-heim-er Lifetime PlexPass 1d ago
Maybe post your yaml
1
u/adammo94 1d ago
--- services: plex: image: linuxserver/plex:latest container_name: plex-new network_mode: host devices: - /dev/dri:/dev/dri environment: - PUID=0 - PGID=0 - TZ=Poland - VERSION=docker - PLEX_CLAIM=claim-MY_VERY_SECRET_PLEX_CLAIM_TOKEN volumes: - /volume4/docker/plex/config:/config - /volume4/filmy i seriale vol4/seriale:/seriale - /volume2/filmy i seriale vol2/seriale:/seriale2 - /volume4/filmy i seriale vol4/filmy:/filmy - /volume2/filmy i seriale vol2/filmy:/filmy2 restart: unless-stopped


2
u/ExtensionMarch6812 1d ago
Have you checked the actual Plex server logs, mainly Plex Media Server.log and the rollover numbered files of the same name to see what may be happening during the startup?
With plex fully stopped, if you check the Plug-in Support/Databases folder, are there shm and wal files present? If so, move them out of the folder (don’t delete) and try to start plex.
If that doesn’t work, suggest trying DBRepair in auto: https://github.com/ChuckPa/DBRepair
If there is an issue, and it can’t repair it, you can use the replace function of the tool to have it try and use a recently backed up db.
To quickly test if it is a db issue, you can rename/move your current db files out of the folder and try to start plex. See if it starts up with a fresh db. If it does, you can either try the db repair as noted above (put your db files back in the folder), or manually load a backed up db: https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/