let’s do it again.
In the how-to, i tell you to turn all the automatic Library actions OFF.
You’ll lose metadata and watch history if you didn’t do that.
Also, if media isn’t mounted in the same place, you’ll need remedy all that AFTER turning the automatic updating in Settings - Server - Library OFF
sudo sh
systemctl stop plexmediaserver
cd /var/lib/plexmediaserver
mv Library Library.unused
mkdir old-system
# mount the old `plexmediaserver` directory here
mount blah-blah/plexmediaserver ./old-system
# Now use tar to make it all fresh ( I presume you have enough space for this)
cd ./old-system
tar cf - . | (cd /var/lib/plexmediaserver ; tar xf -)
# Let that run, undisturbed, until it completes
# Now apt the ownership of the old system to this system
chown -R plex:plex ./tmp_transcoding ./Library
I assume you know how to remove the old server from Authorized Devices before starting on this host?
( Remember, the hostname is the Friendly Name unless you’ve specified otherise. It’ll be confusing keeping the old and new apart until the old instance is removed… It will be recreated when PMS starts )
systemctl start plexmediaserver
Now access it via 127.0.0.1:32400/web or the LAN IP:32400/web (same subnet)
Sign in and start adjusting media paths
If the media paths are different, you’ll need do this step now.
After all is done, you can go back and remove the Library.unused tree with sudo rm -rf /var/lib/plexmediaserver/Library.unused