Hello everyone,
Recently, I've deployed OPNsense and then added sensei to have a overlook at the BW usage and users usage via captive portal. Everything looks fine and it works when I check the reports from Sensei Dashboard, however I've configured to get daily mails about the reports from sensei but first night I've got the email from my server and the mail content was "Scheduled reports could not be generated. Probably elasticsearch service is not running or not working properly. Please check elasticsearch service manually." don't know really what causes the problem.
Could anyone please guide me?
Thanks in advance
Hi @hsadeghpour,
Are you using Mongodb or Elasticsearch as the database backend? Which one did Sensei choose for you?
If it is Mongo, we are aware of a problem which will get fixed with the new release (1.2). This will ship this week.
If not, run this command and see what it says:
# /usr/local/opnsense/scripts/OPNsense/Sensei/scheduled_reports.sh
Hi @mb
Thank you for your reply.
It's using Mongodb for it's database, however I've executed the command which you mentioned and again it sent me the mail with "Scheduled reports could not be generated. Probably elasticsearch service is not running or not working properly. Please check elasticsearch service manually." content.
Thank you
Hi @hsadeghpour,
Thanks for the reply. Yes, just as I guessed, this is related to the Mongodb issue. This is fixed in the upcoming 1.2 release which will ship this week.
Thank you @mb ;)
All welcome :)