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…
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.
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.
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.
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.
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.