Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Influxdb not building correctly #3

Open
jaredmeyers opened this issue Sep 4, 2021 · 1 comment
Open

Influxdb not building correctly #3

jaredmeyers opened this issue Sep 4, 2021 · 1 comment

Comments

@jaredmeyers
Copy link

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!

@chrisys
Copy link
Owner

chrisys commented Sep 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants