opn-repo icon indicating copy to clipboard operation
opn-repo copied to clipboard

Unifi Controller not working

Open MAngel666 opened this issue 3 years ago • 8 comments

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...

MAngel666 avatar Dec 16 '21 11:12 MAngel666

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

MAngel666 avatar Dec 16 '21 18:12 MAngel666

Can you remove mongodb pkg and the DB folder of it?

mimugmail avatar Dec 16 '21 18:12 mimugmail

already done, if I start/restart unifi over WebUI it doesnt create it again (dont start mongodb)

MAngel666 avatar Dec 16 '21 19:12 MAngel666

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/

MAngel666 avatar Dec 16 '21 19:12 MAngel666

and now?

MAngel666 avatar Dec 17 '21 16:12 MAngel666

Better ask on subreddit OpnsenseFirewall, many users cthere are using the plugin. I dont use it myself

mimugmail avatar Dec 17 '21 16:12 mimugmail

Hello, i got the same. Did you fix it?

b4b857f6ee avatar May 29 '22 10:05 b4b857f6ee

Did you check for Updates again?

mimugmail avatar May 29 '22 11:05 mimugmail