Upgrade Ubiquiti Controller Unifi4 to Unifi5 on Ubuntu Server

6 points by dguillot ↗ HN
1) Login to your local Unifi portal and make sure to make a backup (via Maintenance)

2) sudo apt remove unifi

3) sudo apt auto-remove (optional, this is to clean packages that are not in use)

4) sudo vim /etc/apt/sources.list (or use your favourite text editor)

At this point, you should see your previous one: deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

Replace the word STABLE for UNIFI5. Now it should be like this: deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti

Exit and Save

5) sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50

6) sudo apt update

7) sudo apt install unifi

Login to your local Unifi portal and you should have version 5!

1 comment

[ 2.0 ms ] story [ 15.9 ms ] thread
Between step 1 and 2, you need to SSH to your Ubuntu server before running those commands.