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 KOM

      I have an LR at home, and I keep a Win10 VM around to host the controller software, Java, etc. I've never seen your problem nor have you given anywhere near enough information for anyone to even guess. Go to the UBNT forums and ask there.

      https://community.ubnt.com/t5/custom/page/page-id/forums

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

        No i know its not coming from pfsense.
        Its a wifi controller for ubiquiti systems installed on same system as pfsense and i hoped someone here might have seen the issue before :)

        It seems to be a snappy Java issue.
        Made a post on ubnt forums also

        GrimsonG 1 Reply Last reply Reply Quote 0
        • GrimsonG
          Grimson Banned @Henrikt
          last edited by

          @Henrikt said in error in unifi controller due to snappy java:

          Its a wifi controller for ubiquiti systems installed on same system as pfsense and i hoped someone here might have seen the issue before :)

          No one here is stupid enough to compromise a pfSense installation by doing something moronic like that.

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

            Yeah, I doubt you will find much support around here for trying to run the controller on pfsense install.. Prob better help over on the unifi forums for such a thing.

            if you want to run pfsense and UC on the same hardware - then run a hypervisor and run pfsense as vm and uc as vm..

            Unlikely you would find anywhere here that actually knows what they are doing trying to help you compromise your firewall witch such an install.

            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
            • dotdashD
              dotdash
              last edited by

              Did you check out the issues page on github? This might be relevant:
              https://github.com/gozoinks/unifi-pfsense/issues/29

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