ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Server 16.03: UBNT Controller Password Recovery

    Scheduled Pinned Locked Moved IT Discussion
    10 Posts 3 Posters 677 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      Okay,.. so I've used Mongo in the past.. and more recently RoboMongo. No big deal here. Not going to link all the stuff to that, since it's know, I've used it successfully and such such so on.

      So.. got the controller running this morning after fighting it (and work) last night.

      Ubuntu 16.04 VM
      UniFI 5.5.29

      Seems the written password I have is invalid.. no biggie.. yet..

      $ mongo --port 27117 --shell --quiet
      type "help" for help
      > show dbs
      ace       0.078GB
      ace_stat  0.078GB
      admin     (empty)
      local     0.078GB
      test      (empty)
      > use ace
      switched to db ace
      > db.admin.find()
      >
      

      and now what.. every document shows there should be a return here.. Ugh.. Try RoboMongo

      Installed, setup connection to the VM by IP

      But won't connect even with SSH Username/password. In the past (GASP - YOU DID WHAT) the Controller was also my desktop - so I had the full gui... this is server..

      sigh.. let the bashing begin...

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • gjacobseG
        gjacobse
        last edited by

        Tagging:

        @scottalanmiller
        @JaredBusch
        @dbeato
        @travisdh1
        @bueller

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @gjacobse
          last edited by

          @gjacobse said in Ubuntu Server 16.03: UBNT Controller Password Recovery:

          But won't connect even with SSH Username/password.

          What won't connect, SSH? How are you seeing the output?

          gjacobseG 1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato
            last edited by dbeato

            Seems like you don't have an admin on it right there. In my Ubuntu 18.04 server I needed to install the shell tools:

            sudo apt install mongodb-org-shell
            

            then I connected as you have it

            mongo --port 27117 --shell --quiet
            

            The results are below
            0_1541723066811_2018-11-08_1924.png

            gjacobseG 1 Reply Last reply Reply Quote 0
            • gjacobseG
              gjacobse @dbeato
              last edited by

              @dbeato

              sudo apt install mongodb-org-shell
              
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              mongodb-org-shell is already the newest version (2.6.12).
              mongodb-org-shell set to manually installed.
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              
              
              dbeatoD 1 Reply Last reply Reply Quote 0
              • gjacobseG
                gjacobse @scottalanmiller
                last edited by

                @scottalanmiller said in Ubuntu Server 16.03: UBNT Controller Password Recovery:

                @gjacobse said in Ubuntu Server 16.03: UBNT Controller Password Recovery:

                But won't connect even with SSH Username/password.

                What won't connect, SSH? How are you seeing the output?

                Connect via the CLI once you are connected via SSH.

                1 Reply Last reply Reply Quote 1
                • dbeatoD
                  dbeato @gjacobse
                  last edited by

                  @gjacobse said in Ubuntu Server 16.03: UBNT Controller Password Recovery:

                  @dbeato

                  sudo apt install mongodb-org-shell
                  
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  mongodb-org-shell is already the newest version (2.6.12).
                  mongodb-org-shell set to manually installed.
                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                  
                  

                  Is that your actual version UniFI 5.5.29? or 5.9.29?

                  gjacobseG 1 Reply Last reply Reply Quote 0
                  • gjacobseG
                    gjacobse @dbeato
                    last edited by

                    @dbeato said in Ubuntu Server 16.03: UBNT Controller Password Recovery:

                    @gjacobse said in Ubuntu Server 16.03: UBNT Controller Password Recovery:

                    @dbeato

                    sudo apt install mongodb-org-shell
                    
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    mongodb-org-shell is already the newest version (2.6.12).
                    mongodb-org-shell set to manually installed.
                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    
                    

                    Is that your actual version UniFI 5.5.29? or 5.9.29?

                    0_1541723619240_2018-11-08 19_33_26-UniFi SDN.png

                    1 Reply Last reply Reply Quote 1
                    • dbeatoD
                      dbeato
                      last edited by

                      Do you have a backup from the other controller? Try setting up this controller completely new and import the backup settings after setup.

                      1 Reply Last reply Reply Quote 0
                      • dbeatoD
                        dbeato
                        last edited by

                        Also for you record, this
                        https://thinkofnetwork.wordpress.com/2014/10/23/unlock-lost-ubiquiti-unifi-controller/

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post