how to upgrade plex running as jail

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
Hi guys

How do I upgrade/deploy a new plex server / version.
when I'm on the jail it looks like the upgrade there actually upgrade the jail os and not the application contained or am i missing something.
G
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
awesome, thanks.
G
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
... any chance you aware of a similar update procedure for Unify controller ?

G
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
... any chance you aware of a similar update procedure for Unify controller ?
What version are you running and what version do you want to upgrade to?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
... any chance you aware of a similar update procedure for Unify controller ?

G
Are you running plugins or standard jails with a manual install?
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
Currently running :
UI 5.14.23.0
Backend 5.14.23
Buildatag_5.14.23_13880

I see current is 6.7.1
Would like it to operate like the Plex, upgrade to whatever is the newest.
I looks as if it is a Jail.
G
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
Code:
pkg install unifi6


you won' t get the very latest .. but closer than you are now :cool:

download backup before upgrading
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I see current is 6.7.1
The "unifi5" package is precisely at 5.14.23. See https://www.freshports.org/net-mgmt/unifi5/
You would need to install the "unifi6" package instead which is at 6.1.71 to get version 6. See https://www.freshports.org/net-mgmt/unifi6/

Anything you do in TrueNAS jails depends on the FreeBSD packages, not on anything released by Ubiquiti. If the FreeBSD packages are behind Ubiquiti's releases, the right person to address is the ports maintainter for that particular port, not the TrueNAS community. You can find the email address of the maintainer at the Freshports link.

HTH,
Patrick
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
would i create a new jail, or can I pkg add in the same jail ?

G
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
If you pkg install unifi6 in the current jail, it will most probably uninstall unifi5 automatically, because packages regularly have "conflicts" definitions that tell the system they cannot coexist. If your current jail is the plugin, though, I cannot tell you what that command will do. I don't use the plugins at all for precisely the reason that I want to be able to run pkg upgrade without ill side effects.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
When I upgraded to version 6 I just ran pkg delete unifi5 followed by pkg install unifi6 and everything just worked. This was in a standard jail and not a plugin.
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
... trying to remember how I installed it... somehow can't find my notes, but sure it's just a jail I build and then pkg installed it.
here it goes...
G
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
... so pkg upgrade, even though it ran did not upgrade to 6...
so here goes pkg delete unifi5 and pkg install unifi6.
G
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
... damm, page opens, but don't allow me to click on anything... need to import my backup to restore setup... :(
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
so pkg upgrade, even though it ran did not upgrade to 6
Of course not. unifi5 and unifi6 are two different packages. Possibly the Unifi documentation lists additional steps you need to perform after an upgrade from version 5 to version 6.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

georgelza

Patron
Joined
Feb 24, 2021
Messages
417

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
love how yo say of course not, as if everyone just knew that the pkg upgrade is not everything needed... if you knew... how about saying so ...

Of course not. unifi5 and unifi6 are two different packages. Possibly the Unifi documentation lists additional steps you need to perform after an upgrade from version 5 to version 6.
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
Curious... did this and when i logged in it still showed a unifi5 version number, but the dashboard changed, did not show any of my previous devices etc, and also for some reason did not allow me to click on any link.

for now I'm deleting 6 and reinstalling 5, and restoring my back (2 days old).

G

When I upgraded to version 6 I just ran pkg delete unifi5 followed by pkg install unifi6 and everything just worked. This was in a standard jail and not a plugin.
 
Top