Plex Jail not updating past 1.11.3.4803

Hello, I have a freenas server running Plex in a Jail, not plugin. I am running the plexpass version. It doesn’t seem to want to update past 1.11.3.4803. I logged into the jail and ran pkg update and pkg upgrade and both competed very quickly. Any suggestions? Is it possible my jail is looking in the wrong location for pkgs, I also cleared the pkg cache? Also, is jail the best way to run anymore, is a plugin or docker better? If so, what’s the best way to move to that without loss of settings or data?

Adam

What version of FreeNAS are you running and how and when was the jail created?

FreeNAS is kind of “in between” jail managers right now with Warden being deprecated and FreeNAS moving to iocage. Currently iocage is only available via CLI and warden is available via the GUI. Warden will be replaced in 11.2 when it’s released.

TurboJailer,
I am on FreeNas 11.1U5 and the jail was created on 9.X Freenas. I believe I created the jail through a gui of some sort, maybe, but it was a little while back.

Adam

That jail should be based on FreeBSD 9.3 which is no longer supported. You’re going to want to re create that using iocage so you can stay up to date. There’s several posts on the FreeNAS forum that will get you going in the right direction.

Turbo,
At this point is a jail, plugin or docker the preferred plex deployment on Freenas?

Adam

Also, what do I need to do to retain my setup and info? I have backups of my PlexDB.

Adam

So, I found out my Freenas.conf file was wrong in the /usr/local/etc/pkg/repos/. Once I updated it to the correct info, I was able to pull the current-ish version of Plex.

Adam

That’s not the correct way to do that.

What is the output of freebsd-version from the jail shell?

I have a similar problem. I have installed plexmediaserver-plexpass using pkg in my FreeNAS iocage jail (FreeBSD 11.1-RELEASE-p7) but the latest available package seems to be plexmediaserver-plexpass-1.12.1.4885.

Andreas

That’s because FreeBSD moved to quarterly updates as of 10.0. You’ll have to create a repo ovverride if you want to stay on the latest version.

In your plex jail run the following

ee /usr/local/etc/pkg/repos/FreeBSD.conf

Add the contents below save your changes and exit the editor

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}

Once you’ve done that run pkg upgrade again and it will rebuild the package databse and update your plex install.

That did the trick. Thank you very much!

Turbo, I did what you suggested, however my URL was specifying something in the section that should contain ${ABI}, and preventing upgrades. Once I changed it to “pkg+http://pkg.FreeBSD.org/${ABI}/latest” I was able to update and upgrade successfully.

I’ve updated update script to work on 11.2-RC1 build.

Check Readme for install instructions.