Reply
New Member
Posts: 4
Registered: Friday

Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

[ Edited ]

My devices are UniFi AP-AC-LR (not upgrading), and UniFi AP-LR (these upgrade from the UI to 3.9.27)

 

I have upgraded my controller but I can not get the Firmware to upgrade. Clicking upgrade from the UI doesn't work, upgrading directly from an SSH session doesn't work.  Custom Upgrade doesn't work. I read that I might need 3.9.27 to go to 3.9.42, but I can't even get 3.9.27 to install. With the either console command:

"curl http://dl.ubnt.com/unifi/firmware/U7PG2/3.9.27.8537/BZ.qca956x.v3.9.27.8537.180317.1235.bin -o /tmp/fwupdate.bin"

I get

"Failed to connect to dl.ubnt.com port 80: Connection timed out"

and if I change the link to https then it says port 443 timed out. The link works in a browser to let me download the firmware file.

or

"upgrade http://dl.ubnt.com/unifi/firmware/U7PG2/3.9.27.8537/BZ.qca956x.v3.9.27.8537.180317.1235.bin"

I get "send custom event" and the UI says failed upgrade.

 

I have attempted to go to the interim revision on both controller versions. When I tried to install controller 5.7.23 it said I couldn't downgrade because 5.8.24 was already installed (version found).

 

Really pulling out my hair on this one. Read through the 3.9.42 release thread and tried the majority of things people said they had to do to get the firmware upgraded. A compatibility matrix would be really helpful when it comes to upgrade processes and procedures.

Ubiquiti Employee
Posts: 381
Registered: ‎02-13-2018
Kudos: 115
Solutions: 64

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

Do you have an IP gateway and working DNS settings on this AP? Are you blocking either of those ports upstream on your firewall?
New Member
Posts: 4
Registered: Friday

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

Direct updates have worked before, and I can go to those links from my browser and other servers so the firewall is not blocking them. My Cisco ASA doesn't have rules blocking ports 80 or 443.

 

In Alerts I have "upgrade failed: download failed (error: curl:7, http:000)" for every devices I've tried it on.

Highlighted
Ubiquiti Employee
Posts: 381
Registered: ‎02-13-2018
Kudos: 115
Solutions: 64

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

[ Edited ]

If youre not able to get it to download directly you may want to SCP the binary file over to a directory on the AP and name it fwupdate.bin. From there use "syswrapper.sh upgrade2 &" and if the file was named correctly it should upgrade.

 

Edit: The .bin file should go in the /tmp/ directory on the device. 

New Member
Posts: 4
Registered: Friday

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

[ Edited ]

Can it be in the root directory, or should I put it into cfg?

 

Edit: I put the fwupdate.bin file in the root directory, ran your command, the device instantly disapeared and never came back. Tried to do a reset on the WAP itself, not coming back.

Ubiquiti Employee
Posts: 381
Registered: ‎02-13-2018
Kudos: 115
Solutions: 64

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

It is supposed to go in the /tmp/ directory. I should have specified above. If it's still not coming back you may have to TFTP recover the AP.

https://help.ubnt.com/hc/en-us/articles/204910124-UniFi-TFTP-Recovery-for-Bricked-Access-Points
New Member
Posts: 4
Registered: Friday

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

Left it off for awhile and did a reset, the AP came back. I ended up putting all the devices on a different network to manage them and now I have been able to update them all.

Ubiquiti Employee
Posts: 381
Registered: ‎02-13-2018
Kudos: 115
Solutions: 64

Re: Can not upgrade. Controller 5.6.22/5.8.24, Firmware 3.9.19.8123

Good to see that I didn't cause you too much of an issue then. Thanks for your patience.
Reply