Unifi-Video Controller password reset

Login to the database form the console (Linux)

Run the mongo db console: „mongo“

Find the admin username that was set in the database: „db.account.find().forEach(printjson)“

Set the password to „ubnt“ (bcrypt hash) in the database: „db.account.update( { username: „admin“ }, {$set: { password: „$2a$06$cJz8kbmsELt.zmoXRGFs.uJwimjClVdIfu/NCt.A.pFdQyQJpji9K“ } } )“

Login to the interface with: „admin“/“ubnt“.
Click Users, Slect the admin user.
Change the ADMIN password to a strong passphrase!! (Seriously.)