Problem solve: UniFi USG firmware upgrade failed

Problem
I upgraded the wifi equipment and replaced it with the UniFi Series products a few days ago. UniFi Controller can manage all the UniFi devices through the browser, it is very easy to use. However, I got a problem while upgrading the USG to the newer firmware.
There are several ways the upgrade the firmware:
-
Via the Controller Web UI
Upgrade by pressing “upgrade icon” (on the top right) via controller web UI. After upgrade, my “upgrade icon” is still over there… so Im going to try another way. -
Via SSH to the device
Connect to a device using an SSH, then run the following command:
upgrade http://dl.ui.com/unifi/firmware/UGW3/4.4.44.5213844/UGW3.v4.4.44.5213844.tar
However, I got the error message: ‘Upgrade image does not support the device.’

Solution
Here’s the solution, if you try out all the way that you can do it.
Modify the upgrade program in the device:
- SSH into the USG.
- Issue
sudo vi /usr/bin/ubnt-upgradecommand. - Using the down arrow scroll to line number 504. You should be able to see the progress at the bottom while you scroll down and it should say
- /usr/bin/ubnt-upgrade 504/706 71%when you reach line 504. - You need to comment the line 504. Hold
Shiftkey on the keyboard and hitikey. - Add the
#sign beforeexit 1and then hit Esc key on the keyboard. The line should look like the following:
#exit 1

6. Then hit :wq and hit enter on the keyboard.
7. Finally, wait for a while, then upgrade success.

Comments
Post a Comment