Installing and Updating Unifi Controller on Raspberry Pi (links) + how to repair database

Brendan Berg
2 min readNov 6, 2020

I’m trying to use this blog for a purpose, and that’s as an aggregate for all of the various home automation, homelab, etc projects I’ve got on the go, and attempt to help others as needed, rather than keep all of this in various bookmarks, txt files, etc.

Because I can never remember how to update my Unifi controller that I setup on a Raspberry Pi 3B, here’s a couple of links to the ubiquiti forum tutorial I followed (it’s the same thread, and they’re consecutive posts, but oh well)

First, here’s how to install the unifi controller on a Raspberry Pi:

Second, here’s how to update the controller:

Note to self: I used Method A.

Repairing unifi controller database

I ran into some issues recently with creating manual backups (and noticed as well that my scheduled backups were being created either). I followed these instructions:

but with sudo in front of every command and it seems to have resolved my issues.

Checking for latest version of unifi controller

I’m sure there’s a better way to do this, and if you’re paying attention to the notification when you log into the controller you’ll already know the version that’s available to upgrade to, but in case you’ve disabled the notifications, or dismissed the current one, here’s a link to check on version history:

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Brendan Berg
Brendan Berg

Written by Brendan Berg

Scatterbrained homelabber with undiagnosed ADHD, who dabbles in lots of things but isn't very good at any of them.

No responses yet

Write a response