Elasticsearch plugin as remote db

Started by Collapse4655, December 11, 2023, 11:36:03 PM

Previous topic - Next topic
December 11, 2023, 11:36:03 PM Last Edit: December 12, 2023, 05:16:37 PM by Collapse4655
Hello all,

I would like to install Zenarmor while also having the Mimugmail community repo installed. The install wizard said that I can install the Elasticsearch plugin and point Zenarmor to it as a remote database. I have installed the Elasticsearch plugin, but I don't know how to proceed further. I can not find any documentation on how to setup/configure Elasticsearch on opnsense after I installed the plugin. The only option I have in the OPNsense webUI is to enable it.
Also when I try to enable the service it just stays on the red stop sign. I do not know why it isn't starting. Where can I find logs regarding startup of services?

Thanks in advance :)

Hi,

You could check the Elasticsearch logs in /var/log/elasticsearch/elasticsearch.log if there is any issue with it.



Thanks for the reply. I managed to "fix" it by removing zenarmor+sunvalley and elasticsearch. Then reinstalled elasticsearch only and started it. Then I installed Zenarmor and connected it to the database.
I currently use the default login and password, how do I change those?


How did you make out?

I'm sorta in the same boat as you were.  I've installed the elasticsearch plugin and it appeared to install find... but during it's install I saw several things it said needed to be done.  I don't recall exactly, because they're copied and pasted at home right now, but one was doing some mounts and to make them permanent add them to the fstab (if I recall correctly).  Did you have to do that?   Other than the plugin output did you find any site with instruction for the steps to be taken after the elasticsearch plugin install?

TIA

I am in the same situation and per Zenarmor I need move aware of soon to be deprecated MongoDB and over to Elasticsearch. I too use both repos due to integrations with Home-Assistant.
I will try the Elasticsearch plugin on Opnsense instead of a remote Elasticsearch instance.
Protectli FW4C
Cybersecurity Practitioner, trail-runner, Mtb'er, self-hosted enthusiast, and audiophile.

Hi,

There was a conflict between the Elasticsearch versions in the mimugmail and Zenarmor repositories. However, with the latest update, mimugmail has reverted to version 7. You can opt to use Elasticsearch from the mimugmail repository and configure Zenarmor to use it as a remote database, or you can install Elasticsearch 8 from the Zenarmor repository.