Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unifi Cloud Controller

    App Wishlist
    11
    28
    1537
    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.
    • MooCloud_Matt
      MooCloud_Matt last edited by

      Ubiquiti Cloud Controller is a Control System for network devices of the same brand.

      • https://help.ui.com/hc/en-us/articles/220066768-UniFi-How-to-Install-and-Update-via-APT-on-Debian-or-Ubuntu

      • It use mongodb

      Matteo. R.
      Founder and Tech-Support Manager.
      MooCloud MSP
      Swiss Managed Service Provider

      N 1 Reply Last reply Reply Quote 12
      • N
        NCKNE @MooCloud_Matt last edited by NCKNE

        @MooCloud_Matt I love the Unifi ecosystem and have used it in many (even quite large) installations. I would always recommend to keep the controller on an appliance on its own seperate from all servers (e.g. on the Cloud Key Gen2 or Dream Machine Pro) though with a spare controller hardware in stock. Just my 2 cents though. Might be useful for others to run this on cloudron. I believe there is an unofficial docker image available somewhere as I have seen it run on Synology NAS systems in Docker. This might me helpful for packaging.

        1 Reply Last reply Reply Quote 4
        • T
          Trankery last edited by

          Yes, please do this. Even if unstable, this is amazing.

          1 Reply Last reply Reply Quote 2
          • murgero
            murgero App Dev last edited by

            Am I allowed to tease a potential upcoming custom app on this????

            2a0905b3-23c2-4637-830b-7ba4b111b5a9-image.png

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~
            Matrix: @murgero:urgero.org

            BrutalBirdie 1 Reply Last reply Reply Quote 8
            • girish
              girish Staff last edited by

              @murgero Awesome šŸ™‚

              1 Reply Last reply Reply Quote 1
              • T
                tracker last edited by tracker

                If it helps dev ops getting this request going, here are some resources that automate setup and then automate updating UniFi controllers.

                https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-UniFi-Easy-Encrypt-/ccbc7530-dd61-40a7-82ec-22b17f027776

                Current Stable Release of UniFi Controller is 6.1.67

                • The related install bash script is here at https://get.glennr.nl/unifi/install/unifi-6.1.67.sh
                • The update bash script is here at https://get.glennr.nl/unifi/update/unifi-update.sh

                Notes: both the installer and the update scripts require user input and should be easy to pipe in required info.

                Have built many controllers for clients based on Debain and Ubuntu and this has been rocksolid. Features include the ablility to backup during upgrade, support for 2FA logins and installing test branch of upcoming releases.

                All the required ports are listed here at https://help.ui.com/hc/en-us/articles/218506997-UniFi-Ports-Used

                murgero 1 Reply Last reply Reply Quote 2
                • murgero
                  murgero App Dev @tracker last edited by

                  @tracker I restarted work on this - it's proving to be difficult cause the unifi installer needs it's own mongo server, plus other caveats

                  --
                  https://urgero.org
                  ~ Professional Nerd. Freelance Programmer. ~
                  Matrix: @murgero:urgero.org

                  1 Reply Last reply Reply Quote 1
                  • girish
                    girish Staff last edited by

                    @murgero as in, it cannot share mongo with other apps?

                    murgero 1 Reply Last reply Reply Quote 0
                    • murgero
                      murgero App Dev @girish last edited by

                      @girish I'm sure if I finessed the way it installs I could get it to use mongo from cloudron but as it stands right now the docker image I'm testing in uses it's own standalone install from the ubuntu repos.

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~
                      Matrix: @murgero:urgero.org

                      imc67 1 Reply Last reply Reply Quote 0
                      • imc67
                        imc67 translator @murgero last edited by

                        @murgero said in Unifi Cloud Controller:

                        @girish I'm sure if I finessed the way it installs I could get it to use mongo from cloudron but as it stands right now the docker image I'm testing in uses it's own standalone install from the ubuntu repos.

                        I'm really curious if this is already ready for an unstable Appstore version?

                        1 Reply Last reply Reply Quote 2
                        • BrutalBirdie
                          BrutalBirdie Staff @murgero last edited by

                          @murgero You still got this unstable working? I would like to take a look at it.

                          Like my work? Consider donating a beer šŸ» Cheers!

                          murgero 1 Reply Last reply Reply Quote 1
                          • murgero
                            murgero App Dev @BrutalBirdie last edited by

                            @brutalbirdie Sadly I accidently lost the source while rebuilding my computer. šŸ˜• I could rebuild it though probably

                            --
                            https://urgero.org
                            ~ Professional Nerd. Freelance Programmer. ~
                            Matrix: @murgero:urgero.org

                            1 Reply Last reply Reply Quote 1
                            • ?
                              A Former User last edited by

                              I’m curious for sure. I have. UDM pro but also I wonder if this and a more powerful small form factor machine would be a good replacement

                              nebulon MooCloud_Matt 2 Replies Last reply Reply Quote 0
                              • nebulon
                                nebulon Staff @Guest last edited by

                                @atridad I will be getting a unifi setup soon as well next to my personal Cloudron at home, so most likely I will have the need for this package as well. So if anyone still has some state of a package around, let me know and I can pick it up from there.

                                BrutalBirdie 1 Reply Last reply Reply Quote 4
                                • BrutalBirdie
                                  BrutalBirdie Staff @nebulon last edited by

                                  @nebulon same thought on my side šŸ˜„

                                  Like my work? Consider donating a beer šŸ» Cheers!

                                  1 Reply Last reply Reply Quote 0
                                  • MooCloud_Matt
                                    MooCloud_Matt @Guest last edited by

                                    @atridad
                                    UDM pro have the complete unifi os, and sadly for now there is now way to have that on other platform, that i know.

                                    And UDM pro can't be controlled by external controller, i don't know if is an updated information.

                                    We are using edge product for gateway due to those limitation.

                                    Matteo. R.
                                    Founder and Tech-Support Manager.
                                    MooCloud MSP
                                    Swiss Managed Service Provider

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hakunamatata last edited by

                                      Is packaging this app still in the works? I just ordered some Unifi APs and could use this in lieu of running the controller in a VM on my local network. Can consider sponsoring if need be.

                                      murgero 1 Reply Last reply Reply Quote 0
                                      • murgero
                                        murgero App Dev @hakunamatata last edited by

                                        @hakunamatata I was able to get it installed but stopped working on it since. I've also lost the source to my working model. I could recreate it, but I'd ask for sponsorship / donation to make it happen.

                                        --
                                        https://urgero.org
                                        ~ Professional Nerd. Freelance Programmer. ~
                                        Matrix: @murgero:urgero.org

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          hakunamatata @murgero last edited by

                                          @murgero awesome ! How much are you thinking?

                                          murgero 1 Reply Last reply Reply Quote 0
                                          • murgero
                                            murgero App Dev @hakunamatata last edited by

                                            @hakunamatata Shoot me a PM and we can discuss

                                            --
                                            https://urgero.org
                                            ~ Professional Nerd. Freelance Programmer. ~
                                            Matrix: @murgero:urgero.org

                                            nebulon 1 Reply Last reply Reply Quote 0
                                            • nebulon
                                              nebulon Staff @murgero last edited by

                                              @murgero do you have a repo, which I could start from for getting this forward? I have now gotten an Unifi AP so I can also test this then.

                                              murgero 1 Reply Last reply Reply Quote 1
                                              • murgero
                                                murgero App Dev @nebulon last edited by

                                                @nebulon Any repos I saved are in my cloudron gitlab profile. I don;t think I have the code for this one anymore.

                                                --
                                                https://urgero.org
                                                ~ Professional Nerd. Freelance Programmer. ~
                                                Matrix: @murgero:urgero.org

                                                nebulon 1 Reply Last reply Reply Quote 0
                                                • nebulon
                                                  nebulon Staff @murgero last edited by

                                                  @murgero no problem I will just start from scratch then. Do you by any chance remember how you installed the required java version? Unifi does not seem to like the openjdk from ubuntu.

                                                  murgero 1 Reply Last reply Reply Quote 0
                                                  • murgero
                                                    murgero App Dev @nebulon last edited by murgero

                                                    @nebulon You have to apt-mark hold openjdk-11-* and then just install unifi via their repository. It will grab their jre as far as I know. (RE: https://help.ui.com/hc/en-us/articles/220066768-UniFi-Network-How-to-Install-and-Update-via-APT-on-Debian-or-Ubuntu)

                                                    Once installed, disable the systemd unit files and then run manually with supervisor like we do other services.

                                                    --
                                                    https://urgero.org
                                                    ~ Professional Nerd. Freelance Programmer. ~
                                                    Matrix: @murgero:urgero.org

                                                    nebulon 1 Reply Last reply Reply Quote 0
                                                    • nebulon
                                                      nebulon Staff @murgero last edited by

                                                      @murgero hm yes, I have tried that, but this doesn't seem to do the trick. In fact the java versions it asks for are not in Ubuntu 20.04 as far as I can tell. Maybe you built the package from the previous base image.

                                                      murgero 1 Reply Last reply Reply Quote 0
                                                      • murgero
                                                        murgero App Dev @nebulon last edited by

                                                        @nebulon maybe a jre ppa is in order?

                                                        --
                                                        https://urgero.org
                                                        ~ Professional Nerd. Freelance Programmer. ~
                                                        Matrix: @murgero:urgero.org

                                                        nebulon 1 Reply Last reply Reply Quote 0
                                                        • nebulon
                                                          nebulon Staff @murgero last edited by

                                                          @murgero indeed, unfortunately I am struggling to install the oracle jre in headlessmode, due to their license approval method. I assume you probably have managed to get over this hurdle already somehow in your package, maybe you remember anything in that area?

                                                          murgero 1 Reply Last reply Reply Quote 0
                                                          • murgero
                                                            murgero App Dev @nebulon last edited by

                                                            @nebulon Thinking back, I believe I just used openjdk. I know you mentioned that Unifi didn't like the package included with ubuntu 20, can you downgrade to openjdk 10 or 8?

                                                            --
                                                            https://urgero.org
                                                            ~ Professional Nerd. Freelance Programmer. ~
                                                            Matrix: @murgero:urgero.org

                                                            1 Reply Last reply Reply Quote 1
                                                            • First post
                                                              Last post
                                                            Powered by NodeBB