Reply
New Member
Posts: 2
Registered: ‎02-18-2017
Accepted Solution

Cloud Key 8.2 Upgrade

I can't get it to go.  SSH'd to the device and attempted to follow the instructions from the 8.7 instructions.  I can't seem to get the tools to update to "ubnt-tools is anything other than 0.9.7-1"...

 

root@UniFi-CloudKey:~# dpkg -l |grep ubnt-tools
ii ubnt-tools 0.9.5-1 armhf Tools for Ubiquiti appliances
root@UniFi-CloudKey:~# apt-get update && apt-get install --only-upgrade ubnt-tools
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:2 http://httpredir.debian.org jessie Release.gpg [2420 B]
Hit http://www.ubnt.com cloudkey-stable InRelease
Get:3 http://httpredir.debian.org jessie Release [148 kB]
Get:4 http://security.debian.org jessie/updates/main armhf Packages [472 kB]
Hit http://www.ubnt.com cloudkey-stable/ubiquiti armhf Packages
Get:5 http://security.debian.org jessie/updates/contrib armhf Packages [1138 B]
Get:6 http://security.debian.org jessie/updates/non-free armhf Packages [14 B]
Get:7 http://httpredir.debian.org jessie/main armhf Packages [6675 kB]
Get:8 http://httpredir.debian.org jessie/contrib armhf Packages [37.8 kB]
Get:9 http://httpredir.debian.org jessie/non-free armhf Packages [62.5 kB]
Fetched 7443 kB in 19s (384 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubnt-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
root@UniFi-CloudKey:~# dpkg -l |grep ubnt-tools
ii ubnt-tools 0.9.5-1 armhf Tools for Ubiquiti appliances
root@UniFi-CloudKey:~#

 

 

Firmware:  v0.8.2

Controller:  5.8.24-11016

 

I've tried just about every way to get around this, manually trying to follow the instructions for 8.7, 8.10, etc.  I've tried to manually update, tried to update through the GUI, and through SSH.  Even updated the controllers and they updated but I can't get off of 8.2...  

 

 

root@UniFi-CloudKey:~# ubnt-systool fwupdate https://dl.ubnt.com/unifi/cloudkey/firmwar e/UCK/UCK.mtk7623.v0.11.4.a7e4cad.180629.1434.bin
15324
converted 'https://dl.ubnt.com/unifi/cloudkey/firmware/UCK/UCK.mtk7623.v0.11.4.a7e4cad. 180629.1434.bin' (ANSI_X3.4-1968) -> 'https://dl.ubnt.com/unifi/cloudkey/firmware/UCK/U CK.mtk7623.v0.11.4.a7e4cad.180629.1434.bin' (UTF-8)
--2018-07-22 09:23:23-- https://dl.ubnt.com/unifi/cloudkey/firmware/UCK/UCK.mtk7623.v0 .11.4.a7e4cad.180629.1434.bin
Resolving dl.ubnt.com (dl.ubnt.com)... 54.192.91.148
Connecting to dl.ubnt.com (dl.ubnt.com)|54.192.91.148|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 351950252 (336M) [application/octet-stream]
Saving to: '/var/tmp/fwupdate.BWP6N1lz1I'

/var/tmp/fwupdate.BWP 100%[==========================>] 335.65M 1.40MB/s in 83s

2018-07-22 09:24:47 (4.05 MB/s) - '/var/tmp/fwupdate.BWP6N1lz1I' saved [351950252/35195 0252]

Firmware file: '/var/tmp/fwupdate.BWP6N1lz1I'
Firmware: UCK.mtk7623.v0.11.4.a7e4cad.180629.1434
/sbin/ubnt-systool: 221: [: /boot/fwupdate.bin: unexpected operator
Firmware ready - rebooting to update...

Broadcast message from root@UniFi-CloudKey on pts/0 (Sun 2018-07-22 09:25:28 CDT):

The system is going down for reboot NOW!

 

 

System will reboot and come up on 8.2 again...  Help please..


Accepted Solutions
Senior Member
Posts: 16,462
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Cloud Key 8.2 Upgrade

[ Edited ]

Hello @d0nsut,

 

Try to upgrade the UCK using my following method. There is a know issue with upgrading from 0.8.2 after you updated using my guide you should be able to upgrade to 0.11.4

 

You can upgrade the tools running the following commands

dpkg -l |grep ubnt-tools
apt-get update && apt-get install --only-upgrade ubnt-tools

 

Regards,

Glenn R.

______________________________________

 

1) Download the 0.8.7 firmware from here.

2) Save the file on your desktop, and rename it to fwupdate.bin

