batmon-ha
batmon-ha copied to clipboard
Error on install
"The command '/bin/ash -o pipefail -c apk add --no-cache python3 bluez py-pip git' returned a non-zero code: 4"
Any clues on how to get this to work? Rpi4, Twister OS, HA Supervised
(Also, thanks for making this, super handy!)
Never heard of exit code 4. Maybe a permission / disk space error?
To track this down, please edit Dockerfile
and replace the lines
RUN \
apk add --no-cache \
python3 bluez py-pip git
with
RUN apk add --no-cache python3
RUN apk add --no-cache py-pip
RUN apk add --no-cache bluez
RUN apk add --no-cache git
Sorry, I'm kinda new to how add-ons work. How would I edit that file within the flow of using the Add-on/repo? When I add the repo, does it download it somewhere? I can also install a separate Docker container.
Just checked again and still getting the same error after clicking install. Could it be something to do with 32bit Raspberry PiOS?
Made a fork of the repo to test the changes you suggested. Error seems similar? Still error code 4.
My disk, according to HA is only 40% full, so should have space.
I have the same issue.
Please try version 0.0.50, which doesn't fix the error but gives more insights on what package actually causes the error
Closed due to inactivity. Please create a new issue if still present