Another Plex update - Another database corruption requiring a rebuid

Run DBRepair for Plex Media Server before updating Plex.

It will check the database for structural problems and attempt to correct any it finds.

You can also use it to restore a backup copy of the database. It checks the backups before placing them in service.

Here is an example of installing it on a Synology NAS: Updated Plex Manually, then Synology Package Center, won't run manually stops - #24 by FordGuy61.

See the README for where to install the script on a QNAP NAS.

To run it: sudo ./DBRepair.sh.

For the initial run, use STOP then AUTO.

If DBRepair finds problems it cannot fix, try REPLACE to see if a viable backup exists.

4 Likes