# Trying to install InfluxDb 2.0 beta on Raspberry Pi 4b w/ 4Gb RAM

**URL:** <https://community.influxdata.com/t/trying-to-install-influxdb-2-0-beta-on-raspberry-pi-4b-w-4gb-ram/13153>\
**Category:** InfluxDB 2\
**Created:** [February 22, 2020, 10:39pm UTC](https://community.influxdata.com/t/trying-to-install-influxdb-2-0-beta-on-raspberry-pi-4b-w-4gb-ram/13153 "2020-02-22T22:39:01Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![cinhcet](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@cinhcet](https://community.influxdata.com/u/cinhcet)\
**Post date:** [June 6, 2020, 10:46pm UTC](https://community.influxdata.com/t/trying-to-install-influxdb-2-0-beta-on-raspberry-pi-4b-w-4gb-ram/13153/8 "2020-06-06T22:46:59Z")

</div>

I managed to somehow build v2 on an armv7l device.  
First things first, influxd seems to run, I can access the ui, writing to the database also works, but every query fails with  
`error	a panic has occurred	{"log_id": "0NEwPGD0000", "handler": "panic", "error": "runtime error: invalid memory address or nil pointer dereference"}`

So not really usable at the moment. There is also an open issue [Add support for ARM architecture · Issue #2505 · influxdata/flux · GitHub](https://github.com/influxdata/flux/issues/2505) that flux does not support arm at the moment. For me, it even fails without these query, every query fails.

Just in case somebody wants to try.  
What I had to do (please note that some steps might be unnecessary in hindsight)

- Install `libprotobuf-dev libprotoc-dev bazaar protobuf pkg-config` via apt-get
- Install clang (I install clang-8, not sure if necessary)
- Install go according to docs.
- Install rust via [https://rustup.rs/](https://rustup.rs/)
- Have nodejs installed
- install yarn via `npm install -g yarn`
- I had to call `rustup target add arm-unknown-linux-gnueabihf`
- `go build -o ~/go/bin/ github.com/influxdata/pkg-config`
- `export PATH=$PATH:/usr/local/go/bin`
- `export PATH=$HOME/go/bin:${PATH}`

Now to the ugly bits:

- cypress did not install for me. Therefore, I removed the cypress dependencies from the package.json in ui. As far as I can tell, cypress is only needed for testing
- then you can finally run `make`, but this will fail for `influxd` and `influx`, due to some `int` vs `int64` error. I had to fix source code at two places. The error message will tell you where. make takes ages, especially bundling the ui and requires a lot of RAM (again ui only)

Is there any time frame when arm might be supported in flux and influxdb v2?  
I can also test things, since I now have a kind of build chain

---

_[View the full topic](https://community.influxdata.com/t/trying-to-install-influxdb-2-0-beta-on-raspberry-pi-4b-w-4gb-ram/13153)._
