unifi9 in community repo

Started by mimugmail, March 07, 2025, 08:58:39 PM

Previous topic - Next topic
Packages still Compile due to some errors ...

Quote from: Patrick M. Hausen on May 28, 2025, 09:54:22 AMSystem > Firmware > Status

Click on "Check for Updates".

Ha, yes that was my first port of call but I made an assumption that mimugmail had been able to update the package (to 1.4.x) so was confused when no updates were highlighted.  I them made my second (wrong) assumption that I must therefore need to perform other steps.

I see now I just need to be patient for mimugmail to update the package and then updating for my installation is done in the 'normal' Opnsense way.

Many thanks

New pkg's are there, be sure to make a backup before :)

You're doing Gods work here mimugmail!  Thank you.

more than that Mark_the_Red,

Cos unlike God, mimugmail has an actual bank account...

Spill the beans mate... wanna donate to your efforts.

Not seeing anything at mimugmail/opn-repo nor https://www.routerperformance.net so... c'mon, you should like receive a boat-load for the homelab guys enjoying your efforts.

My value is at a hundred AUD here for ya and I wish I could afford to hand over a bit more... just tell me where....

Tariff free! LOL

Hey... mimugmail, would it be possible to get the latest build from July 14, for version 9.3.43 of os-unifi9-maxit?

Thanks in advance <3

Just a quick PSA for anyone else running into this.

The os-unifi9-maxit plugin will not work on Opnsense versions earlier than 25.1.12 due to a mongodb dependency on icu-76.

Thanks for your efforts here mimugmail. Much appreciated.

MimuGmail

I've been getting this message when installing crowdsec ang Unifi

pkg: cached package <file name:> missing or size mismatch, fetching from remote

Then nothing happens

Quote from: MagikMark on July 28, 2025, 12:26:25 PMMimuGmail

I've been getting this message when installing crowdsec ang Unifi

pkg: cached package <file name:> missing or size mismatch, fetching from remote

Then nothing happens


Crowdsec and Unifi are using the same ports

I am having issues with the plugin
I am running

OPNsense 25.7.2-amd64
FreeBSD 14.3-RELEASE-p2
OpenSSL 3.0.17

on
Intel(R) Celeron(R) CPU J3455 @ 1.50GHz (4 cores, 4 threads)

I had the plugin (old version 8 if I remember correctly)  working but with the last updated it started crashing.
I have tried to install the latest version but it keeps crashing.

I uninstalled, cleaned up via cli the java dir, rebooted, reinstalled, rebooted....
no way it starts and after a few seconds it crashes.

I read somewhere in the thread AVX is needed and I am pretty sure the Celeron has no avi.
Could this be the reason?
Is there a non avi version available if that is the case or the only way would be recompiling?

Thanks

If your CPU does not support that particular feature there is no way to run the Unifi controller on your hardware. You need to run the controller on a different system.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: nicolareina on August 28, 2025, 11:12:23 PMI read somewhere in the thread AVX is needed and I am pretty sure the Celeron has no avi.
Could this be the reason?
To extend on what Patrick wrote: The MongoDB (from version 5 on) which is used by the Unifi Controller needs AVX and the J3425 seems not to have it (the same is true for e.g. Intel N5105/N6005). Check with 'dmesg' on your machine to be sure.

There are ways to run it (on Linux), people have compiled MongoDB with AVX support or run it in docker with a static qemu with AVX enabled, none of it is very easy nor fast. I used it on my previous fanless server based on the N5105 cpu (for Graylog 6).

But above all: not for the OPNsense plugin.
Deciso DEC740

Thanks for the feedback.
My update after removing the crowdsec application which I read had some port conflicts and redoing the whole install / reinstall procedure the latest unifi plugin is now running again.