User Tools

Site Tools


UniFi Controller

Update EOL Cloud Key Gen 1

The Cloud Key Gen 1 doesn't get any update via web UI anymore. To keep the controller up to date and compatible with new devices the update can be performed via SSH on the command line.

apt-get install unifi


root@UniFi-CloudKey:~# apt-get install unifi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 147 MB of archives.
After this operation, 22.2 MB of additional disk space will be used.
Get:1 cloudkey-stable/ubiquiti unifi all 7.2.95-18699-1 [147 MB]
Fetched 147 MB in 2min 48s (873 kB/s)
Preconfiguring packages ...
(Reading database ... 26209 files and directories currently installed.)
Preparing to unpack .../unifi_7.2.95-18699-1_all.deb ...
Unpacking unifi (7.2.95-18699-1) over (6.5.54-16676-1) ...
Processing triggers for systemd (230-7~bpo8+2.ubnt+1) ...
Setting up unifi (7.2.95-18699-1) ...

It can take a couple of minutes for the controller to be available again. Wait 15 minutes before you take any troubleshooting/restore actions.

You probably want to reboot the system after you verified that the controller is up and running.

systemctl reboot

Change the DNS server on the Cloud Key

The Cloud Key uses systemd-resolved as DNS client. The change the DNS server, the file /etc/systemd/resolved.conf can be edited via SSH.

vim /etc/systemd/resolved.conf

Restart the service.

systemctl restart systemd-resolved

Check the status of systemd-resolved.

systemd-resolve --status
root@UniFi-CloudKey:~# systemd-resolve --status 
          DNS Server:
          DNS Domain:
          DNSSEC NTA:

Link 7 (eth0)
      Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: allow-downgrade
    DNSSEC supported: yes
          DNS Server:
hw/ubiquiti_unifi/controller.txt · Last modified: 2023-01-27 17:00 by Manuel Frei