Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
mimugmail Unifi (7.3.83) mongodb errors
« previous
next »
Print
Pages: [
1
]
Author
Topic: mimugmail Unifi (7.3.83) mongodb errors (Read 2076 times)
meelokun
Newbie
Posts: 27
Karma: 0
mimugmail Unifi (7.3.83) mongodb errors
«
on:
July 03, 2023, 07:40:51 pm »
I've had this persistant issue with the os-unifi7-maxit plugin, where if the firewall experiences a non-clean shutdown, the unifi plugin is unable to recover - (i.e: unable to start back up). And everytime this happens i have to not only uninstall the plugin, but go into shell, and delete the entire /usr/local/share/java/unifi/ folder, before reinstalling it.
After a non-clean shutdown, my system log is flooded with the following notice/errors
2023-07-03T13:28:18-04:00 Notice kernel <6>pid 88314 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:28:14-04:00 Notice kernel <6>pid 69372 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:28:09-04:00 Notice kernel <6>pid 68133 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:28:05-04:00 Notice kernel <6>pid 66300 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:28:00-04:00 Notice kernel <6>pid 57931 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:27:55-04:00 Notice kernel <6>pid 56444 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:27:51-04:00 Notice kernel <6>pid 55303 (mongod), jid 0, uid 975: exited on signal 6
2023-07-03T13:27:46-04:00 Notice kernel <6>pid 54073 (mongod), jid 0, uid 975: exited on signal 6
It appears to be something to do with mongodb, corruption of the DB? Pastebin of the last mongodb log.
https://pastebin.com/ze8ug4AD
i saw somewhere that "mongod --repair should be able to fix these kind of errors, but only if the fixes have been installed. According to the repair documentation, that only applies to Mongo DB 4.0.3 and later." - i see we are on mongodb 3.6.23
@mimugmail: What are the plans to move up to the latest controller version to 7.4.162? As well as incorporating a mongodb repair script?
«
Last Edit: July 03, 2023, 10:35:10 pm by meelokun
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: mimugmail Unifi (7.3.83) mongodb errors
«
Reply #1 on:
July 03, 2023, 07:50:55 pm »
No plans as 7.4 switches to mongo4 which needs manual recovery. Needs to settle a bit
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
meelokun
Newbie
Posts: 27
Karma: 0
Re: mimugmail Unifi (7.3.83) mongodb errors
«
Reply #2 on:
August 21, 2023, 10:47:44 pm »
@mimugmail - with the release of 23.7, are there plans now to update to the 7.4 branch? i dont quite understand what you meant by there needing to be a manual recovery for mongodb since the 7.4 branch requires 4.0
i guess has things settled a bit yet? hehe
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: mimugmail Unifi (7.3.83) mongodb errors
«
Reply #3 on:
August 21, 2023, 10:58:53 pm »
Good luck with testing it
https://github.com/mimugmail/opn-repo/issues/156
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
mimugmail Unifi (7.3.83) mongodb errors