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

Linux ARM packages #3213

Closed
Gon3s opened this issue Feb 28, 2015 · 14 comments
Closed

Linux ARM packages #3213

Gon3s opened this issue Feb 28, 2015 · 14 comments

Comments

@Gon3s
Copy link

Gon3s commented Feb 28, 2015

I try to install kibana on ubuntu 14.04. When I run ./bin/kibana i have errors :

./bin/../node/bin/node: 1: ./bin/../node/bin/node:ELF: not found
./bin/../node/bin/node: 2: ./bin/../node/bin/node: W: not found
./bin/../node/bin/node: 2: ./bin/../node/bin/node: -NE: not found
./bin/../node/bin/node: 4: ./bin/../node/bin/node: Syntax error: "(" unexpected

@rashidkpc
Copy link
Contributor

I would suspect you are using the wrong architecture, but I can't be sure. I'm unable to replicate this issue

@Gon3s
Copy link
Author

Gon3s commented Mar 2, 2015

I don't understand wrong architecture? Did you mean 32/64 bits ?

@rashidkpc
Copy link
Contributor

yes

@Gon3s
Copy link
Author

Gon3s commented Mar 3, 2015

It's arm architecture.

uname -a return :

Linux labs-33ce22 3.17.0-119 #1 SMP Thu Nov 20 14:15:44 CET 2014 armv7l armv7l armv7l GNU/Linux

@bluepuma77
Copy link

Standard Kibana4 packages are for Mac, Windows, Linux-32 and Linux 64-bit.

But it's all for x86 architecture (Intel, AMD) and probably won't run on ARM.

@rashidkpc
Copy link
Contributor

Indeed, we do not provide pre-build binaries for ARM, you will need to add a build target and compile kibana on your own

@rashidkpc rashidkpc changed the title Can't run ./bin/kibana Linux ARM packages Mar 5, 2015
@himslm01
Copy link

Elastic host debs for elasticsearch and logstash which work on armv6l (yes, I know, they are Java which will 'run everywhere') for instance, on the armhf architecture of a Raspberry Pi. It would be really cool if you did the same for Kibana.

@stjhimy
Copy link

stjhimy commented Mar 16, 2015

Had the same issue, it was wrong architecture as @rashidkpc mentioned.

@bosfan265
Copy link

When I switch architecture, I get: ./bin/../node/bin/node: Syntax error: "(" unexpected But I do not get the other commands

@martinsbalodis
Copy link

My workaround for arm:

  • Install nodejs, npm (nodejs has arm repositories)
  • Dowload kibana binary and extract it
  • Remove src/node_modules
  • Install node_modules npm install --production in src directory
  • Change node path in bin/kibana to NODE=/usr/bin/nodejs

@ssbb
Copy link

ssbb commented Nov 12, 2015

x86 works fine on scaleway. Just need to change path to node in bin/kibana

@rashidkpc rashidkpc added the P5 label Jan 11, 2016
@rashidkpc
Copy link
Contributor

I'm going to close this since we don't plan to provide these. If ARM packages are required you'll need to build from source. We'd probably take a pull to implement this.

@mmairs
Copy link

mmairs commented Feb 17, 2016

Thank you martinsbalodis! Had to symlink src up a directory as well, but yay nodejs!

@Galilyou
Copy link

For everyone coming here, @martinsbalodis solution works. You don't need to remove the node_modules dir, changing the node path in kibana should be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants