Help! PMS is down multiple times per day!

You have a database corruption

There is evidence of running multiple instances of Plex Media Server at the same time - this could lead to corruptions and other indeterminate outcomes

Do you run Plex Media Server as a scheduled task or windows service ? May be it is running in this mode but you also have auto start on login enabled and end up with two sessions running

Logs show
One session started at

Oct 17, 2022 17:35:19.549 [6600] INFO - Plex Media Server v1.29.0.6244-819d3678c - Microsoft PC x64 - build: windows-x86 windows - GMT 02:00
Oct 17, 2022 17:35:19.551 [6600] INFO - Windows version: 10.0 (Build 19043), language da-DK
Oct 17, 2022 17:35:19.551 [6600] INFO - 4 3500 MHz processor(s): Architecture=0, Level=6, Revision=15363 Processor Identifier=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
Oct 17, 2022 17:35:19.551 [6600] INFO - Compiler is - MSVC 1929
Oct 17, 2022 17:35:19.551 [6600] DEBUG - "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"

and running all the way to

Oct 17, 2022 19:36:06.413 [7692] DEBUG - [Req#ca5] Diagnostics: Building logfile zip

and in parallel to this you had another session starting at

Oct 17, 2022 17:35:28.311 [10564] INFO - Plex Media Server v1.29.0.6244-819d3678c - Microsoft PC x64 - build: windows-x86 windows - GMT 02:00
Oct 17, 2022 17:35:28.311 [10564] INFO - Windows version: 10.0 (Build 19043), language da-DK
Oct 17, 2022 17:35:28.311 [10564] INFO - 4 3500 MHz processor(s): Architecture=0, Level=6, Revision=15363 Processor Identifier=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
Oct 17, 2022 17:35:28.311 [10564] INFO - Compiler is - MSVC 1929
Oct 17, 2022 17:35:28.311 [10564] DEBUG - "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe" 

and running in parallel to

Oct 17, 2022 19:35:45.606 [10832] DEBUG - MyPlex: Last published value didn't change, we're done.

If you do run it as a service / scheduled task, I would recommend using the solution offered here PMS as a service - General Discussions / Tips, Tricks & How-Tos - Plex Forum and when you do run it as a service - make sure the auto start on login is disabled - you can check the registry setting for it - see this post in that topic PMS as a service - #4 by sa2000

Once you resolve the multiple instances issue - then you can look into repairing the database / restoring from a backup - see Repair a Corrupted Database | Plex Support

1 Like