Updating Plex

csearle

Contributor
Joined
Jan 18, 2019
Messages
189
I updated from freenas to truenas today and revived a notification that there was an update for Plex, so I went to update Plex and I got an error and told me to upgrade instead how does one upgrade a Jail?
 

Attachments

  • Screen Shot 2021-04-17 at 12.05.13 PM.png
    Screen Shot 2021-04-17 at 12.05.13 PM.png
    51.6 KB · Views: 528
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Standard jail or plugin?
 

csearle

Contributor
Joined
Jan 18, 2019
Messages
189
well I went to update the plugin and the service asked if I wanted to update the jail as well
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
unless it's changed, the Plex plugin was stuck on 11.something jail version.. and you'd have to install plex manually in a 12.2 jail to be able to keep both plex and your IOCage jail up to date
 

csearle

Contributor
Joined
Jan 18, 2019
Messages
189
So basically uninstall and reinstall?
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
pretty much .. you can leave the plugin installed until you get your manual install of plex installed if you wanted to ..just designate a different IP address for it of course ..
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
unless it's changed, the Plex plugin was stuck on 11.something jail version.. and you'd have to install plex manually in a 12.2 jail to be able to keep both plex and your IOCage jail up to date

That seems odd. My Plex plugin install is at 12.1-RELEASE-p13. I think you should search the forums a bit. There have been talks about this and the iocage upgrade command
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
That seems odd. My Plex plugin install is at 12.1-RELEASE-p13. I think you should search the forums a bit. There have been talks about this and the iocage upgrade command
Brain fart on my part (Hey! That Rhymes!) . .it is 12.1 that it's stuck on.. running the iocage upgrade will say successful to 12.2, but the jail will still say 12.1
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
Brain fart on my part (Hey! That Rhymes!) . .it is 12.1 that it's stuck on.. running the iocage upgrade will say successful to 12.2, but the jail will still say 12.1

Same here. Even within Plex it says i am on 12.2-RELEASE-p6. Only TrueNAS still states it is 12.1-RELEASE-p13. Go figure.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I don't use plugins for exactly these reasons, always roll my own jails. Easy to upgrade.

What I suspect: the jail was upgraded successfully, so you are running 12.2-p6 inside the jail. You can check that with freebsd-version inside the jail.
Yet, iocage records the version in the jail's config file: /mnt/<jail pool>/iocage/<jail name>/config.json.

Probably the two are out of sync for some reason.
 

csearle

Contributor
Joined
Jan 18, 2019
Messages
189
I am currently running Release 11.3-RELEASE-p14 for my Plex plugin, however I can install another instance of Plex.. Is this because I dont have and updated Plugin or is this normal?
 

Attachments

  • Screen Shot 2021-04-20 at 6.57.55 AM.png
    Screen Shot 2021-04-20 at 6.57.55 AM.png
    103.9 KB · Views: 533

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
don't install plex via the plug ins .. do a manual install
 

csearle

Contributor
Joined
Jan 18, 2019
Messages
189
I'll have to investigate how to manually install plex, what's the difference installing plex manually?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
what's the difference installing plex manually?
You can at any time update the jails base operating system: iocage update <jailname>. And you can at any time update Plex and all related packages: pkg update; pkg upgrade.

Which to me seems to be the main cause of complaints about plugins by users. Plugins get updated when the plugin maintainer finds time to do that. The FreeBSD base system as well as the packages do much more frequently.
 

csearle

Contributor
Joined
Jan 18, 2019
Messages
189
Good enough reason
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
I don't use plugins for exactly these reasons, always roll my own jails. Easy to upgrade.

What I suspect: the jail was upgraded successfully, so you are running 12.2-p6 inside the jail. You can check that with freebsd-version inside the jail.
Yet, iocage records the version in the jail's config file: /mnt/<jail pool>/iocage/<jail name>/config.json.

Probably the two are out of sync for some reason.
Nope, both the config.json and the "freebsd-version" command show 12.1-RELEASE-p13. Beats me why Plex shows 12.2-RELEASE-p6

1619008313192.png
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Well, if Plex uses uname instead of freebsd-version, it will get the kernel version of the running system. Which is indeed 12.2-p6, the version of your TrueNAS. Did you say that you looked in Plex for the version? Maybe I overlooked that, but that's why I always insist people post all the details ...
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
Well, if Plex uses uname instead of freebsd-version, it will get the kernel version of the running system. Which is indeed 12.2-p6, the version of your TrueNAS. Did you say that you looked in Plex for the version? Maybe I overlooked that, but that's why I always insist people post all the details ...

Yes, i added a screenshot of the Plex entry in the post.
 
Top