Skip to content

Instantly share code, notes, and snippets.

View julianauad's full-sized avatar
💭
{ ...theWord }

Julian I. Auad julianauad

💭
{ ...theWord }
View GitHub Profile
@julianauad
julianauad / how-to-restore.md
Created March 8, 2021 23:42 — forked from AmazingTurtle/how-to-restore.md
restore access to unifi controller

Restore access to a unifi controller

When you are unable to login to the unifi controller or forgot admin password, you can restore access using SSH and manipulating mongodb directly.

Warning

Do not uninstall unifi controller - most of the data is not stored in mongodb. In case you thought a mongodb backup would be sufficient, you may have fucked up already, just like me. However I managed to write this "tutorial" for anyone to not run into the same trap.

Steps