Unifi controller update firmware

Unifi controller update firmware DEFAULT

Views:364

Scenario
Make: Ubiquiti
Model: Ubiquiti Unifi Controller, Unifi UAP-nanoHD
Mode: CLI (Command Line Interface)
Version: 6.0.43
Description: This article contains a detailed stepwise method to upgrade the firmware of a Ubiquiti Unifi Controller. It is really important to keep the firmware of devices up-to-date and we would definitely need to upgrade the firmware of the Unifi Controller someday. Hopefully, this article will be helpful to many.

Downloading Ubiquiti Firmware

Step1:Firmware version
It is recommended to check the release notes of the firmware before the upgrade. Check the current firmware version of the controller and to which next version you would like to upgrade. The firmware version can be checked at unifi software download centre.

Step2: Configuration Backup
It is important to keep a backup of the current running-config to counter the situation if anything goes wrong and we need to revert the changes. It is recommended to keep two backups, one with only the setting and the other, settings with history. History days depends on you. Follow the steps shown below in the image.

Step3: Unifi Software Download Center
Access the Ubiquiti unifi software download centre and copy the URL of the firmware which needs to be installed on the controller. Follow the steps shown in the image below

Ubiquiti Firmware Download Center

Step4:Accept EULA
As soon as the Download option [step 2 in the above image] is clicked it will prompt you to accept the EULA as below. Accept the EULA.

Step5:Copy URL
Copy URL of the firmware which needs to upgrade as shown below. Keep the URL safe.

Firmware Upgrade On The Controller

Step6:SSHController
SSH into the controller and confirm the current file extension.

login as: root
[email protected]'s password:*********
Linux Edledge-UniFi 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jan 6 16:48:00 2021 from 10.1.4.2

[email protected]:~$ ls
cript Desktop Documents Downloads libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb Music Pictures Public Templates
unifi-5.13.32.sh unifi_sysvinit_all.deb Videos

[email protected]:~$

Step7: Downloading software
Download the software onto the controller using the command shown below.

[email protected]:~$ wget https://dl.ui.com/unifi/6.0.43/unifi_sysvinit_all.deb
https://dl.ui.com/unifi/6.0.43/unifi_sysvinit_all.deb
Resolving dl.ui.com (dl.ui.com)... 13.249.168.98
Connecting to dl.ui.com (dl.ui.com)|13.249.168.98|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 115258006 (110M) [application/x-debian-package]
Saving to: ‘unifi_sysvinit_all.deb’
unifi_sysvinit_all.deb 0%[ ] 445.97K 525KB/s
unifi_sysvinit_all.deb 1%[ ] 1.45M 1.38MB/s
.
.
.
unifi_sysvinit_all.deb 35%[====================>] 38.63M 11.0MB/s eta 10s
.
.
.
unifi_sysvinit_all.deb 100%[================================================>] 109.92M 14.5MB/s in 8.9s

Step8:Confirmation
Once the software is 100% downloaded successfully [as shown above] onto the controller, then we would need to install the downloaded software and make it as primary software to load. Follow the command shown below.

Check the software is in the controller
[email protected]:~$ ls
cript Desktop Documents Downloads libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb Music Pictures Public Templates
unifi-5.13.32.sh unifi_sysvinit_all.deb Videos

Start installting by below command 

Step9: Installing Software
When software is downloaded onto the controller and status is confirmed. Now install the image using the command shown below.

