-
Notifications
You must be signed in to change notification settings - Fork 47
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
Warning: Calling plist_options is deprecated! Use service.require_root instead. #146
Comments
yes it look like annoying.
it works the same. |
It works. |
Thanks a lot @Sanchew ! service do
run opt_bin/"elasticsearch"
working_dir var
log_path var/"log/elasticsearch.log"
error_log_path var/"log/elasticsearch.log"
environment_variables ES_JAVA_HOME: "/Library/Java/JavaVirtualMachines/jdk-11.0.17.jdk/Contents/Home"
end |
I worked around this with Docker and using elasticsearch/opensearch running in a container which might be more deterministic and in tune with how Elasticsearch would rather be run. There's #144 to fix this, but it's been a while and not merged. |
This works perfectly fine. |
How to fix this useless issue? |
Works great |
I'm also affected by this issue. I haven't updated elastic or modified it in any way. It's just started a few days ago for me when I realised that it's not running as a brew service anymore and the attempt to run it with 'brew services start elasticsearch-full' results in this issue. |
@elmirill same issue here. Even once applying the patch above, still hitting a Java issue. Out of curiosity... had you upgraded to macOS Ventura recently? Did you end up resolving? |
No, I haven't upgraded to Ventura recently, but I've just installed Sonoma (spoilers: with no avail). |
Guys, you need to update one line in the rb file and it will work
…On Tue, Oct 10, 2023 at 6:14 PM elmirill ***@***.***> wrote:
@elmirill <https://github.com/elmirill> same issue here. Even once
applying the patch above, still hitting a Java issue. Out of curiosity...
had you upgraded to macOS Ventura recently? Did you end up resolving?
No, I haven't upgraded to Ventura recently, but I've just installed Sonoma
(spoilers: with no avail).
I'm still running elastic in a separate terminal window for now.
—
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN7D4PEYN5W6XSDQZ3LQBTX6VC4XAVCNFSM6AAAAAAVRH4QFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVGQYDOMZYGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I had to manually edit the file on my machine at /usr/local/Homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb because they are not changing it. Then it downloaded nicely. @plist_manual = "elasticsearch" instead of the line plist_options :manual => "elasticsearch" |
O,this is useful for me to solve this question, just modify the @plist_manual = "elasticsearch" instead of the line plist_options :manual => "elasticsearch" in the file elasticsearch-full.rb |
thank you ! it's can work. |
For apple silicon(m1, m2), go to opt/homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb, and do the changing as mentioned above, and it will work. |
Working for me as of 12/4/23. |
I replaced |
Sharing my workaround here for Apple M1 machine, based on some research It does not help me when changing Here are the steps that I make things work
|
Now that it's obvious this project has been abandoned and due to this message from its maintainer, I'd like to suggest anyone interested in using the fixed and updated version of ElasticSearch 7.17.14 (as opposed to 7.17.4 from this tap) to check out my Homebrew tap. The
|
Got this running a recent
brew install
:The text was updated successfully, but these errors were encountered: