How to upgrade Unify controller 5 -> 6 on Jail.

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
Hi all

Looking for someone that's done this.

attempted pkg upgrade unifi6 .... this did report that it sees unifi5 present and will be removed, it boots into what looks like a new dashboard, but then nothing is selectable... (was thinking I can upgrade and then potentially restore a backup).

Also did a pkg delete unifi5 followed by a pkg install unifi6 ... same as above.

Advise, from someone thats done this.

G
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Try clearing your browser cache after you install unifi6.
 

georgelza

Patron
Joined
Feb 24, 2021
Messages
417
going with new Jail, same IP, fresh install and a restore of the backup.

Loosing old traffic data is not a issue for me.

G
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
delete the jail and start with a fresh 12.2 p[latest] jail with same IP and run the pkg install unifi6 and then restore from your back up. That's what I did to upgrade from unifi5 to unifi6 .. (I also took a long detour to install unifi6 from ports that also worked fine not nearly as easy)

Code:
pkg update && pkg upgrade
ee /etc/pkg/FreeBSD.conf


change "quarterly" to "latest" and then hit escape, then "a" ..and then "a" again to save


Code:
pkg install unifi6
sysrc unifi_enable=YES
service unifi start

now you can pull up your unifi controller in browser and restore from backup
Alternatively, you can upload backup file

let it go for a bit and if it doesn't come up after a couple minutes, just restart the jail and you should be good to go

I just did this as I changed to a a new "Jail" drive that is a bit bigger than the one I was using and it worked just peachy
 
Last edited:
Top