PMS not running on SYNOLOGY NAS

Thanks for running the DB Repair. The good news is that the database structure is OK. The bad news is that Plex is still not running.

There are two ways to proceed. The first option is to continue trying to repair the current installation. The second option is to completely uninstall Plex and start over as a new install.

I do not know how much info you have in the Plex server - libraries, play history, custom collections & artwork, etc.

If there is nothing to save, the easiest solution is to uninstall and start over.

If there is info you want to save, then we’ll continue trying to fix things.

List of things to check / try are below.

Let me know how things go.


Location of Media Files

Do you have any media files in the /PlexMediaServer folder? If so, move them elsewhere. Placing media files there can cause problems with Plex.

Repair /PlexMediaServer Permissions

If the file/folder permissions are incorrect, it will cause problems for Plex, possibly keeping it from running.

Try repairing the permissions. See FAQ 32: Repairing the PlexMediaServer shared folder.

The FAQ shows creating a Synology scheduled task to run the commands. You can run them from the Linux CLI if desired. Use sudo to run them as root. You can leave off the & and they will run in the foreground (easier to tell when they finish).

Test using empty database files.

This is another check of the database files. Plex will create new, empty files when it starts. If it starts OK and runs, then there is still something wrong with the db files.

  1. Stop Plex.
  2. Login to DSM. Username must have admin privileges. Using File Station, navigate to the Plex database folder: /PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Databases.
  3. Rename com.plexapp.plugins.library.db to com.plexapp.plugins.library.db.save, and com.plexapp.plugins.library.blobs.db to com.plexapp.plugins.library.blobs.db.save.
  4. Start Plex.

Plex should run and create new, empty database files.

You should be able to login via https://192.168.1.2:32400/web and reach server settings. There will not be any libraries, but Plex should run OK.

If it works, it means something is wrong with the database files.

You can then stop Plex, delete the new, empty db files, and remove the “.save” to restore the original db files.

Try backup version of the database files

Re-run the Plex DBRepair utility. Choose the replace option. It will check the backups and install the most recent.

This shouldn’t be necessary, but just trying to find a db that works.

Uninstall Plex and Start Over

Option of last resort. Media files are not touched, but Plex Media Server is completely removed.

  1. Uninstall Plex Media Server. When prompted, choose the “Erase” option (in red).
  2. Using File Station, delete any remaining files in the /PlexMediaServer folder.
  3. Check Authorized Devices and delete any Plex Media Server entries [Edit: link fixed].
  4. Re-install Plex Media Server. Use the current public or beta release.