batmon-ha icon indicating copy to clipboard operation
batmon-ha copied to clipboard

Error on install

Open JeffyBeepBoop opened this issue 2 years ago • 3 comments

"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!)

JeffyBeepBoop avatar Sep 25 '22 20:09 JeffyBeepBoop

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

fl4p avatar Oct 10 '22 13:10 fl4p

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?

JeffyBeepBoop avatar Nov 04 '22 21:11 JeffyBeepBoop

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.

image

JeffyBeepBoop avatar Nov 04 '22 22:11 JeffyBeepBoop

I have the same issue.

DragotaDarius avatar Dec 09 '22 08:12 DragotaDarius

Please try version 0.0.50, which doesn't fix the error but gives more insights on what package actually causes the error

fl4p avatar Feb 03 '23 12:02 fl4p

Closed due to inactivity. Please create a new issue if still present

fl4p avatar Feb 23 '23 22:02 fl4p