# Kibana 7.11.1 failing on Docker 7 Raspberry PI4 (arm7)

**URL:** <https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [February 21, 2021, 1:07pm UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984 "2021-02-21T13:07:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssddgreg](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@ssddgreg](https://discuss.elastic.co/u/ssddgreg)\
**Post date:** [February 21, 2021, 1:07pm UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/1 "2021-02-21T13:07:49Z")

</div>

Hi,

I am trying to run Kibana `7.11.1` as a Docker container on Raspberry Pi 4. I can build the image, however I hit the following error on docker run:

```auto
    {"type":"log","@timestamp":"2021-02-21T13:02:58+00:00","tags":["fatal","root"],"pid":16,"message":"Error: /usr/share/kibana/node_modules/re2/build/Release/re2.node: wrong ELF class: ELFCLASS64\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Module.require (internal/modules/cjs/loader.js:952:19)\n at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:80:39)\n at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:80:39)\n at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:80:39)\n at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:80:39)\n at Module.Hook._require.Module.require (/usr/share/kibana/node_modules/require-in-the-middle/index.js:80:39)\n at require (internal/modules/cjs/helpers.js:88:18)\n at Object.<anonymous> (/usr/share/kibana/node_modules/re2/re2.js:3:13)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Module.require (internal/modules/cjs/loader.js:952:19)"}

     FATAL Error: /usr/share/kibana/node_modules/re2/build/Release/re2.node: wrong ELF class: ELFCLASS64

```

\_\_

```
Here is my Dockerfile as a reference:

```

```auto
    FROM balenalib/raspberrypi3-debian:latest

    ENV ES_VERSION=7.11.1 \
        ES_OS=linux \
        ES_ARCH=x86_64 \
        JAVA_VERSION=11 \
        KIBANA_HOME=/usr/share/kibana \
        ES_HOST=127.0.0.1 \
        SERVER_HOST=0.0.0.0 \
        ES_PORT=9200 \
        ES_PROTO=http \
        NODE_HOME=/usr/share/nodejs \
        NODE_VERSION=14.15.4 \
        NODE_ARCH=armv7l

    COPY ./kibana_env.sh ./kibana_start.sh /

    RUN chmod +x /kibana_env.sh && \
      chmod +x /kibana_start.sh && \
      apt-get update && \
      apt-get -qy install bash curl libkrb5-dev ca-certificates openjdk-$JAVA_VERSION-jdk openjdk-$JAVA_VERSION-jre telnet net-tools && \
      curl -fsSL https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$NODE_ARCH.tar.gz -o node.tgz && \
      curl -fsSL https://artifacts.elastic.co/downloads/kibana/kibana-$ES_VERSION-$ES_OS-$ES_ARCH.tar.gz -o kibana.tgz && \
      tar xvzf kibana.tgz > /dev/null 2>&1 && \
      tar xvzf node.tgz > /dev/null 2>&1 && \
      mv kibana-$ES_VERSION-$ES_OS-$ES_ARCH $KIBANA_HOME && \
      mv node-v$NODE_VERSION-linux-$NODE_ARCH $NODE_HOME && \
      ln -s $NODE_HOME/bin/node /usr/bin && \
      rm -rf node.tgz && \
      rm -rf kibana.tgz && \
      sed -i "s/.*NODE\=.*/NODE=\/usr\/bin\/node/g" $KIBANA_HOME/bin/kibana && \
      echo $KIBANA_HOME/bin/kibana --allow-root > $KIBANA_HOME/kibana_start.sh && \
      chmod +x $KIBANA_HOME/kibana_start.sh && \
      echo "server.host: KIBANA_HOST" >> $KIBANA_HOME/config/kibana.yml && \
      echo "elasticsearch.hosts: [\"ES_PROTO://ES_HOST:ES_PORT\"]" >> $KIBANA_HOME/config/kibana.yml

    EXPOSE 5601

    CMD ["/kibana_start.sh"]

```

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [February 25, 2021, 12:59pm UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/2 "2021-02-25T12:59:17Z")

</div>

I can't see Kibana dist for 32bit OS on [Download Kibana Free | Get Started Now | Elastic | Elastic](https://www.elastic.co/downloads/kibana)  
You might have to install one of the supported OS. See [Elastic Support Matrix | Elasticsearch](https://www.elastic.co/support/matrix)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 25, 2021, 1:00pm UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/3 "2021-03-25T13:00:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 29, 2021, 10:55pm UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/4 "2021-06-29T22:55:26Z")

</div>



---

<div class="post-metadata">

**Author:** ![ineumann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ineumann/32/90983_2.png) [@ineumann](https://discuss.elastic.co/u/ineumann)\
**Post date:** [June 29, 2021, 11:08pm UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/5 "2021-06-29T23:08:29Z")

</div>

Hi

I recognise the Dockerfile of this repo: [oss / elasticstack / elasticstack-arm · GitLab](https://gitlab.comwork.io/oss/elasticstack/elasticstack-arm)

It was wrote for the 7.9.x and 7.10.x versions and worked well that time. Now I upgraded it with the 7.13.2 version and solve this issue : just made a rebuild the "re2" lib of nodejs on a 32 bits OS and copy the result in the Dockerfile sources.

You can directly pull those images on the docker hub (no need to rebuild if you don't make some changes):  
[https://hub.docker.com/repository/docker/comworkio/kibana](https://hub.docker.com/repository/docker/comworkio/kibana)  
[https://hub.docker.com/repository/docker/comworkio/elasticsearch](https://hub.docker.com/repository/docker/comworkio/elasticsearch)

Those images are working well on 32 and 64 bits OS with this upgrade. Now elastic are officially providing images for ARM 64 but I'll continue to maintain this repo because I think it remain many people that are using 32 bits OS on their raspberrypi because it still the recommended version of the raspberrypi OS by the raspberrypi foundation, the ARM64 version is still in beta. Of course I also tested those image on manjaro for ARM64 and it also working pretty fine.

---

<div class="post-metadata">

**Author:** ![HankStarr](https://avatars.discourse-cdn.com/v4/letter/h/e0b2c6/32.png) [@HankStarr](https://discuss.elastic.co/u/HankStarr)\
**Post date:** [October 6, 2021, 8:55am UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/6 "2021-10-06T08:55:23Z")

</div>

Hi....I just got 7.6.2 running on a Rpi 4B this end of the week. I need a cycle of time to go through my order history and adjust the interaction however I figure I might have this done by Thursday night. Does that work for everybody here? I simply don't have any desire to put out bearings that don't work since I hurried through them. I most definitely can't stand when steps get forgotten about or disregarded.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 8:24am UTC](https://discuss.elastic.co/t/kibana-7-11-1-failing-on-docker-7-raspberry-pi4-arm7/264984/7 "2022-11-04T08:24:42Z")

</div>


