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

    How to install the Ubiquiti UniFi Controller on Debian 9.1

    IT Discussion
    unifi unifi controller ubnt ubiquiti install guide debian 9.1
    13
    73
    22.3k
    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.
    • J
      JaredBusch @bigbear
      last edited by

      @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

      Was just getting ready to do this tonight as I bought a second USG today I am about to install today in my house. The other one is at a business.

      Can you just spin Deb9 up on Vultr from the default machines? I am assuming a $5 VM?

      For the multi-tenancy are there special steps or do you just setup separate "networks"

      The Controller itself is designed around multiple separate networks. You add them as sites.

      1 Reply Last reply Reply Quote 0
      • B
        bigbear
        last edited by

        @JaredBusch seeing that now. Just cant get the thing to adopt to cloud gateway. Maybe really old firmware?

        1 Reply Last reply Reply Quote 0
        • B
          bigbear
          last edited by

          Trying to update the thing with sudo so and then upgrade - firmwarelink and it says upgrade is an invalid command?

          J 1 Reply Last reply Reply Quote 0
          • J
            JaredBusch @bigbear
            last edited by

            @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

            Trying to update the thing with sudo so and then upgrade - firmwarelink and it says upgrade is an invalid command?

            You have a USG? It had to be adopted to a controller already. Or is this a new USG? One of the things I hate about the USG is initial adoption sucks balls.

            B 1 Reply Last reply Reply Quote 0
            • B
              bigbear @JaredBusch
              last edited by

              @jaredbusch said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

              @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

              Trying to update the thing with sudo so and then upgrade - firmwarelink and it says upgrade is an invalid command?

              You have a USG? It had to be adopted to a controller already. Or is this a new USG? One of the things I hate about the USG is initial adoption sucks balls.

              Got a new USG, the other site I setup I ended up giving up and deploying on a local machine. Setup a cloud Unifi controller, updated the new USG firmware, tried to set inform URL - just not showing up on the remote cloud controller at all. Not showing up in the apps either (chrome and ios app)

              J 1 Reply Last reply Reply Quote 0
              • J
                JaredBusch @bigbear
                last edited by JaredBusch

                @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                @jaredbusch said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                Trying to update the thing with sudo so and then upgrade - firmwarelink and it says upgrade is an invalid command?

                You have a USG? It had to be adopted to a controller already. Or is this a new USG? One of the things I hate about the USG is initial adoption sucks balls.

                Got a new USG, the other site I setup I ended up giving up and deploying on a local machine. Setup a cloud Unifi controller, updated the new USG firmware, tried to set inform URL - just not showing up on the remote cloud controller at all. Not showing up in the apps either (chrome and ios app)

                Weird, you did all the right things. Never had a problem with set-inform. Just feel it is a pain in the ass.

                B 1 Reply Last reply Reply Quote 0
                • B
                  bigbear @JaredBusch
                  last edited by bigbear

                  @jaredbusch said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                  @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                  @jaredbusch said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                  @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                  Trying to update the thing with sudo so and then upgrade - firmwarelink and it says upgrade is an invalid command?

                  You have a USG? It had to be adopted to a controller already. Or is this a new USG? One of the things I hate about the USG is initial adoption sucks balls.

                  Got a new USG, the other site I setup I ended up giving up and deploying on a local machine. Setup a cloud Unifi controller, updated the new USG firmware, tried to set inform URL - just not showing up on the remote cloud controller at all. Not showing up in the apps either (chrome and ios app)

                  Weird, you did all the right things. Never had a problem with set-inform. Just feel it is a pain in the ass.

                  Ironically what just worked, in an instant was setting the inform-url for SSH. Showed up instantly...

                  1 Reply Last reply Reply Quote 0
                  • B
                    bigbear
                    last edited by

                    well, At least its "adopting".. fingers crossed

                    1 Reply Last reply Reply Quote 0
                    • B
                      bigbear
                      last edited by

                      In SSH, I went back and did a set-inform again (as the first time it gave this feedback below) then in about 10 seconds it started provisioning...

                      So maybe that is the best way to hard set it?

                      Adoption request sent to 'http://x.x.x.x:8080/inform'.

                      1. please adopt it on the controller
                      2. issue the set-inform command again
                      3. <inform_url> will be saved after device is successfully managed
                      J 1 Reply Last reply Reply Quote 1
                      • J
                        JaredBusch @bigbear
                        last edited by

                        @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                        In SSH, I went back and did a set-inform again (as the first time it gave this feedback below) then in about 10 seconds it started provisioning...

                        So maybe that is the best way to hard set it?

                        Adoption request sent to 'http://x.x.x.x:8080/inform'.

                        1. please adopt it on the controller
                        2. issue the set-inform command again
                        3. <inform_url> will be saved after device is successfully managed

                        This is always how I do it with any UniFi device that needs manually pointed to the controller.

                        1 Reply Last reply Reply Quote 1
                        • B
                          bigbear
                          last edited by

                          Now that the controller has taken over I lost my second WAN port. Christ...

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            JaredBusch @bigbear
                            last edited by

                            @bigbear said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                            Now that the controller has taken over I lost my second WAN port. Christ...

                            Dual WAN? I would never even attempt to use a USG in that scenario. Not even sure it can.

                            1 Reply Last reply Reply Quote 0
                            • B
                              bigbear
                              last edited by

                              Second LAN port, typo...

                              I was using the lan/wan as a second port and once provisioning USG decided it would be disabled.

                              1 Reply Last reply Reply Quote 0
                              • hobbit666H
                                hobbit666
                                last edited by

                                When I run this command

                                apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
                                

                                I get this message:-

                                Executing: /tmp/apt-key-gpghome.8Iu0CA5dVp/gpg.1.sh --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
                                gpg: keyserver receive failed: No keyserver available
                                1 Reply Last reply Reply Quote 0
                                • hobbit666H
                                  hobbit666
                                  last edited by

                                  Maybe should add installing on Debian9 (followed Jared's guide) on internal VM internally.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JaredBusch @hobbit666
                                    last edited by

                                    @hobbit666 said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                                    Maybe should add installing on Debian9 (followed Jared's guide) on internal VM internally.

                                    Did you run this as root or use sudo?

                                    hobbit666H 2 Replies Last reply Reply Quote 0
                                    • hobbit666H
                                      hobbit666 @JaredBusch
                                      last edited by

                                      @jaredbusch ur yes lol.

                                      1 Reply Last reply Reply Quote 0
                                      • hobbit666H
                                        hobbit666 @JaredBusch
                                        last edited by

                                        @jaredbusch
                                        SSH into my server via putty. Logged in as the user unifi01 when at the prompt did the

                                        su -
                                        

                                        ran all the commands above but had the error on the key import.

                                        I'll try running direct on the VM console.

                                        hobbit666H 1 Reply Last reply Reply Quote 0
                                        • hobbit666H
                                          hobbit666 @hobbit666
                                          last edited by

                                          Still the same on console

                                          J 2 Replies Last reply Reply Quote 0
                                          • J
                                            JaredBusch @hobbit666
                                            last edited by

                                            @hobbit666 said in How to install the Ubiquiti UniFi Controller on Debian 9.1:

                                            Still the same on console

                                            Very odd as it works jsut fine for me even with sudo.

                                            jbusch@deb9-demo:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
                                            [sudo] password for jbusch: 
                                            Executing: /tmp/apt-key-gpghome.DyMKqzXPlf/gpg.1.sh --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
                                            gpg: key 06E85760C0A52C50: "UniFi Developers <unifi-dev@ubnt.com>" not changed
                                            gpg: Total number processed: 1
                                            gpg:              unchanged: 1
                                            jbusch@deb9-demo:~$ 
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post