Scheduled maintenance: Community will be offline Monday June 17th, 1:00 AM - 6:00 AM (PT)
Reply
New Member
Posts: 22
Registered: ‎05-22-2014
Solutions: 1
Accepted Solution

UniFi AP-LR firmware upgrade failed

[ Edited ]

UniFi Controller: 5.10.23

Model: UAP-LR
Version: 3.9.54.9373

 

Firmware UniFi AP-LR, 6.76 MB, VERSION 4.0.15.9872 is cached on the server.

In the UniFi firmware directory is the file:

 

..\Ubiquiti UniFi\data\firmware\BZ2\4.0.15.9872\BZ.ar7240.v4.0.15.9872.181229.0259.bin

 

  1. AP status: CONNECTED (UPDATE REQUIRED)
  2. Click Upgrade/Confirm
  3. AP status: UPDATING (DOWNLOADING)
  4. After about 5 minutes the status changes to: DISCONNECTED (UPDATE REQUIRED)
  5. After another 5 minutes we return to: CONNECTED (UPDATE REQUIRED) with no version change.

 

 


Accepted Solutions
New Member
Posts: 22
Registered: ‎05-22-2014
Solutions: 1

Re: UniFi AP-LR firmware upgrade failed

Firmware currently cached on your UniFi Controller can be downloaded from the following URL format:

 

http://unifi.domain.local:8080/dl/firmware-cached/BZ2/4.0.15.9872/BZ.ar7240.v4.0.15.9872.181229.0259.bin

 

unifi.domain.local should be replaced by your internal controller hostname/IP.

 

Everything following "firmware-cached/" is going to be based on the local path of your cached files. In the case of a Windows UniFi Controller, your path will be similar to:

 

C:\Ubiquiti UniFi\data\firmware\...

 

@AmazedMender16 Feel free to bookmark my post so you can use it for reference in the future.

View solution in original post


All Replies
Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: UniFi AP-LR firmware upgrade failed

Hello @AustinW,

 

SSH into the UAP and manually upgrade it to 4.0.30, you can use one of the upgrade commands below.

 

curl <fimware_binary_link_location> -o /tmp/fwupdate.bin && fwupdate.real -m &
wget <fimware_binary_link_location> -O /tmp/fwupdate.bin && fwupdate.real -m &
curl <firmware_binary_link_location> -o /tmp/fwupdate.bin
syswrapper.sh upgrade2 &
wget <firmware_binary_link_location> -O /tmp/fwupdate.bin
syswrapper.sh upgrade2 &

 

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 22
Registered: ‎05-22-2014
Solutions: 1

Re: UniFi AP-LR firmware upgrade failed

[ Edited ]

@AmazedMender16 Do you by chance know what the internal URL a UniFi Controller hosts the firmware from? I've spent a great deal of time search the wikis and forums but had no luck finding an answer.

 

What I mean is I'm looking for something like:

http://unificontroller.domain.local:8443/firmware/BZ2/4.0.15.9872/BZ.ar7240.v4.0.15.9872.181229.0259...

 

I'd rather not punch APs through the proxy server just for firmware updates they should be getting from an internal source.

 

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: UniFi AP-LR firmware upgrade failed

Hello @AustinW,

 

You could use a local FTP server or cache the firmware on the controller prior to the upgrade.

Settings > Maintenance > Firmware

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 22
Registered: ‎05-22-2014
Solutions: 1

Re: UniFi AP-LR firmware upgrade failed

[ Edited ]

@AmazedMender16 What I'm asking is: what would the URL from the controller's firmware cache be?

 

Can you tell me where <firmware_binary_link_location> is assuming I have the firmware downloaded on the controller?

 

Example

Local Path:

C:\Ubiquiti UniFi\data\firmware\BZ2\4.0.15.9872\BZ.ar7240.v4.0.15.9872.181229.0259.bin

Controller hostname/Port:

http://unifi.mydomain.local:8443

 

What I want is the URL the UniFi controller hosts those firmware files from my local controller.

I would imagine something like:

http://unifi.mydomain.local:8443/data/firmware/BZ2/4.0.15.9872/BZ.ar7240.v4.0.15.9872.181229.0259.bi...

 

I know of several other ways I could do this, this would just be useful information to be available for future reference rather than jumping through hoops to setup workarounds.

 

Highlighted
Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: UniFi AP-LR firmware upgrade failed

Hello @AustinW,

 

You don’t have to do any custom URLs when the firmware is cached... just press the upgrade button..

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 22
Registered: ‎05-22-2014
Solutions: 1

Re: UniFi AP-LR firmware upgrade failed

@AmazedMender16 

Sorry if I am being unclear.

 

I just want to know how to determine the firmware URL I explained above on an internal controller.

 

If you do not know, that is fine. I will continue to try to find documentation or reverse engineer it myself.

 

I appreciate your assistance.

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: UniFi AP-LR firmware upgrade failed

[ Edited ]

Hello @AustinW,

 

Like I mentioned, cache the firmware and upgrade the devices with the UPGRADE button or use a LOCAL FTP server.

Don’t see the need for a controller URL while you can use the upgrade button after the firmware has been cached.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 22
Registered: ‎05-22-2014
Solutions: 1

Re: UniFi AP-LR firmware upgrade failed

Firmware currently cached on your UniFi Controller can be downloaded from the following URL format:

 

http://unifi.domain.local:8080/dl/firmware-cached/BZ2/4.0.15.9872/BZ.ar7240.v4.0.15.9872.181229.0259.bin

 

unifi.domain.local should be replaced by your internal controller hostname/IP.

 

Everything following "firmware-cached/" is going to be based on the local path of your cached files. In the case of a Windows UniFi Controller, your path will be similar to:

 

C:\Ubiquiti UniFi\data\firmware\...

 

@AmazedMender16 Feel free to bookmark my post so you can use it for reference in the future.

Reply