Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elasticsearch package #116

Open
sbcrumb opened this issue Jun 30, 2022 · 7 comments
Open

elasticsearch package #116

sbcrumb opened this issue Jun 30, 2022 · 7 comments

Comments

@sbcrumb
Copy link

sbcrumb commented Jun 30, 2022

Seems to not stay running on reboots etc. So when I click into zenarmor it will ask me to start it, check and it is not running nor will it start. only way to get it to start is to remove items under
/var/db/elasticsearch/nodes/0/

Not sure if it is an elasticsearch issue or zenarmor issue.
Any info on how to resolve this and make zen work properly with elasticsearch would be great.

@mimugmail
Copy link
Owner

You shouldnt run my plugin with Zenarmor.. this will conflict for sure

@NvrBst
Copy link

NvrBst commented Aug 28, 2022

Zenarmor suggests if you want to run this repo with it, to just install elasticsearch from community repo, and then configure zenarmor to use the "remote" eleasticsearch install (which just points to the local mimugmail installed one). Which does seems like a clean way to do it.

But as mimugmail says, they still don't play nice together... zenarmor determines it's local, and treats it as a local database still... and then monitors the elasticsearch service and tries to spawn another elasticsearch instance, which gets denied (only 1 node allowed), and then shows as elasticsearch service stopped... but if you look under ps aux, the initial one still is running... and you can actually see the zenarmor reports still. But you get an annoying message that the service has to be started every time you wanna view it, which then u press yes, and it will fail to start, but since the original is running, it'll work and show u the reports anyway.

Long story short... it would be nice if these two repos did work together, as I am sure a lot of people use zenarmor and would like to use mimugmail as well... (like me). I suspect it's zenarmor which needs to update their software to work with "remote" databases which are installed locally better, and not try to mother the service, if u have a remote database selected.

@gadinbot
Copy link

gadinbot commented Aug 22, 2023

@mimugmail

You shouldnt run my plugin with Zenarmor.. this will conflict for sure

on this note, i would like to run Zenarmor and i'm new to opnsense. what is the best way to remove your plugin? i was able to follow you instructions to install, i'm just unable to backtrack.

@mimugmail
Copy link
Owner

Remove mimugmail.conf you've downloaded with fetch command and rerun update check

@mihakralj
Copy link
Contributor

mihakralj commented Aug 22, 2023

I'd not remove the link to repo. Wouldn't sudo pkg delete os-elasticsearch-maxit do the job?
I think @gadinbot is asking how to remove a specific installed plugin, not the whole repo?

Removing the whole repo: rm /usr/local/etc/pkg/repos/mimugmail.conf && pkg update

@gadinbot
Copy link

@mihakralj
thanks for the help this was what i was looking for.

@Renari
Copy link

Renari commented Sep 12, 2024

Ran into this today, thought I might be able to sneak by if any of the plugins I installed from mimugmail weren't using mongo or elastic, but it seems the unifi plugin is using mongo so I'm out of luck. For me atm adguard and unifi are more important than zenarmor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants