It’s going to be hysterically simple:
- Replicate the
/etc/fstab
media mounts from the first on the second. - Install Plex ( plex.tv/downloads ) but don’t open it. This creates the user , services, and directory.
- Stop Plex. (fresh installs automatically start
- Go to the original system
- Stop Plex
- cd /var/lib/plexmediaserver
sudo tar cf /path/to/somewhere/PlexClone.tar ./Library
- When it finishes, take it to the new system.
- Decommission the original (delete Preferences.xml at absolute minimum)
On the new.
- Verify user
plex:plex
(or ‘other’) can read the media cd /var/lib/plexmediaserver
sudo mv Library Library.unused
-
sudo tar xf /path/to/PlexClone.tar
(the file you brought over from the original) sudo chown -R plex:plex ./Library
-
sudo rm -rf Library.unused
(you don’t need it now)
If you’ve got all the mounts and permissions correct,
sudo systemctl start plexmediaserver
It will spin up and resume as if nothing ever happened.