i updated to 24.7, after the update, there were new packages from sensi, installed them, elasticsearch still does not start, log show
java.lang.IllegalArgumentException: unknown setting [xpack.monitoring.templates.enabled] did you mean [xpack.profiling.templates.enabled]?
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:563) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:132) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:50) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.node.Node.<init>(Node.java:494) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.node.Node.<init>(Node.java:344) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:236) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:236) ~[elasticsearch-8.11.3.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-8.11.3.jar:?]
After checking the updates for the second time and making sure that they are completed, I kindly request you to try again by restarting the firewall.
You can use the menu below to check for updates,
OPNsense / System / Firmware Status / Check for update
If the Elasticsearch problem persists, can you share the logs and configuration by following the instructions in the link below so that we can investigate in detail?
I request you to tick all the options.
https://www.zenarmor.com/docs/support/reporting-bug
yea, of course i tried rebooting, ran the software update multiple times, no new pkgs available.. only that first time after upgrade, in which it upgraded/replaced all the zenarmor packages.
as always with zenarmor database issues, its just easier to start over, since the support is basically equivalent to comcast, have you tried turning or modem on and off? like yes, lol.
rm /usr/local/zenarmor/etc/.configdone
and went through the wizard again to blast away the database. things started working again.
I ran into this issue as well across our ZA deployments and it only seems to happen on ELS8 ZenArmor deployments.
This can be solved with a Database reset + re-install the database through the webGUI just as an FYI, kinda lame this happens but that's a fairly easy fix.
That is exactly the solution I have got from support some days ago and can confirm all works perfectly after reset and re-install via webgui.
Hi, I still have to update my production to the 24.7 version. I am running Zenarmor with Elasticsearch 8 and having this issue as well.
What exactly do the 2 previous posts (from scott.harvanek and wirefall) mean with "Database reset + re-install the database through the webGUI".
Is this Zenarmor -> Settings -> Database: Reset Reporting Database (Under Reporting Database Settings) ?
This works on my test vm indeed, and I am seeing that ELS8 is being removed, reinstalled and a new DB is being created.
Just wanted to be sure about the preferred path to solve this issue I guess :)
Regards
Yes, that's correct,
Zenarmor -> Settings -> Database: Reset Reporting Database (Under Reporting Database Settings) this process will reset the database.
As a suggestion, you can choose the re-install option, which will reinstall it in this case.
IHK,
What re-install option do you mean exactly then? Just removing the whole Zenarmor Plugin and reinstalling it?
And if so, why would this still be needed then if ELS8 is already reinstalled with just the DB reset option.
Hi MKTR,
Once you complete this step, only the database will be reinstalled. Zenarmor will not be reinstalled.
My suggestion would be to first update the OPNsense side and then try again.
If the issue persists, could you please follow the instructions in the link below to share logs and configuration for a more detailed investigation?
I kindly ask you to tick all the options.
https://www.zenarmor.com/docs/support/reporting-bug
Hi IHK,
Yes I understand, but why would it be needed to re-install whole Zenarmor?
It seems fixed and working fine with just the DB Reset option.