I had to wipe my main media server which is running Ubuntu Server 22.04. In preparation I made a rsync copy of my boot drive. I have restored everything but my plex database. No matter what I do it doesn’t seem to help. I have copied it back over many times. I’ve made sure the permissions were correct… I’ve tried booting up plex before and after the copy. The guides say that all I need to do is move the files to the right place, but all I can assume is something didn’t get backed up. That or it had something to do with setting the privileges to 777, but I set them back to 755 before booting it up again. Any help would be appreciated
It appears that it copied everything BUT the contents of /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/ which appears to be empty
I presume you have finally minimally copied com.plexapp.plugins.library.db and com.plexapp.plugins.library.blobs.db back into "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases"
Confirm database status:
sudo bash
systemctl stop plexmediaserver <-- make certain but pretty sure it still is down
cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases"
"/usr/lib/plexmediaserver/Plex SQLite com.plexapp.plugins.library.db" 'PRAGMA integrity_check(1)'
"/usr/lib/plexmediaserver/Plex SQLite com.plexapp.plugins.library.blobs.db" 'PRAGMA integrity_check(1)'
If the databases are intact, each check will report “ok” as it exits.
Presuming they are, I want all the permissions set to standard