Hi there, I was following the tutorial https://www.balena.io/blog/build-an-environment-and-air-quality-monitor-with-raspberry-pi/
Tried it with two different Pi Zero W’s and also different SD cards, flashing on Windows and Mac OS, always resulting in the following issue after executing
balena push
The error is
[sensor] Step 8/11 : WORKDIR /usr/src/app
[sensor] Using cache
[sensor] —> 8f332c9e6c91
[sensor] Step 9/11 : COPY ./scripts ./scripts
[sensor] Using cache
[sensor] —> 49a7feee0c0c
[sensor] Step 10/11 : RUN chmod +x scripts/*.py
[sensor] Using cache
[sensor] —> e9e76446e216
[sensor] Step 11/11 : CMD /usr/src/app/scripts/take_measurement.py
[sensor] Using cache
[sensor] —> c21b5aee0122
[sensor] Successfully built c21b5aee0122
[grafana] —> Running in 52ac67971536
[grafana] /bin/sh: 1: /usr/src/app/download.sh: Permission denied
[grafana]
[grafana] Removing intermediate container 52ac67971536
[Info] Uploading images
[grafana] The command ‘/bin/sh -c /usr/src/app/download.sh “raspberry-pi”’ returned a non-zero code: 126
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: grafana
[Error] Error: The command ‘/bin/sh -c /usr/src/app/download.sh “raspberry-pi”’ returned a non-zero code: 126
[Error] Not deploying release.
Remote build failed
Additional information may be available in debug mode. Prefix the command
line with DEBUG=1, i.e.: DEBUG=1 balena ...
If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io
For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/
Any help appreciated I am really running out of ideas…