I am on windows 10.
Have the latest version of the media server. I know this because I just did a fresh download and install.
I’m getting continual errors saying the media server can not access the database because it is corrupt.
I’ve tried a repair using the install file. When that failed, I tried a full uninstall and reinstall. Still getting the same error.
Please, can someone help. We use Plex for at least a dozen hours each day so having this down is a big problem for us.
Re-installing Plex will not touch the database files so this would be why it’s still happening. If the repair didn’t work then what I would do is delete everything from the data directory and start over. Unless a Plex employee can chime in here otherwise…
Really sucks to do that though.
If I could find the darn directory I would happily do that to get this fixed. But everything I search for shows it as deleted.
I haven’t changed any of the default directory settings so it should be where it wants it to be, but I’ll be damned if I can find it.
I don’t use Windows but according to the support articles it is:
Windows
On Windows, the content is located inside of the user directory.
%LOCALAPPDATA%\Plex Media Server
Basically the same place you did the database repair assuming you did it correctly… there is a manual way to repair but it could be difficult for some people.
https://support.plex.tv/articles/repair-a-corrupted-database/
Yep, I saw that article, but it isn’t working. I have no such directory as “plug-in support”. Even after a fresh install, such a directory and necessary files don’t seem be created.
I’m at a total loss here. It seems to be installing everything into the program files (x86) directory and there is no other plex directory, hidden or otherwise, that I can find anywhere on the drive.
It’s not in Program Files. Try “This PC - Local Disk C: - Users - Your username”
You might have to show hidden files once there but I’m not completely sure as I don’t use Windows.
Well, that let me find the database files, thank you. However, even after completely deleting them, I am still getting the same error that “Plex Media Server was unable to open it’s media database” with the title of this error window being a corrupt database. I can see the media server re-creating the file when I start the server. Yet it is saying it’s own file it just created is corrupt.
WTF?
I want to scream.
Asking (please read that as “begging”) a plex employee to chime in.
Anyone that can help, either by talking me through things or even if I allow remote access, I would greatly appreciate it. Just a disabled old guy here that has come to depend on plex for his daily entertainment.
Getting late here and I need to go to bed. Will hope for good news in the morning.
That way seemed to have worked. The local app data directory was over 8 gig in size and too many files for me to remember. Not sure if that is a normal size for this or if perhaps this lead to my crash.
New install went fine. It’s loading all my libraries now. This will take some time I imagine.
This leads to a couple questions for the experts here…
- Was the size of my app data a problem?
- Is there a way to back-up my database so I don’t lose everything again and be able to restore it easily? Perhaps backups on a schedule saved to a different drive?
- Are there steps I can take to purge, compress or otherwise do maintenance on my database or data directories to help prevent problems?
Remembering I’m a lay-person here, any help would be greatly appreciated.
Thanks for the hints.
I already leave my machine on. In fact I rarely turn it off. My plex server is running on my old PC (got a new one last year) whose sole purpose is to run Plex. All my media is stored on an external 8tb hard drive that is mirrored to a duplicate in case of hard drive failure. The only time this machine is turned off or rebooted is when Windows needs a restart for updates.
I guess this means it is doing its own maintenance every night. As for the “powershell” thing, that’s greek to me. I’ll check that link you provided and see what I can learn. If it is simply a matter of duplicating the folder, I can create a batch file (yes…I’m so old I still use DOS) to copy that over to a separate drive.
Kid you not, being a disabled old guy, my TV and computer are my links to the outside world. I don’t know what I’d do without Plex.
If you can run a batch file, you can run a powershell script as well.
It is just a newer version of a batch file, really.