mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config

Started by mimugmail, October 26, 2023, 01:17:03 PM

Previous topic - Next topic
Hi MimuGmail!

Thank you for all the hardwork.  I just started using OPBsense as I'm a switcher from the other side.  I'm currently checking out unifi plugin as I am also using its APs.  Crowdsec is also a very good alternative to pfblocker as it is not available yet in OPNsense.

I noticed the default port of 8080 of Crowdsec conflicts with Unifi.  The Unifi daemon keeps on stopping.  Turning Croedec off solves this.

As a solution, which port would you advise in liu of 8080 in Crowdsec?  Tried port 9999 and I'm getting firewall "bouncer unknown"


This is what worked for me:

System: Diagnostics: Services: Unifi: Stop
System: Diagnostics: Services: Crowdsec: Stop
Services: Crowdsec: Settings: LAPI listen port: 8088

Router shell:

Quotepkg remote os-unifi7-maxit unifi7

rm -rf /usr/local/share/java/unifi/*

pkg install os-unifi7-maxit

Waited for like 3-4 minutes (if you dont wait you will get the 404 page until all services are up!)

Browser: <router IP>:8080 and configure your unifi (I restored it from a back up I had)

System: Diagnostics: Services: Crowdsec: Start

Crowdsec and Unifi work like a charm.




I use the unifi plugin on opnsense and I was not able to login.

I had the follow the steps mentioned for reinstalling unifi. But since I was not able to take a backup from the UI, these are the steps that I followed for backup



ssh <username>@<ip of opnsense>

cd /usr/local/share/java/unifi/data/db/backup/autobackup

# for finding the recent backup .unf file
ls -la


#on your local
scp <username>@<ip of opnsense>:/usr/local/share/java/unifi/data/db/backup/autobackup/<latest file> .

use that .unf file when restoring


Hi!

Do u have a script or guide on upgrading unfi to the next version?



It looks like we can use this sooner rather than later.  Dependencies are now broken with OPNSense 24.1x :-(

Yeah.  I hope mimugmail finds the time to update it together with the latest version


Thank you for letting us know.  However, There's still no updated plugin in the repository and still no access to the controller.


Thank you.  Removing then Installing fixed the problem.

However, there's a new app version 8.  Can we also expect an upgrade to this version anytime soon?