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

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 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/
  • 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