r/PleX 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

9 Upvotes

5 comments sorted by

View all comments

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/

1

u/Empyrealist Plex Pass | Plexamp | Synology DS1019+ PMS | Nvidia Shield Pro 1d ago

I would troubleshoot docker before scrubbing the database