-
Downloaded the installation package, elasticsearch-8.13.2, several times, but the system indicates that jdk.app is incomplete.
-
Privacy and security settings are configured to allow open.
-
Unable to start Elasticsearch.
Thanks!
Downloaded the installation package, elasticsearch-8.13.2, several times, but the system indicates that jdk.app is incomplete.
Privacy and security settings are configured to allow open.
Unable to start Elasticsearch.
Thanks!
Hi @Joanna_Chang - Welcome to our Discuss forum!
I had the same problem. Despite allowing jdk.app
in the Privacy&Security settings, I was still getting the same error.
I managed to "fix" this by running xattr -d com.apple.quarantine jdk.app
in the unzipped Elasticsearch folder where the jdk.app
is. I am not sure how this got marked as quarantined in the first place, but that did the trick for me. Hopefully this works for you as well.
It is actually something related to macOS Gatekeeper and Apple’s rollout of stricter notarization requirements. It is documented in our Kibana documentation (c.f
Install Kibana from archive on Linux or macOS | Kibana Guide [8.13] | Elastic ) but not in the Elasticsearch documentation. I will open an Elasticsearch issue to get that documented.
@ropc You had a typo in your command. It drove me crazy.
it is :
xattr -d com.apple.quarantine jdk.app
And do you have the GH issue?
@ropc You had a typo in your command. It drove me crazy.
My apologies - there was a typo indeed (I edited the comment).
And do you have the GH issue?
This is the Github issue: Add macOS Gatekeeper warnings in the installation steps for macOS · Issue #107748 · elastic/elasticsearch · GitHub
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.