OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: Meg on January 31, 2025, 06:14:17 PM

Title: MongoDB keeps stopping
Post by: Meg on January 31, 2025, 06:14:17 PM
Hello. I was running zenarmor with elastisearch 8 on OPNsense 24.7.12_4 and it was using too much memory to I decided to uninstall it and go with MongoDB. Since the change I keep Mongo db keeps stopping and I am getting an error "Some errors were detected during retiring for MogoDB data collection. and Some errors and Some errors were detected during data retiring for MongoDB log rotation. Does anybody know why this is happening.  After installing with MongoDB I used a Zenarmor backup from when I was on elastisearch  to restore Zenarmor settings. I am not  sure if this would be the cause.
Title: Re: MongoDB keeps stopping
Post by: sy on February 01, 2025, 04:11:29 PM
Hi,

Zenarmor retires reporting data daily at midnight. It appears that the MongoDB index file(s) have become malformed and cannot be retired. Please navigate to Settings > Reporting & Data > Database and run Reset Reporting Data. This will remove all index files and recreate them.
Title: Re: MongoDB keeps stopping
Post by: Meg on February 01, 2025, 06:21:25 PM
That's the first thing I tried. I have tried resetting the reporting database 3 times but the problem persists. I should have mentioned that in my post.
Title: Re: MongoDB keeps stopping
Post by: sy on February 03, 2025, 01:36:22 PM
Hi,

Please share a report by following the instructions in the below link to investigate the issue.

https://zenarmor.com/docs/support/reporting-bug