I’m running FreeNAS, and I have installed Plex Media Server manually into a Jail (not the plugin!).
But now plex keeps asking me to manually update it, and I have no idea how.
Google isnt any help either.
How do I manually update plexmediaserver on a FreeNAS jail (11.2) ?
Its apparently not as simple as;
service plexmediaserver stop
pkg update
pkg upgrade
service plexmediaserver start
plexmediaserver-1.13.2.5154
Name : plexmediaserver
Version : 1.13.2.5154
Installed on : Fri Aug 3 18:59:26 2018 CEST
Origin : multimedia/plexmediaserver
Architecture : FreeBSD:11:amd64
Prefix : /usr/local
Categories : multimedia
Licenses :
Maintainer : feld@FreeBSD.org
WWW : https://plex.tv
Comment : Plex Media Server component
Options :
RELAY : on
Shared Libs required:
libstdc++.so.6
libreadline.so.8
Annotations :
FreeBSD_version: 1101001
cpe : cpe:2.3:a:plex:plex_media_server:1.13.2:::::freebsd11:x64
no_provide_shlib: yes
repo_type : binary
repository : FreeBSD
Flat size : 181MiB
Description :
Plex Media Server is used to host the content and plugins that are then
streamed to Plex Media Center and Plex mobile app clients, either on the
same machine, the same local area network, or over the Internet. Content
may be transcoded by the server before it's streamed in order to reduce
bandwidth requirements, or for compatibility with the device being
streamed to.
WWW: https://plex.tv
It was hiccuping a little with the init, but as usual, a jail reboot started 'er up again.
And sure enough, now its updated itself to the latest version.
I wouldn’t use that script. It’s a hack maintained by another person, meant more for the people using the Plex plugin (vs. a regular jail), breaks often and then you’re dependent on the script maintainer to update/fix it.
I’m not clear on why you’re having so many issues, and the advice here seems overly complicated. Updating PMS in FreeBSD is as simple as a single command, exactly what depends on if you’re using packages (prebuilt binaries) or ports (you compile from source). I’d suggest starting here:
Following the official ways of updating will be far preferable to unofficial hacks.
Personally, I use ports as that’s the traditional FreeBSD way, and it’s not like PMS takes long to compile. I combine upgrading the ports tree then rebuilding PMS all in one script, but you can chain it all together in a single line at the command line.
If the official update procedure worked, I wouldn’t be here complaining about it…
The library that FreeNAS employs is apparently some kind of special snowflake.
I’m still on 1.13.8.5395 because last time I updated it, it fudged everything up.
I basically had to do a clean install to ‘update’.
I am not clear from the information you’ve provided so far what is unique about how you’ve done your setup that is giving you so much issue. I can tell you however that this isn’t an inherent issue with FreeNAS, jails, etc that makes it a “special snowflake”. I’ve rebuilt my FreeNAS jail from scratch 3-4 times now over the past 4y and each time it was smooth and straightforward. The simplified summary: create jail, download and install ports tree, install PMS from ports, rsync over my PMS data from the old jail. In FreeNAS 11.2/iocage there was new stuff w/ vnet but that info is well disseminated at this point. Upgrades are basically as simple as: portsnap fetch update; portmaster -a