opn-repo
opn-repo copied to clipboard
elasticsearch package
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.
You shouldnt run my plugin with Zenarmor.. this will conflict for sure
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.
@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.
Remove mimugmail.conf you've downloaded with fetch command and rerun update check
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
@mihakralj thanks for the help this was what i was looking for.