I've just completed moving from a plugin jail to a standard jail in FreeNAS 9.10.1.
Here is what I did:
old plugin jail name: plexmediaserver_1
new standard jail name: plex
SSH into freenas.
Code:
# Stop plugin plex:
jexec plexmediaserver_1 service plexmediaserver stop
# Backup to a tar the existing plex data inc. settings etc (note the last full stop is required) :
tar cvfzp /mnt/vol1/backup/Plex-`date \+%Y-\%m-\%d`.tar.gz -C /mnt/vol1/jails/plexmediaserver_1/var/db/plexdata/ .
This creates a file on my server named '/mnt/vol1/backup/Plex-2016-10-15.tar.gz'
Change /mnt/vol1/backup/ to where you would like the tar to be placed. Note this may take a long time, several mins, and will be a few GB in size. If you have created thumbnails for videos (plex web gui -> server -> library -> Generate xxx thumbnails) it may take a very long time to complete and will be a very large file, like 10's or 100's of GB).
I then stopped the plexmediaserver_1 plugin jail to stop me editing the wrong jail by mistake (FreeNAS web GUI -> Jails -> button at the bottom).
Now I followed post #1 instructions as follows:
Create a standard jail, call it 'plex', go to advanced and set an IP address.
Now do this:
Code:
# enter new plex jail
jexec plex
# update everything, then install plex
pkg update && pkg upgrade -y
pkg install plexmediaserver
# ensure pms starts when the jail starts.
sysrc plexmediaserver_enable=YES
echo plexmediaserver_enable="YES" >> /etc/rc.conf
# Check its working before copying over the settings:
service plexmediaserver start
# go to <ip address>:32000/web and check plex is there, if it is, proceed...
# stop plex.
service plexmediaserver stop
# leave the jail:
exit
# delete any data created in the NEW jail when we test-started plex:
rm -rf "/mnt/vol1/jails/plex/usr/local/plexdata/Plex Media Server"
# extract the tar we created eariler, as before, this may take a while:
tar xCvz /mnt/vol1/jails/plex/usr/local/plexdata/ -f /mnt/vol1/backup/Plex-2016-10-15.tar.gz
#
# Go into the Freenas web GUI and recreate any storage that is
# for the plexmediaserver_1 jail, exactly the same for the 'plex' jail.
#
# start plex:
jexec plex service plexmediaserver start
Now if you go back to <ip address>:32000/web, it should be the same as it was when installed in the plugin.
Feel free to delete the plexmediaserver_1 plugin jail when you're happy it all works, and also any storage for plexmediaserver_1 using the web gui.