[email protected]:~$ sudo dpkg -i unifi_sysvinit_all.deb

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
.
.
.
(Reading database ... 100%
(Reading database ... 147752 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...
Previous setting (UniFi 5.13.32) is found.
.
.
.
Unpacking unifi (6.0.43-14348-1) over (5.13.32-13646-1) ...
Setting up unifi (6.0.43-14348-1) ...
Processing triggers for systemd (241-7~deb10u4) ...

Unifi controller is upgraded to new version and all set to use.

Do not forget to refer to articles in case you are having issues in accessing Unifi access points due to username and password follow the article Unifi Default Username Password to get the default details. Also, stepwise details are available to SSH into Ubiquiti Unifi Access Point.

Source: Knowledge Base, Lab, Ubiquiti

EA00048

Sours: https://edledge.com/ubquiti-unifi-controller-firmware-upgrade/

Has anyone ever had any experience upgrading the UniFi controller software for Ubiquiti APs? Currently i run version 4.7.6 and need to Upgrade to the newest 5.5.X version to be able to Adopt new APs as their base Firmware version is 3.7.X. 

I've backed up the settings for the UniFi Controller but in order to upgrade the software do i just simply install the new version and log in and do I have to import all the settings from the backup? Also while i am upgrading the Controller would the Ubiquiti APs kick everyone off or go offline, i'd assume this is something best done after hours.


Best Answer

SnoopMarkyIOM

Jalapeno

OP

It's pretty seamless to be honest with you.  Even jumping two or three update versions.  Just click update and it will do the rest.  Depending on what hardware it's on, don't panic when it reboots.  it just takes a while on slower hardware.

Take a backup just in case though.

View this "Best Answer" in the replies below »

13 Replies

· · ·

Sam Elias

Chipotle

OP

I recently upgraded my controller software. It was quick and painless. (I am running the controller software on a Linux VM)

It does not require you to restore your settings, and the APs stay up and do not disconnect the users.

You should do the firmware updates after hours though, as this reboots the APs.

0

· · ·

Sean7644

Jalapeno

OP

So then all i'd need to do is just install the newest UniFi Controller version and install/setup the program again.

1

· · ·

Matthew5502

Cayenne

OP

I will have to double check when I get home, but there should be a place in the controller where you can point to the upgrade file. Just run the upgrade, the controller will probably reboot, and you should be updated. This should have no effect on the AP's as they will just continue to run on the settings they currently have. Should also be no need to re-adopt.

Now since your controller is a major version older, I would highly recommend checking out the UBNT user forums, and verifying the information. You should not need to re-install. But again, I would use the Ubiquiti user forums to verify.

0

· · ·

Da_Schmoo

Mace

OP

Update the software - it will retain your settings.  The next time you run it you'll have the option to upgrade the firmware on your devices but you can do that whenever you wish.

0

· · ·

Bryan Doe

Mace

OP

What platform are you running the controller on?  I've never upgraded mine that far, but I just backup the config from in the controller, and then install in place.  Settings aren't lost with the upgrade, and service isn't interrupted until you decide to upgrade the firmware on the devices.

As mentioned, I'd check about jumping that far though, it's possible you need to go to an earlier 5.x first.

0

· · ·

Martin2012

Mace

OP

Use the 5.4 version, the 5.5 tree is early adopters, so likely to be less stable than the 5.4

0

· · ·

Sean7644

Jalapeno

OP

Thanks for the info on the 5.4 Version i will use that one. The platform it runs on is in Server 2008 R2.

0

· · ·

Shawn Smith (Lynx)

Poblano

OP

Make sure you check the updates blog before installing an update. One important bit in the release notes for the latest version, 5.5.20:

All APs will be reprovisioned on controller upgrade, which will cause a temporary outage for all connected users. Please make sure to do this after hours, or a time when it's okay to disconnect users for several minutes. This should not affect users upgrading from 5.3.8 or later.

Normally, you can safely update the controller software without affecting the APs - I have done this several times without interrupting users. However, as you can see above, there are exceptions pointed out in the release notes.

As others have said, upgrade the firmware for the APs after hours - they will be temporarily disconnected.

Finally, make a backup before you do anything!

1

· · ·

Sean7644

Jalapeno

OP

I will most certainly run the backup before i switch. But installing and upgrading the UniFi Controller won't make me need to readopt devices or setup any preexisting VLANS or SSID Passwords as well? I'd assume these settings would be saved under the backup.

0

· · ·

SnoopMarkyIOM

Jalapeno

OP

Best Answer

It's pretty seamless to be honest with you.  Even jumping two or three update versions.  Just click update and it will do the rest.  Depending on what hardware it's on, don't panic when it reboots.  it just takes a while on slower hardware.

Take a backup just in case though.

0

· · ·

Da_Schmoo

Mace

OP

The upgrade shouldn't change anything.  You do the backup just in case the upgrade fails and you need to do a fresh install.

0

· · ·

Sean7644

Jalapeno

OP

Perfect! I appreciate all the info guys.

0

· · ·

Angel J

Jalapeno

OP

I just upgrade from 5.2.x to 5.7.20 and the local ubiquiti guy said it was "really easy" and we went ahead without making a backup.. and the new version is starting from scratch. 

So now I have to restore the vm where the controller  was running, do a backup and then restore than on the new version. So I would say + 1 on the "make a backup of the configuration" before you start your upgrade. 

0

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Sours: https://community.spiceworks.com/topic/2027490-upgrade-update-unifi-controller-software
  1. July 28 zodiac
  2. Sprint note 9 sim unlock
  3. Condos for rent neenah wi
  4. Boxer dog black

How to upgrade UniFi device firmware via SSH


If you have a device that you've tried to set-inform from SSH, but it's not showing up for adoption in your UniFi controller, a common problem is that the device's firmware needs to be manually upgraded before it can be adopted.

There are several ways to upgrade the device firmware locally, but the easiest way is to use the "upgrade http://<link to latest firmware>" SSH command.

First, you'll need to find the latest firmware available for your specific device model on Ubiquiti's downloads page. To find your device model, you can look on the back of the device or issue the "info" command in SSH.

For this example, we will be upgrading a UAP-AC-LR. We found the firmware download page for it here:
https://www.ui.com/download/unifi/unifi-ap-ac-lr/uap-ac-lr

Under Firmware, click the download icon in the right corner of the top row to download the latest firmware version.

Click the "I Accept" button to accept the EULA.

Click the "Copy URL" button. No need to "Download File". We only need the link for the upgrade.

Now from the SSH prompt for the UAP-AC-LR, you can issue the upgrade command:

upgrade https://dl.ui.com/unifi/firmware/U7PG2/4.0.69.10871/BZ.qca956x.v4.0.69.10871.191109.0533.bin

The device should reboot with the new firmware version which you can verify with the info command. Then you should be able to set-inform from there, or set-default then set-inform if you have any problems.

Sours: https://support.hostifi.com/en/articles/3561556-how-to-upgrade-unifi-device-firmware-via-ssh
How to Manually Update UniFI Access Point Firmware via SSH

.

Firmware unifi controller update

.

How to update firmware Unifi AP-AC-LR

.

You will also be interested:

.



453 454 455 456 457