-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Kibana fails to start on macOS Catalina #50104
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
@elasticmachine any updates on above issue ? |
We're working to notarize our assets, but we're blocked on some upstream dependencies to do so, like Node. The issues you linked are for Elasticsearch, not Kibana. You can either download with cURL (or something that does not apply the |
I have similar issue on my upgraded Catalina mac $ bin/kibana FATAL Error: dlopen(/Users/neeraj/Elasticsearch/kibana-7.4.2-darwin-x86_64/node_modules/@elastic/nodegit/build/Release/nodegit.node, 1): no suitable image found. Did find: |
@Neyadav2 Looks like the exact same error. I was able to fix it temporarily by running the command shared by @tylersmalley (thanks!). |
@andy0708 Yes this error is fixed by mentioned command. Thanks @tylersmalley and @andy0708 |
I am also facing same issue with 7.4.2 version. i did not understand how to remove the attribute with xattr -d com.apple.quarantine kibana-7.4.2-darwin-x86_64.tar.gz, Can u tell exactly what need to do after downloading from elastic search website ? |
Closing, as there is a workaround in prior versions and we are notarizing assets as of 7.5.0 |
Although the error is different, this still seems to be an issue. I have been experiencing this all the way from version 7.4.x to 7.7.0. I am not 100% sure if this is directly related, as my technical insight into what causes this is non-existent. However, the proposed workaround does solve the issue, so I guess it is related. |
Try this: system preferences > security and privacy > developer tools. Edit to allow the terminal to run software that doesn't meet the system security preferences. |
There is documentation here on how to allow the node binary to run https://www.elastic.co/guide/en/kibana/7.7/targz.html#install-darwin64. Node started providing notarized releases somewhat recently nodejs/node#29216 (comment), so once the newer node is bundled into Kibana hopefully this workaround won't be necessary. |
Kibana version:
7.4.2
Elasticsearch version:
7.4.2
Server OS version:
10.15.1 (19B88)
Original install method (e.g. download page, yum, from source, etc.):
Download page
Describe the bug:
When starting up Kibana 7.4.2 (and almost certainly previous versions, too), the below dialog appears.
Clicking "Cancel" triggers the below stack trace within the terminal and causes Kibana to fail starting up.
Steps to reproduce:
bin/kibana
Expected behavior:
Kibana starts up correctly.
Any additional context:
It seems like this is related to the new security mechanism in macOS Catalina, which require apps to be signed and notarized. The same was an issue for Elasticsearch (although for different files), but it was fixed in version 7.4.1 (see elastic/elasticsearch#46498 and elastic/elasticsearch#48490).
The text was updated successfully, but these errors were encountered: