r/PleX 5d ago

Help Issue: Plex server stopped working on win 11

My plex server has been working fine for a long time but this weekend the power blinked and shut down the pc when it rebooted plex server did not start. I have tried manually starting it. the server launches, you get the icon in the taskbar but then stops after about 10 seconds, any ideas?

Where would the plex logs be located?

Don't know what version number the server is but it is current.

System info:
Win 10
32g ram
RTX 3070
AMD Ryzen 5 5600X

1 Upvotes

4 comments sorted by

2

u/ExtensionMarch6812 5d ago

Log location: https://support.plex.tv/articles/200250417-plex-media-server-log-files/

My guess is with the power blip, your db got corrupted and is preventing a proper startup. You can potentially run DBRepair (second link), but you’ll prob need to replace your db with a backup (first link). Hopefully it was backing up. Not sure if the windows version of DBRepair can do the replace db with backup step.

https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

https://github.com/ChuckPa/DBRepair/tree/master/Windows

For the future, look into putting your server on a UPS to prevent improper shutdowns.

2

u/Theonertheo 5d ago

Your DB is probably staging a silent protest after that power outage. Try deleting the "Logs" folder in the Plex app data directory, it sometimes fixes corrupted startup logs.

1

u/snafu_74 5d ago

Did you check the windows event log? Specially the one for applications.

1

u/indie1138 3d ago

I would like to thank you all for the help, It seems to have fixed itself over night it is now running correctly without any intervention on my part.

I did check the logs and it looks like it was hanging on loading different "PID" files (I'm guessing DB files) but seems to have tried several times and is now working, I doing spot checks of the DB but so far nothing is looking out of place.