UniFi - Lost password and username recovery

by Ubiquiti Employee ‎03-11-2013 09:11 AM - edited ‎08-13-2013 08:39 AM (35,010 Views)


Username and / or password are not working for UniFi controller.

Possible causes / recommended actions 

  • Use MongoDB to retrieve username / password.

    1. Open the UniFI controller.
    2. Download mongoDB file and place it on your desktop.
    3. Open the mongoDB Folder
    4. Open terminal (Mac OSX) or the command prompt (Windows) then drag the "Bin" folder (from the mongoDB folder you downloaded) to your command prompt / terminal to get the path you need.

      Note: The path should look something like this: /Users/yourname/Desktop/mongodb-osx-x86_64-2.2.3/bin

    5. In terminal / command prompt, after the word "bin" type:

      /mongo --port 27117
    6.  Then type

      1. use ace
    7.  Then type


    8. It will then pull up the username and password for you.


FCC Compliance Information
For information on compliance with FCC rules and requirements, please read this: FCC Compliance Information
The articles in the knowledge base are voluntarily provided by community members, and Ubiquiti Networks makes no guarantee of the validity of this content.