08-10-2018 09:12 AM - edited 08-10-2018 09:20 AM
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/22.214.171.12437/BZ.qca956x.v126.96.36.19937.180317.1235.bin -o /tmp/fwupdate.bin"
"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.
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.
08-10-2018 09:38 AM
08-10-2018 10:59 AM
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.
08-10-2018 11:49 AM - edited 08-10-2018 01:49 PM
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.
08-10-2018 12:01 PM - edited 08-10-2018 12:28 PM
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.
08-10-2018 12:54 PM
08-10-2018 01:47 PM
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.