Manually updating plex freenas plugin

I run Plex on freenas and when freenas update their version, they push a latest stable plex update with their plugins. right now, my plex server version is lagging about 5 month behind the normal plex releases. what is the best recommendations: should I either wait for updates from freenas or somehoe tweak the updated by myself?

Its up to you really @eliuha, IMHO you should always try to be in the latest stable on plex.tv, but the plugin makes that a bit more complicated.

You can however “sh into the plex jail” and update using pkgng or ports, which tends to be much more up to date then the FreeNAS plugin, usually just a few days behind plex.tv if not less.

Thanks for the quick reply! can you provide a guide of something similar on how exactly to do that?

I use the PMS_updater script here: https://github.com/mstinaff/PMS_Updater

You’ll have to change the installation directory in the script if you didn’t use the pbi plugin and manually installed PMS in a jail…

2 Likes

You can use ssh or FreeNAS UI to open a shell, then you can run:
jls (to list the jails, and get the ID/name of the plex jail)
jexec ${ID} csh Just use the id you found above here. note that you might need sudo/su here.

Once inside the jail, you can just use pkgng has you would use normally on FreeBSD, a few example:
pkg info Info on installed packages
pkg install plexmediaserver Install or upgrade plexmediaserver package
pkg upgrade Upgrade all ports that have newer versions in the repository.

The posted updater script grabs a tarball from plex.tv and overrides the contents of the install folder, it doesn’t however use “pkgng” and so you have no information if the port is installed or not using the systems tools.

5 Likes

@NadoNate also offer a possible alternative, this won’t use the systems own tool (like pkg or ports) you won’t be able to run “pkg info” and see plex installed. It downloads the tarball from plex.tv and overrides the contents of the dir where the binaries are installed.

I prefer to have pkg have control and visibility of whats installed in the system, but the PMS_Updater script still does what you ask so it might indeed be you’re solution.

used pkg upgrade and then restarted the service with service plexmediaservice stop and service plexmediaservice start looks fine. thanks for help

Hello, FreeNAS 11 here, with PMS 1.13.2.5154 PW 3.53.7 version.
Freshly installed jail with the new iocage FreeNAS function.
Error loading too, random error on playing, on an Apple TV with autoupdated app or Safari on Mac OSX, Google Chrome, Firefox, on Win or Mac or Linux or Unix… like on the old standard Jail with Server Version 1.12.2.4929.
In an -inexplicable- fukrandom situation, this Plex want to stop playing MY VIDEO.
By this, I know the update isn’t necessary, I have the same identical situation in a random way

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.