No posters after server migration

Server Version#: 1.20.1.3252-a

I recently migrated my server from CentOs to Debian (copy/pasted the /var/lib/plexmediaserver files) and almost everything worked as intended. All of my watch data and custom show/movie descriptions transferred, but I have no posters at all. Refreshing metadata will pull a new version for properly named media, but I had a significant enough amount of custom stuff that I would like to avoid doing that library-wide.

I’m still kinda new to linux so I thought it might be a permissions issue but as far as I can tell that is not the case

drwxrwxr-x+ 5 plex plex 4096 Sep 14 23:39 Cache
drwxrwxr-x+ 3 plex plex 4096 Sep 14 17:13 Codecs
drwxrwxr-x+ 3 plex plex 4096 Sep 14 17:13 ‘Crash Reports’
drwxrwxr-x+ 3 plex plex 4096 Sep 14 23:38 Logs
drwxrwxr-x+ 3 plex plex 4096 Sep 14 21:51 Media
drwxrwxr-x+ 6 plex plex 4096 Sep 14 21:50 Metadata
drwxrwxr-x+ 3 plex plex 4096 Sep 14 21:07 Plug-ins
drwxrwxr-x+ 7 plex plex 4096 Sep 14 21:07 ‘Plug-in Support’
-rw-r–r-- 1 plex plex 851 Sep 14 23:38 Preferences.xml

I’m not sure if Preferences.xml needs a higher permission structure but whenever I spin plex back up it after chmoding it, it downgrades it back down.

Any help would be appreciated.

Do you still have the old server in operation?

I do not unfortunately.

drats. your copy/paste probably didn’t have time to descend the entire data trees and pick up all the files.

In the future.

Backing up:

cd /var/lib/plexmediaserver
sudo tar cf  /home/MY_USERNAME/PlexLibrary.tar ./Library

In that home directory is now a full image backup.

to restore (clone it) on the new system

cd /var/lib/plexmediaserver
sudo bash
mv Library Library.unused
tar xf /path/to/PlexLibrary.tar
chown -R plex:plex ./Library

Now you can know all files are transferred with all permissions intact.
new UID/GID assigned.

The old server can be fully decomissioned.

Your existing permissions are a mess (frankly)

cd /var/lib/plexmediaserver
sudo bash
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
systemctl restart plexmediaserver

To solve this issue, you will likely need force Refresh All Metadata and make it rescan everything,

If, due to the caches, it doesn’t.
Please download the logs and attach the ZIP file here.

It looks like you’ve set ACLs on the files – which make a mess.

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