I installed PMS on a freebsd (freenas Jail) awhile back. Being a plex-pass holder I thought (mistakenly) that I needed to run the PlexMediaServer-PlexPass package. It’s generally been pretty good, but odd from time to time. Recently it broke in a big way and in researching I realized that plexpass is just installing the early access release and not actually giving me the extra features.
So now I would like to get back to the stable release. Do I have an options to bring over data like “watched” markers, and more importantly, what has already been DVR’d? I get that database structures and such may be ahead of the old stable.
I am about to just redo it, but figured it was worth an ask
Just update to the next “standard” release and leave it there. It doesn’t update automatically. You can check FreshPorts for what the current available version is for your platform before you update (or just pay attention when you run the pkg upgrade command and cancel if it’s a beta version still).
Yes, it does. The _plexpass release gets all the stable released plus all the beta releases. In fact, I just checked and it looks like it is now updated to the latest stable. See here. The last time I checked, only the FreeBSD 13 release was on 1.19.4.2935, the FreeBSD 11 and 12 releases were still showing 1.19.4.2865 as their releases (which is a beta version). But now they are updated, too. So I can update now like I was waiting for…
root@mittsume[~]# jexec 6 tcsh
root@plex-3:/ # service plexmediaserver_plexpass stop
Stopping plexmediaserver_plexpass.
Waiting for PIDS: 11595, 11595.
Cleaning up leftover child processes.
Waiting for PIDS: 11601 11596, 11596.
root@plex-3:/ # pkg update
Updating FreeBSD repository catalogue...
[plex-3] Fetching meta.txz: 100% 916 B 0.9kB/s 00:01
[plex-3] Fetching packagesite.txz: 100% 6 MiB 3.2MB/s 00:02
Processing entries: 100%
FreeBSD repository update completed. 31456 packages processed.
All repositories are up to date.
root@plex-3:/ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (2 candidates): 100%
Processing candidates (2 candidates): 100%
The following 2 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
ca_root_nss: 3.52 -> 3.53
plexmediaserver-plexpass: 1.19.3.2843 -> 1.19.4.2935
Number of packages to be upgraded: 2
96 MiB to be downloaded.
If you’re worried about losing a previous version that was working fine, you need to be making snapshots of the root filesystem of the jail before you update. If you had done that you could have just rolled back after you installed the update that caused your issues. Remember the words of our old friends at Dantz Development, “To go forward, you must backup”.
Pretty much what @nx6 said, however if you want you can mv to the “regualr” port.
You just need to mv the “APPLICATION SUPPORT” dir data or update rc.conf the point to the existing one.
Open a shell to the jail and post the output of: cat /etc/rc.conf | grep plex this will tell you to which dir its pointing (that’s basically where all metadata/db/logs lives)
With that I can help with moving to the regular port, its really just uninstall one/install the other and updating rc.conf
Unless you are using experimental builds (not beta) we should gracefully handle downgrades too.
I.E. (and not saying this is the case) But say you were using the new movie scanner and upgraded and existing library, you could possible have issues going back to a version that doesn’t have that new scanner; I doubt that’s the case and we usually don’t recommend doing that for prod or at least if so use new libraries not existing.
For beta’s we try our best to make then as stable as possible, but since there’s many platforms to take into account and multiple setups even in the same platforms its impossible to catch all issues, but we do try to have its as stable as possible, so that’s a bit different. The last beta on FreeBSD should actually be working fine, we did have a packaging issue recently but that’s patched in stable and beta.
Anyway for what you want, if you look into the rc.d script you’ll see there’s a few vars you can change via rc.conf:
cat /usr/local/etc/rc.d/plexmediaserver | grep "# plex"
# plexmediaserver_enable="YES"
# plexmediaserver_support_path="/usr/local/plexdata" # Plex data: logs, media metadata, settings, etc
# plexmediaserver_tmp="/var/tmp/plex" # configure tmp directory used for the transcoding process if desired
# plexmediaserver_maxplugins="6" # Maximum number of background plugin procs. May have to raise in rare cases.
On you’re local rc.conf you might have a plexmediaserver-plexpass_support_path= entry (if not it points to the default path in the rc.d.
I believe recent versions of the plugins in FreeNAS started pointing that to the jail’s “ROOT” (/), if that’s the case just rename the var in rc.conf and remove the pelxpass suffix, that would be all.