background-radiation-monitor icon indicating copy to clipboard operation
background-radiation-monitor copied to clipboard

Influxdb not building correctly

Open jaredmeyers opened this issue 4 years ago • 1 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 avatar Sep 04 '21 05:09 jaredmeyers

@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! :)

chrisys avatar Sep 06 '21 17:09 chrisys