Plex Server Version#: 1.13.9.5439
Web Player Version#: 4.8.3
FreeNAS Version#: FreeNAS-9.10.2-U4
Hello All, I am needing some help from the community. I have been running Plex Media Server in FreeNAS as a custom jail for a few years now. I am trying to update Plex to the latest release and that is where my problem is, I dont remember what process I used to install Plex or how to update it.
Could anyone help me in determining how I installed Plex so I can figure out how to update it?
You’ll need to upgrade FreeNAS and migrate over to iocage based jails. But its not that complicated in what matters to plex at least.
You just need to make sure to backup the “plexdata” dir, if you post the contents of “rc.conf” in the custom jail it should be easy to figure out where it is. (In recent installation its usually /usr/local/plexdata (or /usr/local/plexadata-plexpass)
Once you have that upgrade to FreeNAS most recent version; use the icoage based plugin or create a custom jail (if doing so enable vnet,bpf and dhcp).
In the custom jail you can install plex using the systems pkg install plexmediaserver cmd, then move data from backup to /usr/local/plexdata; only after this enable and start plexmediaserver.
With the plugin plexmediaserver service would already be started so you would need to shell into the jal, stop it and then move the data over.
Hi mikec_pt, thank you for your reply. I have been hesitant to update to the latest version of FreeNAS due to the fact that I dont want anything to break on the server side due to the upgrade but I guess I need to cross that bridge eventually.
Regarding the Plex update, if I browse to /usr/local/plexdata-plexpass I see two items “Plex” and “Plex Media Server”. So do I understand you correctly that I should back up the top level folder called at “/usr/local/plexdata-plexpass”? One side note, in /usr/local/ I also found an item called “plexdata-plexpass” so not sure which one I am supposed to get.
In the rc.conf file located at /etc I have the information below. So how do I tell from this how it was installed originally?
=====line 1 col 0 lines from top 1 ============================================
portmap_enable=“NO”
sshd_enable=“NO”
sendmail_enable=“NO”
sendmail_submit_enable=“NO”
sendmail_outbound_enable=“NO”
sendmail_msp_queue_enable=“NO”
hostname=“plex”
devfs_enable=“YES”
devfs_system_ruleset=“devfsrules_common”
inet6_enable=“YES”
ip6addrctl_enable=“YES”
plexmediaserver-plexpass_enable=YES
plexmediaserver_plexpass_enable=“YES”
plexmediaserver_enable=“YES”
Tbh its hard to say but you can make some assumptions based how you’re jail config looks.
Older FreeNAS versions offered a PBI format plugin that would create a jail and install pms inside (much like the new plugin system only the new one is more robust and based on iocage) regarless if you used the plugin you’d see it listed as so, the jails list will still show that jail (I think) but might mark it different somehow (honestly I would need to be looking into the UI myself to be sure as I don’t know for head how it looks)
But there’s something more important, recent PMS version are only support in FreeBSD 11.2++++ (possibility soon 11.3 and eventually 12.0)
Older FreeNAS version also don’t support “vnet”/“vimage” so you don’t have a full netwrok stack in the jails, and plex much like other apps needs that for full functionality.
there’s the change that you used a regular jail and just installed via “pkg install plexmediaserver-plexpass” but if u try to run pkg upgrade there one be any new version since they no longer build for older versions, and even if they did it would not run (at least not since 1.15.X)
Hi mikec_pt, thank you for the input about FreeBSD only supporting up to a certain version. I think that was my problem on why my pkg upgrade was not working to update anything. I have finally made the upgrade to FreeNAS 11.2 using the new iocage jail format and have Plex reinstalled now.
Now I have a new question though which I guess I should start in a new thread. Thanks again for the information on what my issues was.