Error Message "Corrupt Database - Plex Media Server was unable to open it media database"

Server Version#:
Player Version#:8.19.1

Man, I’ve been so lucky over the past few years. My PLex server has opeated as expected without error or malfunction…

Until today…

I am now receiving the mentioned error when I attempt to open Plex on my Win10 desktop. "Corrupt database – Plex Media Server was not able to open its media database.
I have two instances of the server on this PC. I assume only one is causing the issue.

I have followed the instructions on the help page without success.

Is this a known issue that I’m not seeing the forest for the trees?

Thanks in advance.

Something shut off/rebooted your PC abruptly before PMS could shut down gracefully.

Best I can offer (not a windows guy) is a mini version of my tool for windows

Grab the BAT file and run it .

It’ll do its best to repair the file structure so PMS can start.

After that, you’ll need to refresh metadata and/or scan files to put back anything lost.

This was tagged in Synology.
Removed the Synology tag

This is playing with fire.

PMS is designed for one instance per host. Multiple per host is not supported.

Thank you ChuckPa. Appreciate the help.

Hi,

Grabbed the .bat file and ran it (following your directions). When I invoke the .bat the CMD box pops up and then immediately disappears. No time to read any messages.

Is it possible to delete the second instance using Windows explorer? I expect not.

What exactly do you mean with “second instance”?
Is it a process in the Windows process explorer? Or do you mean a folder on storage volume?

I installed PMS on the local machine connected to a local DB named “ABC”. I acquired a NAS and working on advice from Plex or the NAS manufacturer I created another PMS database (tiled “XYZ”). I connected PMS & DNLA to this NAS DB instance (“XYZ”). I do not use the local instance (“ABC”) currently. Both DB use the same iTunes library and video file library.
Only one instance of PMS on the local machine experiencing the issue. Other devices (mobile and TV) attach to the NAS DB without issue.
To be clear, only one instance of PMS running on this PC. Two DBs.
Sorry for the confusion. (Still learning)

What does “local DB” mean?

I installed PMS (server and player) on a PC. Created a Database on this PC. This term differentiates the Database on the Windows PC from the DB on the NAS. Does that explain it properly?

Are you sure you actually have two Plex servers installed on one device?

It sounds like you have a server installed on Windows and another installed on the NAS

You just access both from one device

JaysPlex7,
Yes. Different platforms. Access form multiple devices. Only the PC is having issues as it was shut-down incorrectly. I believe Windows update itself.

Ok then that’s not a problem. You can run multiple servers inside your network as long as the servers are hosted on different machines

You didn’t have any success trying to run Chucks database repair tool?

What happens when you try to start the Windows server now?

You can restore a backup if this problem just started by following this guide here
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

You can attempt a manual repair if your backups are also damaged following this guide also
https://support.plex.tv/articles/repair-a-corrupted-database/

Your third option is just to completely delete the Windows server and start over from scratch. You will lose everything. Watch history, collections you’ve created, custom artwork ect…
To do that follow this guide
https://support.plex.tv/articles/201941078-uninstall-plex-media-server/

If you have your NAS set up as a mapped drive on Windows make sure you’re deleting the right one

this message pops up immediately.
image

Correct - did not have success running Chick’s tool (Thanks, BTW)

The message box pops up mentioned in the previous reply.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.