Libaries missing after move from CentOS to Ubuntu Server

Hi

Just moved my Plex to a new server. Previously it was running on a CentOS 6, now its Ubuntu 19.10

I did an archive with /var/lib/plexmediaserver/ and extracted this on the new server, did a chown to plex.

After starting plex, all my settings are retained, but all my libraries are gone.

I’d rather not recreate and re-scan these. Any ideas?

Server Version#: 4.28.3
Player Version#:

I need log files to see what step(s) were missed.

Linux -> Linux rehosting is easy. It will be a trivial point.

Attached logs from new server

Plex Media Server Logs_2020-03-20_19-11-18.zip (2.3 MB)

I don’t see permission denied errors anywhere in the logs.

Did you transfer the mount points or is media unavailable?

How did you perform the transfer? cp -rp or tar ?

Hi Chuck
I used my backup script, this does:
sudo -s tar -cvjf /mnt/storage1/plexserverbackup.$(date +%F).tar.bz2 /var/lib/plexmediaserver

then moved this to the new server and did

sudo tar -xf plexserverbackup.2020-03-20.tar.bz2 -C /

then did a sudo chown plex:plex -R /var/lib/plexmediaserver

The mount points are available on the new server, but its the libs thats missing

Its actually the same server, but just replaced the SSD and reinstalled OS. Still have the old disk if needed. I can try and plug that in and do a cp instead if you think that might help?

Don’t do a cp. tar is far better.

When I do a move / clone , I keep it minimal.

cd /var/lib/plexmediaserver
sudo tar cf /path/to/saved/plex.tar ./Library

then the restore:

cd /var/lib/plexmediaserver
sudo sh
mv Library Library.unused
tar xf /path/to/saved/plex.tar
chown -R plex:plex ./Library
2 Likes

Hi Chuck

Thanks alot, that worked! :grinning:

I better look at my backup script

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