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

Error installing on ubuntu linux #46

Closed
g13ydson opened this issue Oct 3, 2018 · 3 comments
Closed

Error installing on ubuntu linux #46

g13ydson opened this issue Oct 3, 2018 · 3 comments

Comments

@g13ydson
Copy link
Contributor

g13ydson commented Oct 3, 2018

I'm trying to install on Ubuntu 18, but this bug is appearing when installing Kibana. Elasticsearch is installed successfully.

mix elasticsearch.install . --version 6.2.4

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27.7M 100 27.7M 0 0 1392k 0 0:00:20 0:00:20 --:--:-- 1976k

** (Mix) Unsupported system for Kibana: {:unix, :linux}

@danielberkompas
Copy link
Owner

@g13ydson See these lines:

https://github.com/infinitered/elasticsearch-elixir/blob/3ab2ca4e13bb2e7fdf4e144951753f4e340dce11/lib/mix/elasticsearch.install.ex#L45-L51

We might possibly be able to fix this by adding a {:unix, :linux} clause to the case statement, returning "kibana-#{version}-linux-x86_64". It just depends on where Elasticsearch hosts the Kibana tar for Linux.

I don't have access to a Linux machine at the moment. Could you try making this change and see if it works?

@g13ydson
Copy link
Contributor Author

g13ydson commented Oct 3, 2018

Yes, you're right @danielberkompas . I added the case statement and it worked perfectly. I created a pull request #47 with the fix. Thank you.

@danielberkompas
Copy link
Owner

I released a new version with this change: 0.5.4.

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

2 participants