unifi9 in community repo

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

Previous topic - Next topic
There is now a new plugin, os-unifi9-maxit.

You need to take a backup inside unifi controller and export it.

Then stop unifi plugin via opnsense, remove the plugin via System : Firmware : Plugins

Install the new plugins, start the service and pray (or import).

If it doesn't start, maybe wipe the java folder:

stop the plugin

remove the plugin

vial cli: rm -f /usr/local/share/java/unifi/data/

install plugin

start plugin

March 24, 2025, 10:05:47 AM #1 Last Edit: March 25, 2025, 10:02:46 AM by caplam
Hello,

I have my unifi controller running as a compose stack on an unraid server.
It uses a mongodb 7 database. I installed the plugin and saw that it uses a mongodb 6 database. Are you aware of a downgrade path of mongo database from 7 to 6 ?

For now i did not start the plugin as i see it uses port 8443 which is the port used for opnsense gui. Is there a way to change it before enabling the plugin ?

edit: it seems there is no downgrade path for 7.0 to 6.0 mongo database.

do you plan to release to release a plugin version with mongo 7?

Reading your message with the  "pray" comment.  Are you advising against updating to os-unifi9-maxit?   Currently using the one from your repository 8.6.9.  Just trying to understand the pray comment.  Thanks!

Just kidding, but I only tested once on my own, nothing more

I thought it was sarcasm, but it was true.   Trying to restore from backup bricks the plugin, so I had to reconfigure it from scratch.   Not a big deal.   Thanks for supporting this plugin by the way; fantastic having this on the router itself.

For those like me migrating from a network controller on a server (unraid docker in my case) to the plugin on opnsense, db version is not a concern only controller version.
You simply have to take a backup of the old controller, start the new one (opnsense plugin) and select restore from a backup. Then connect with ssh to network devices and update inform host.
If you have other services running on ports 8080 (crowdsec in my case) and 8443 (opnsense gui in my case) you have to edit system.properties with the correct ports (/usr/local/share/java/unifi/data/system.properties)

How should I troubleshoot mini upnpd crashes? It used to work fine for months until I reinstalled recently.

Quote from: verfluchten on May 19, 2025, 07:25:59 PMHow should I troubleshoot mini upnpd crashes? It used to work fine for months until I reinstalled recently.
I suggest you open a thread with that topic of yours, because this one is about Unifi Controller - very different thing.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

miniupnpd loaded itself all on its own, several hours later.

I have installed os-unifi9-maxit and I see it's running  1.4 / 9.0.114

Is it possible to update to 9.1.120 or do we wait for mimugmail to do it and have it pushed through OPNSense's overall update process?

ta

@hoondi

We have to be patient and wait for mimugmail to update the plugin when he is ready