Migrate Plex Media Server Appdata to FreeNAS and don’t delete the metadata with each update
If you use PMS on Windows/Linux/Mac and want to migrate to FreeNAS’ Plugin of PMS but don’t want to delete your metadata to keep your view history and on deck, here’s a pretty simple tutorial:
Open the FreeNAS shell and:
Copy the “Plex Media Server” application data folder from your previous server to the location you just created.
Now add the storage mount to the Plex plugin jail at /media/Plex from the FreeNAS GUI and open the plexmediaserver_jail shell and:
rm -R “Plex Media Server”
ln -s /media/Plex/”Plex Media Server” .
If you moved your application data and the server isn’t starting correctly, delete the Preferences.xml file and it will bring up the setup tutorial but all your media and deck will be in tact, you can skip the tutorial, you will have to set your preferences again though.
UPDATE: If you want to setup crontab to automatically update your server, please see this forum, mstinaff created a script to update the PMS and describes to me how to setup crontab to run the updater automatically.