Error reinstalling after database corruption

Server Version: any (Synology default ot latest from Plex)

DSM 7.2.2

Hi all. I’d appreciate some help. I’m a long-term user of Plex media server on DSM. Yesterday I got a corruption on the Plex database on one particular video library. I followed the suggested steps via SQLite but the intergrity check failed as it was unable to write to the database - I tried from an admin user and the plex user with the same result.

After much angst, I decided to reinstall the server. The first attempt (normal install) seemed to discover my corrupted database so added the corrupt library on install. I then went for a complete wipe install and first get a mult-language popup : “system internal user PlexMediaServer cannot write to the shared folder PlexMedia Server”. The server tries to run but won’t load.

I cannot see a /Volume1/PlexMediaServer folder or a /var/packages/PlexMediaServer folder on the NAS when using ssh.

DSM’s control panel (shared folders) however shows a PlexMediaServer folder and a Plex folder. If I click on edit for either I get a message that the volume where the share is located does not support ACL.

How do I recover this please?

Thanks for your help.

I would try using GitHub - ChuckPa/DBRepair: Database repair utility for Plex Media Server databases and see if that can fix your issue,

Thanks I will look at this

Guys, thanks for taking the time to view this. I appear to have fixed it with a bit of sideways thinking which I’m sharing.

Deleting the PlexMediaServer and Plex shared folders allow the server to run. However, when I add the libray that as corrupt, it adds a corrupt librray which as bizarre.

My brainwave was to completely delete the Plex server and do a full install but renaming the server at the first step. Then it all springs back into life. I’m left with a greyed out old server showing under “more” on the menu which I’m ignoring until I rebuild the libraries.

Perhaps some sort of Plex bug?

Thanks agan!

https://app.plex.tv/desktop/#!/settings/devices/pms

look at the list of servers on your account.

delete the instance you just removed. (look at the timestamps)

( Plex.tv doesn’t know you deleted the server – so the apps don’t know. You have to manually remove ‘dead’ server instances )

Thanks. That’s really helpful.