Kibana: Linux ARM packages

Created on 28 Feb 2015  路  14Comments  路  Source: elastic/kibana

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

enhancement

Most helpful comment

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

All 14 comments

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

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

yes

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

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.

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

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.

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

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

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

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

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.

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

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.

Was this page helpful?
0 / 5 - 0 ratings