opn-repo
opn-repo copied to clipboard
Unifi Controller not working
Hi
with the last versions of opnsense I see ever this if I got to unifi controller site:
"Database Migration in progress..."
Opnsense: OPNsense 21.7.6-amd64 FreeBSD 12.1-RELEASE-p21-HBSD OpenSSL 1.1.1l 24 Aug 2021
and
OPNsense 21.7.7-amd64 FreeBSD 12.1-RELEASE-p21-HBSD OpenSSL 1.1.1l 24 Aug 2021
Unifi: os-unifi-maxit 1.1 unifi6 6.4.54
I've already tried to remove/reinstall of unifi and got the same problem...
I see it doesnt start mongodb if I start unifi plugin... It should start it right? But if I start it manually I've still the same error
Can you remove mongodb pkg and the DB folder of it?
already done, if I start/restart unifi over WebUI it doesnt create it again (dont start mongodb)
ok tried it again: root@cerber:~ # pkg remove mongodb36 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 3 packages (of 0 packages in the universe):
Installed packages to be REMOVED: mongodb36: 3.6.23 os-unifi-maxit: 1.1 unifi6: 6.4.54
Number of packages to be removed: 3
The operation will free 336 MiB.
Proceed with deinstalling packages? [y/N]: y [1/3] Deinstalling os-unifi-maxit-1.1... [1/3] Deleting files for os-unifi-maxit-1.1: 100% Reloading plugin configuration [2/3] Deinstalling unifi6-6.4.54... [2/3] Deleting files for unifi6-6.4.54: 100% ==> You should manually remove the "unifi" user. ==> You should manually remove the "unifi" group [3/3] Deinstalling mongodb36-3.6.23... [3/3] Deleting files for mongodb36-3.6.23: 100% ==> You should manually remove the "mongodb" user. ==> You should manually remove the "mongodb" group
root@cerber:~ # rmdir /var/db/mongodb/
and now?
Better ask on subreddit OpnsenseFirewall, many users cthere are using the plugin. I dont use it myself
Hello, i got the same. Did you fix it?
Did you check for Updates again?