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

Unable to install elastic search set up #157

Open
suresh-im opened this issue Sep 16, 2023 · 5 comments
Open

Unable to install elastic search set up #157

suresh-im opened this issue Sep 16, 2023 · 5 comments

Comments

@suresh-im
Copy link

brew install elastic/tap/elasticsearch-full
Error: elastic/tap/elasticsearch-full: Calling plist_options is disabled! Use service.require_root instead.
Please report this issue to the elastic/tap tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb:68

@rohanmendon
Copy link

rohanmendon commented Sep 16, 2023

getting the same issue

brew install elastic/tap/elasticsearch-full
Error: elastic/tap/elasticsearch-full: Calling plist_options is disabled! Use service.require_root instead.
Please report this issue to the elastic/tap tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb:68

@harryjackson
Copy link

I don't think this project is maintained anymore. To install elastic now you need to use the following

https://www.elastic.co/guide/en/elasticsearch/reference/8.10/install-elasticsearch.html

I wish they'd put a warning on the README.

@wflanagan
Copy link

Yes, I agree. I have jumped to OpenSearch for development. Probably will migrate production there shortly.

@kevinhq
Copy link

kevinhq commented Jan 4, 2024

coming to this page from google search result, with exactly same problem. i wish they put the updates on readme.

@jorismak
Copy link

It's still listed on the Elasticsearch site though: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/brew.html

Basically, you have to fix the tap so that the services work.
Then you get the MacOS Venture 'app is damaged' because of some Java stuff.
That can be fixed by installing openjdk through brew, and then changing the elasticsearch plist (the one in /opt/homebrew, not in your user folder) to set the ES_JAVA_HOME environment variable to the openjdk java_home path.

Then it starts. But then you can still get an error because of machine learning capabilities not working (I guess this depends on your system and config). You can disable those by adding a xpack.ml.enabled: false at the end of /opt/homebrew/etc/elasticsearch/elasticsearch.yml.

You do now have a hardlinked path to the openjdk home path, so I guess if openjdk updates to a new version (minor or major) you have to change that path again...

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