chrisys / background-radiation-monitor

Monitor and record background radiation levels with a cheap detector and a Raspberry Pi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Influxdb not building correctly

jaredmeyers opened this issue · comments

I've been trying to follow your tutorial but it does not build successfully in Balena.

`fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armhf/APKINDEX.tar.gz
ERROR: unable to select packages:

influxdb (no such package):
required by: world[influxdb]
Removing intermediate container 4d7e364b85d6
The command '/bin/sh -c apk add influxdb' returned a non-zero code: 1`

How do I fix this issue? I'm using a Raspberry Pi Zero W.
Thanks!

@jaredmeyers thanks for trying the project, but I don't think InfluxDB packages are available for the Pi Zero with the latest version of Alpine.

What you can do is try changing the first line of influxdb/Dockerfile.template to FROM balenalib/%%BALENA_MACHINE_NAME%%-alpine:3.11. This will specify to use the older version of Alpine for which an InfluxDB package for Pi Zero does exist.

If it does work please feel free to PR the change to the project! :)