3) Open a SFTP connection to your cloudkey (Im using filezilla for this). See screenshots (File1/File2)

4) Browse to the /boot directory and drag the fwupdate.bin into the red area. See screenshots (File3/File4)

5) Reboot the cloudkey.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK

View solution in original post


All Replies
Established Member
Posts: 1,480
Registered: ‎04-22-2016
Kudos: 321
Solutions: 119

Re: Cloud Key 8.2 Upgrade

@d0nsut

Hello and welcome to the community.

 

Try this guide here

 

Regards, cempa

 

Please reward people who have helped you with kudo's and mark your thread as solved when you receive a solution to your issue.
Senior Member
Posts: 16,462
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Cloud Key 8.2 Upgrade

[ Edited ]

Hello @d0nsut,

 

Try to upgrade the UCK using my following method. There is a know issue with upgrading from 0.8.2 after you updated using my guide you should be able to upgrade to 0.11.4

 

You can upgrade the tools running the following commands

dpkg -l |grep ubnt-tools
apt-get update && apt-get install --only-upgrade ubnt-tools

 

Regards,

Glenn R.

______________________________________

 

1) Download the 0.8.7 firmware from here.

2) Save the file on your desktop, and rename it to fwupdate.bin

3) Open a SFTP connection to your cloudkey (Im using filezilla for this). See screenshots (File1/File2)

4) Browse to the /boot directory and drag the fwupdate.bin into the red area. See screenshots (File3/File4)

5) Reboot the cloudkey.

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

Re: Cloud Key 8.2 Upgrade

[ Edited ]

This fixied it!!

 ________

 

1) Download the 0.8.7 firmware from here.

2) Save the file on your desktop, and rename it to fwupdate.bin

3) Open a SFTP connection to your cloudkey (Im using filezilla for this). See screenshots (File1/File2)

4) Browse to the /boot directory and drag the fwupdate.bin into the red area. See screenshots (File3/File4)

5) Reboot the cloudkey.

 ________

 

Thank you Glen!

 

Perhaps getting the controller updated to the lastest version prevented the firmware from being upgraded?  Putting the fwupdate file in the /boot directory allowed me to finally get the firmware upgraded.  Back to normal again.  

 

One thing just for general information, in case some is using this as their solution/workaround.  After following the steps above, I couldn't log in to the cloudkey gui through my browser, this may have just been a cache issue on my browser?  I made an SSH connection and did a command line upgrade to the latest firmware version (cut and paste the line from the latest firmeware 'download release notes'.)   It worked like a charm.

 

Thanks again Glen!  

Senior Member
Posts: 16,462
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Cloud Key 8.2 Upgrade

Hello @d0nsut,

 

Awesome to hear that its resolved!

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 18
Registered: ‎07-21-2016
Kudos: 2
Solutions: 2

Re: Cloud Key 8.2 Upgrade

This fixied it for me as well. Thanks.

New Member
Posts: 1
Registered: ‎05-22-2017

Re: Cloud Key 8.2 Upgrade

Fixed it for me too. Finally....

Senior Member
Posts: 16,462
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Cloud Key 8.2 Upgrade

Hello @WANielsen and @jmulder,

 

Glad it both helped you out!

 

 

Regards,

Glenn R.

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

Re: Cloud Key 8.2 Upgrade

perfect!!

 

Thanks

Highlighted
Senior Member
Posts: 16,462
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Cloud Key 8.2 Upgrade

Hello @INTELEK,


Glad it helped you out aswell!

 


Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK
Reply