Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    error in unifi controller due to snappy java

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    17 Posts 7 Posters 1.8k 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.
    • KOMK
      KOM
      last edited by

      It seems they only really care about Windows, and Linux/FreeBSD are second-class citizens. They had an issue several months ago where you couldn't install it on Ubuntu because of a hardcoded db dependency that was no longer supported by the distro or something like that. After that I gave up and spun up a Windows VM to manage it.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        I doubt that is related... But this one might be
        https://github.com/gozoinks/unifi-pfsense/issues/134

        @KOM I have been running UC on ubuntu VM for long time, always running latest beta 5.10.21 currently... Seems can not direct up from .21 to 5.11.10? But have not had chance to look into it yet, just go back from vac..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        KOMK 1 Reply Last reply Reply Quote 0
        • KOMK
          KOM @johnpoz
          last edited by

          @johnpoz I don't exactly remember as it was many months ago, but I think it was something to do with mongodb version-related.

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            you using the ports or the download the .deb direct... I remember reading something about that - but have no run into any such issues, etc.

            Other than tried to update to 5.11.10 this morning.. Said it installed but then hit the web and got a error about can not update from .21...

            Which is why I love running this on VM, since all had to do was rollback to snap I took before tried the update ;)

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              I don't remember if I manually installed from .deb or if I found a PPA for it. I don't bother upgrading it anymore even now that it's on Windows. It's working. Last time I forgot to upgrade it the official way and ended up with an orphan on my hands that I had to quickly remember how to reconfigure while the family bitched and moaned 😆

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Well I have been running UC on ubuntu for like 4 years.. They had some issues with their repository, so I switched over to the deb many years ago..

                Its a simple wget, and then a dpkg -i to update.. Takes all of couple of minutes.. Just take a snap before do so just in case.. I have only had to revert maybe 2 or 3 times over the 4 years. And those times were me just too lazy to read the release notes before update ;)

                And I always run bleeding edge both in firmware for the AP and the UC..

                I would never run it on windows ;) That sounds like a nightmare waiting to happen.. heheheh

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                KOMK 1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM @johnpoz
                  last edited by

                  @johnpoz The Windows VM that Unifi lives on only ever runs if I have to make a change to the AP configuration. Which is never.

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    viragomann @KOM
                    last edited by

                    @KOM
                    If you have multiple Unify APs and want to use roaming, the controller has to run all the time.

                    KOMK 1 Reply Last reply Reply Quote 0
                    • KOMK
                      KOM @viragomann
                      last edited by

                      @viragomann Thanks, I did not know that. However, I only have the one device so I'm good.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by johnpoz

                        No it doesn't..The controller needs to run if you want to use specific features, like guest network, captive portal.. To be honest unless you want the info, you don't need the controller running.

                        And to be honest you can prob run guest policies without the captive portal - just look into the selfrun mode for details
                        https://help.ubnt.com/hc/en-us/articles/205222660-UniFi-Configuring-the-SELFRUN-State

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.