Today I woke up and realized that a power surge a while back had taken down our Unifi controller without me realizing. I went to log in to check on firmware updates for the network only to see that I couldn't log in at all. I guess that's the benefit of hosting your controller via a CloudKey Gen 2 with a built-in on-device battery vs. on a Raspberry Pi like I do.
That said, restoring from scratch was actually super easy, given that I had regular backups. Here's the process and some additional reading that I used.
- You're running the most recent version of the Ubiquiti Unifi controller on a Raspberry Pi (or other Debian-based Linux-based environment)
- You already have your self-hosted environment set up with a static IP address, and can access it via
ssh
or through a command line interface