Make sure you always do a backup before any updates, especially if you plan to upgrade your existing installation.
It is also recommend to make a backup if you are on a controller version later than 5.6.29. Once you upgrade the firmware the controller will be on 5.6.29, so if you were on something different then you'll need to reinstall it and then restore your backup.
Using a release other than the one mentioned?
If you prefer to upgrade the firmware but still wish to continue using the controller version you were previously on, make sure to create a backup of your controller prior to upgrading. Then upgrade the firmware, purge unifi, install the previous version using the .deb file, then restore your controller backup during the setup wizard. This method will avoid the need to downgrade your controller, which isn't supported.
All system customizations are removed on firmware upgrade. This would include the UniFi VoIP controller, if you have it installed. Please make sure to backup your VoIP controller configuration, and any other customizations prior to firmware upgrade.
Please pay attention to the installation instructions below. If your Cloud Key is currently running firmware versions 0.8.1 to 0.8.4 then you cannot upgrade as you usually would. Please follow the special upgrade instructions if your UCK is on a firmware version from 0.8.1 to 0.8.4. They are located below the usual instructions.
Changes since 0.8.7:
Bundle UniFi Controller 5.6.29. SeeHERE for controller release notes.
Fix an issue where /data/autobackup may not be created properly.
Enable TCP Packetization-Layer Path MTU Discovery when an ICMP black hole detected.
How to update the latest firmware:
From UniFI Controller: Settings -> Maintenance -> CHECK FOR UPDATES (in CloudKey Firmware section) -> APPLY UPDATE
From UniFi Cloud Key WebUI: Maintanance -> CHECK FOR UPDATES (in FIRMWARE section) -> UPDATE NOW.
From UniFi Cloud Key WebUI: Maintanance -> UPDATE MANUALLY. From here you can either paste the URL, or if you downloaded the binary you can select the file locally on your computer.