I am trying to install the Gobel Battery HA addon on Home assistant Green.
But part way through the installation it fails:
Can someone please help me to fix the problem?
Failed to install app
An unknown error occurred while trying to build the image for app 8c6a0e14_gobel_battery_monitor. CheSupervisor
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 847B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2)
#1 DONE 0.0s
#2 [internal] load metadata for Package amd64-base · GitHub
#2 DONE 1.3s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [ 1/16] FROM ghcr.io/home-assistant/amd64-base:latest@sha256:2b60b12b34ccd960fda082d223b40dbb2b0bb40af95f12912233b736f27fc47a
#4 resolve ghcr.io/home-assistant/amd64-base:latest@sha256:2b60b12b34ccd960fda082d223b40dbb2b0bb40af95f12912233b736f27fc47a 0.0s done
#4 CACHED
#5 [internal] load build context
#5 transferring context: 363.77kB 0.0s done
#5 DONE 0.1s
#6 [ 2/16] RUN apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base
#6 5.253 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
#6 10.26 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
#6 10.26 2 unavailable, 0 stale; 50 distinct packages available
#6 ERROR: process "/bin/ash -o pipefail -c apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base" did not complete successfully: exit code: 2
[ 2/16] RUN apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base:
5.253 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
10.26 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
10.26 2 unavailable, 0 stale; 50 distinct packages available
1 warning found (use docker --debug to expand):
- InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2)
Dockerfile:5
4 | # Install Python3, pip3, and build dependencies
5 | >>> RUN apk update && apk add --no-cache
6 | >>> python3
7 | >>> py3-pip
8 | >>> py3-pyserial
9 | >>> py3-paho-mqtt
10 | >>> py3-requests
11 | >>> build-base
| 12 |
|---|
| ERROR: failed to build: failed to solve: process "/bin/ash -o pipefail -c apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base" did not complete successfully: exit code: 2 |
| 2026-06-20 04:56:35.336 ERROR (MainThread) [supervisor.apps.app] Could not build image for app 8c6a0e14_gobel_battery_monitor: Docker build failed for 8c6a0e14/amd64-addon-gobel_battery_monitor:1.9.79 (exit code 1). Build output: |
| #0 building with "default" instance using docker driver |
| #1 [internal] load build definition from Dockerfile |
| #1 transferring dockerfile: 847B done |
| #1 WARN: InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2) |
| #1 DONE 0.0s |
| #2 [internal] load metadata for Package amd64-base · GitHub |
| #2 DONE 1.3s |
| #3 [internal] load .dockerignore |
| #3 transferring context: 2B done |
| #3 DONE 0.0s |
| #4 [ 1/16] FROM ghcr.io/home-assistant/amd64-base:latest@sha256:2b60b12b34ccd960fda082d223b40dbb2b0bb40af95f12912233b736f27fc47a |
| #4 resolve ghcr.io/home-assistant/amd64-base:latest@sha256:2b60b12b34ccd960fda082d223b40dbb2b0bb40af95f12912233b736f27fc47a 0.0s done |
| #4 CACHED |
| #5 [internal] load build context |
| #5 transferring context: 363.77kB 0.0s done |
| #5 DONE 0.1s |
| #6 [ 2/16] RUN apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base |
| #6 5.253 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later) |
| #6 10.26 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later) |
| #6 10.26 2 unavailable, 0 stale; 50 distinct packages available |
| #6 ERROR: process "/bin/ash -o pipefail -c apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base" did not complete successfully: exit code: 2 |
[ 2/16] RUN apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base:
5.253 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
10.26 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
10.26 2 unavailable, 0 stale; 50 distinct packages available
1 warning found (use docker --debug to expand):
- InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2)
Dockerfile:5
4 | # Install Python3, pip3, and build dependencies
5 | >>> RUN apk update && apk add --no-cache
6 | >>> python3
7 | >>> py3-pip
8 | >>> py3-pyserial
9 | >>> py3-paho-mqtt
10 | >>> py3-requests
11 | >>> build-base
| 12 |
|---|
| ERROR: failed to build: failed to solve: process "/bin/ash -o pipefail -c apk update && apk add --no-cache python3 py3-pip py3-pyserial py3-paho-mqtt py3-requests build-base" did not complete successfully: exit code: 2ck Supervisor logs for details: |