SQL Error: File is not a database

Server Version#:1.23.5.4841

Hi,
Brand new Plex install on a Synology unit running DSM 6 - never had Plex on it before.
Have followed the instructions for transfering an existing Plex installation. The instructions made no distinction, but the old install was on a ReadyNAS. Both old NAS and new NAS are 64bit x86 chips not Arm.

The Synology fails to run Plex, giving an error in the log.

So I followed the instructions to us an old automatic Plex database backup and delete the -shm and -wal files. Except that fails also. And an older automatic Plex database backup. And an even older one.

So, I go to run the SQLite commands to repair the database.

root@NAS:/var/packages/Plex Media Server/target# ./"Plex SQLite" "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db" "PRAGMA integrity_check"
Error: file is not a database
root@NAS:/var/packages/Plex Media Server/target# ./"Plex SQLite" "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db" ".output recover.out" ".recover"
SQL error: file is not a database

Hmm.
And so I tried it on the old automatic Plex database backup and got the same. And the same on the even older one.

So:

  • Could something else be causing it, that I’ve messed up in the transfer? Plex was a fresh install on the Synology.
  • Is it just bad luck that it transpires the OS partition on the ReadNAS was corrupt? (Or the files have got corrupted on their way out of the ReadyNAS?)

Thanks

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