OPNSense Unifi Controller Application is starting up

Started by Apex, April 23, 2024, 04:02:32 AM

Previous topic - Next topic
I used the plugin repository provided by mimugmail  Repo URL https://www.routerperformance.net/opnsense-repo/ reference URL: https://forum.opnsense.org/index.php?topic=20827.0

I installed the latest unifi which installed unifi 8. It worked quite well for a little while and after the last reboot I get this error message in the attachment.

I've attempted to uninstall and reinstall and get the same results.

Not sure how to troubleshoot or what logs I should look at so looking for a little direction to try and get this working again.

You need to login via cli and check the logs of unifi in /usr/local/share/java/unifi

Thank you, I wasn't sure which logs I should be looking at.

I was able to log into the cli and checked the unifi server log.

This is what I see:

[2024-04-19 14:30:27,467] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:31,572] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:31,573] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:35,680] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:35,680] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:39,789] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:39,790] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:43,899] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:43,899] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:48,006] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:48,006] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:52,120] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:52,120] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:30:56,227] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:30:56,227] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:31:00,382] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:31:00,382] <mongo-db> INFO  mongo  - Database process stopped, code=134
[2024-04-19 14:31:04,490] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-04-19 14:31:04,490] <mongo-db> INFO  mongo  - Database process stopped, code=134

Checking Mongo's error code site, it doesn't make a lot of sense to me:

https://www.mongodb.com/docs/manual/reference/error-codes/

134
ReadConcernMajorityNotAvailableYet


You need to delete the plugin, wipe the unifi folder and install again. Then you can start from scratch or restore a backup

That fixed it, I just needed to do a reboot.

Thank you!