Corrupt Database. Unable to recover.. or delete

Server Version#: 4.87.2

After an ungraceful shutdown of my server the database has been corrupted.

I’ve attempted to follow the repair guides and promptly given up following several errors including unique constraint failures.

So then I tried to flat out delete the databases and start from scratch…
I deleted the local app data folders and restarted, but the exact same database is still there crashing…
So I did a clean install of PMS having deleted everything I could find… and still it comes back from somewhere…

What am I missing?

Maybe you moved your Plex data folder away from its default location at some time in the past? [HowTo] An extended guide on how to move the Plex data folder on Windows

If you did, you should have the LocalAppDataPath key in your Registry, pointing to the current location.
Clean out that folder as well (while the server is shut down).

1 Like

Well blow me down… Aparently I did that at some point.

I was wondering why the databases in the appdata folder were old and there weren’t any backups…

Now I’ve just restored from an older backup… fixed

Thankyou magic ninja man :slight_smile:

1 Like

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