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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. UniFi Network Server (was Unifi Cloud Controller)

UniFi Network Server (was Unifi Cloud Controller)

Scheduled Pinned Locked Moved App Wishlist
37 Posts 15 Posters 7.1k Views 15 Watching
  • 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.
  • murgeroM murgero

    @hakunamatata Shoot me a PM and we can discuss

    nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #21

    @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.

    murgeroM 1 Reply Last reply
    1
    • nebulonN nebulon

      @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.

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by
      #22

      @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. ~

      nebulonN 1 Reply Last reply
      0
      • murgeroM murgero

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

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #23

        @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.

        murgeroM 1 Reply Last reply
        0
        • nebulonN nebulon

          @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.

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by murgero
          #24

          @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. ~

          nebulonN 1 Reply Last reply
          0
          • murgeroM 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.

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #25

            @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.

            murgeroM 1 Reply Last reply
            0
            • nebulonN nebulon

              @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.

              murgeroM Offline
              murgeroM Offline
              murgero
              App Dev
              wrote on last edited by
              #26

              @nebulon maybe a jre ppa is in order?

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

              nebulonN 1 Reply Last reply
              0
              • murgeroM murgero

                @nebulon maybe a jre ppa is in order?

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #27

                @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?

                murgeroM 1 Reply Last reply
                0
                • nebulonN nebulon

                  @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?

                  murgeroM Offline
                  murgeroM Offline
                  murgero
                  App Dev
                  wrote on last edited by
                  #28

                  @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. ~

                  1 Reply Last reply
                  1
                  • girishG girish referenced this topic on
                  • A Offline
                    A Offline
                    AniTexs
                    wrote on last edited by
                    #29

                    Any news on this?

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Dreamcatch22
                      wrote on last edited by Dreamcatch22
                      #30

                      Any updates on this? Would love to be able to host my own unifi controller within cloudron.

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TheMoodBoardz
                        wrote on last edited by
                        #31

                        Any updates on this as it would be super helpful for MSPs and people like me who operate a few sites

                        1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          neoplex
                          wrote on last edited by
                          #32

                          Yes, this would be great. However, multi-tenancy might present some challenges due to the service ports required by the Unifi Controller, especially for device discovery. That said, as long as L3 adoption is implemented (e.g. via DNS or DHCP option), using a dedicated custom set of ports for each instance should work fine.

                          See also; https://help.ui.com/hc/en-us/articles/218506997-Required-Ports-Reference

                          1 Reply Last reply
                          1
                          • N Offline
                            N Offline
                            neoplex
                            wrote on last edited by
                            #33

                            Any update on this? Happy to chip in for the implementation.

                            murgeroM 1 Reply Last reply
                            0
                            • N neoplex

                              Any update on this? Happy to chip in for the implementation.

                              murgeroM Offline
                              murgeroM Offline
                              murgero
                              App Dev
                              wrote on last edited by
                              #34

                              @neoplex I lost the code to this a while ago, but I could be convinced to give it another go - I almost had it working before, and since I've grown a lot as a developer since my initial attempt, I may get it working.

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

                              1 Reply Last reply
                              2
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #35

                                IIRC, @nebulon also gave it a try at some point but he hit some roadblock. Maybe it was related to port count feature?

                                1 Reply Last reply
                                0
                                • nebulonN Offline
                                  nebulonN Offline
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #36

                                  Last time I checked they required a very specific mongodb version, but also the selfhosting was deprecated. Maybe that changed though. Looks like it is now called "UniFi Network Server" https://www.ui.com/download

                                  1 Reply Last reply
                                  0
                                  • imc67I Offline
                                    imc67I Offline
                                    imc67
                                    translator
                                    wrote on last edited by
                                    #37

                                    For those who have TP-Link Omada this https://forum.cloudron.io/topic/9400/tp-link-omada-controller is much easier to install as app I guess? 😜

                                    1 Reply Last reply
                                    1
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Bookmarks
                                    • Search