OpenClawHomeAssistant icon indicating copy to clipboard operation
OpenClawHomeAssistant copied to clipboard

bug: Typo in Openclaw version in Dockerfile

Open G0RIAN opened this issue 3 months ago • 1 comments

Pre-flight checks

  • [x] I updated to the latest add-on version and restarted it.
  • [x] I checked the docs/troubleshooting section first.

What happened?

Updating the app to 0.5.86 runs into the error: npm error notarget No matching version found for [email protected]

What did you expect to happen?

npm installs the OpenClaw package 2026.7.1-2.

Steps to reproduce

Update OpenClaw assistant from 0.5.85 to 0.5.86.

Add-on version

0.5.86

OpenClaw version (if known)

2026.7.1-2-2

Access mode

lan_https

Relevant add-on configuration (redacted)


Add-on logs

#18 [14/24] RUN npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]
#18 16.64 npm error code ETARGET
#18 16.64 npm error notarget No matching version found for [email protected].
#18 16.64 npm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.
#18 16.66 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-10T14_09_15_820Z-debug-0.log

Additional context

Seems like 2026.7.1-2 (without the duplicate -2) should be the correct OpenClaw version to download.

G0RIAN avatar Aug 10 '26 14:08 G0RIAN

+1

2026-08-10 16:38:37.015 ERROR (MainThread) [supervisor.docker.app] Docker build failed for 17e0cc66/amd64-addon-openclaw_assistant:0.5.86 (exit code 1). Build output:
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 6.13kB 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 ghcr.io/home-assistant/amd64-base-debian:bookworm
#2 DONE 0.7s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [ 1/24] FROM ghcr.io/home-assistant/amd64-base-debian:bookworm@sha256:84023298f975360b4350fe76118a1a5b117ff8f7ca5249d6398381659051aba3
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 105.58kB done
#5 DONE 0.0s
#6 [ 3/24] RUN mkdir -p /etc/apt/keyrings     && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key     | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg     && chmod 644 /etc/apt/keyrings/nodesource.gpg     && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main"     > /etc/apt/sources.list.d/nodesource.list     && apt-get update     && apt-get install -y --no-install-recommends nodejs     && NODE_VERSION="$(node -v)"     && echo "$NODE_VERSION"     && echo "$NODE_VERSION" | grep -E '^v24\.'     && rm -f /etc/apt/sources.list.d/nodesource.list /etc/apt/keyrings/nodesource.gpg     && apt-get clean     && rm -rf /var/lib/apt/lists/*
#6 CACHED
#7 [ 6/24] RUN npm install -g pnpm && pnpm -v
#7 CACHED
#8 [ 8/24] RUN useradd -m -s /bin/bash linuxbrew     && mkdir -p /home/linuxbrew/.linuxbrew     && chown -R linuxbrew:linuxbrew /home/linuxbrew
#8 CACHED
#9 [10/24] RUN if [ -d /home/linuxbrew/.linuxbrew/Homebrew ]; then     cd /home/linuxbrew/.linuxbrew/Homebrew &&     git config --global --add safe.directory /home/linuxbrew/.linuxbrew/Homebrew &&     /home/linuxbrew/.linuxbrew/bin/brew update --force || true;     fi
#9 CACHED
#10 [ 9/24] RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ||     (echo "WARNING: Homebrew installation failed (likely unsupported CPU - requires SSSE3). Some skills may not work." && exit 0)
#10 CACHED
#11 [ 4/24] RUN ARCH=$(echo amd64 | sed 's|arm64|aarch64|;s|arm/v7|armhf|;s|armv7|armhf|;s|amd64|x86_64|')     && echo "Downloading ttyd for arch: ${ARCH}"     && curl -fsSL "https://github.com/tsl0922/ttyd/releases/download/1.7.7/ttyd.${ARCH}" -o /usr/local/bin/ttyd     && chmod +x /usr/local/bin/ttyd
#11 CACHED
#12 [11/24] COPY brew-wrapper.sh /usr/local/bin/brew
#12 CACHED
#13 [12/24] RUN chmod +x /usr/local/bin/brew
#13 CACHED
#14 [ 7/24] RUN apt-get update && apt-get install -y --no-install-recommends     chromium     chromium-driver     && apt-get clean     && rm -rf /var/lib/apt/lists/*
#14 CACHED
#15 [ 5/24] RUN node -v && npm -v
#15 CACHED
#16 [ 2/24] RUN apt-get update && apt-get install -y --no-install-recommends     bash     git     openssh-client     ca-certificates     tzdata     jq     curl     tar     xz-utils     file     python3     cmake     nginx     gnupg     build-essential     sudo     vim     nano     fd-find     ripgrep     rsync     bat     less     openssl     && apt-get clean     && rm -rf /var/lib/apt/lists/*
#16 CACHED
#17 [13/24] RUN if [ -x /home/linuxbrew/.linuxbrew/bin/brew ]; then     /home/linuxbrew/.linuxbrew/bin/brew --version &&     /home/linuxbrew/.linuxbrew/bin/brew install gcc || true;     else     echo "Skipping gcc installation - Homebrew not available";     fi
#17 CACHED
#18 [14/24] RUN npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]
#18 14.07 npm error code ETARGET
#18 14.07 npm error notarget No matching version found for [email protected].
#18 14.07 npm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.
#18 14.08 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-10T14_38_23_851Z-debug-0.log
#18 ERROR: process "/bin/bash -o pipefail -c npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]" did not complete successfully: exit code: 1
------
 > [14/24] RUN npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]:
14.07 npm error code ETARGET
14.07 npm error notarget No matching version found for [email protected].
14.07 npm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.
14.08 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-10T14_38_23_851Z-debug-0.log
------
 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:123
--------------------
 122 |     # The image now ships Node 24, so use the current mcporter line.
 123 | >>> RUN npm config set fund false && npm config set audit false \
 124 | >>>     && npm install -g [email protected] [email protected] [email protected]
 125 |     
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -c npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]" did not complete successfully: exit code: 1
2026-08-10 16:38:37.015 ERROR (MainThread) [supervisor.apps.app] Could not build image for app 17e0cc66_openclaw_assistant: Docker build failed for 17e0cc66/amd64-addon-openclaw_assistant:0.5.86 (exit code 1). Build output:
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 6.13kB 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 ghcr.io/home-assistant/amd64-base-debian:bookworm
#2 DONE 0.7s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [ 1/24] FROM ghcr.io/home-assistant/amd64-base-debian:bookworm@sha256:84023298f975360b4350fe76118a1a5b117ff8f7ca5249d6398381659051aba3
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 105.58kB done
#5 DONE 0.0s
#6 [ 3/24] RUN mkdir -p /etc/apt/keyrings     && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key     | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg     && chmod 644 /etc/apt/keyrings/nodesource.gpg     && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main"     > /etc/apt/sources.list.d/nodesource.list     && apt-get update     && apt-get install -y --no-install-recommends nodejs     && NODE_VERSION="$(node -v)"     && echo "$NODE_VERSION"     && echo "$NODE_VERSION" | grep -E '^v24\.'     && rm -f /etc/apt/sources.list.d/nodesource.list /etc/apt/keyrings/nodesource.gpg     && apt-get clean     && rm -rf /var/lib/apt/lists/*
#6 CACHED
#7 [ 6/24] RUN npm install -g pnpm && pnpm -v
#7 CACHED
#8 [ 8/24] RUN useradd -m -s /bin/bash linuxbrew     && mkdir -p /home/linuxbrew/.linuxbrew     && chown -R linuxbrew:linuxbrew /home/linuxbrew
#8 CACHED
#9 [10/24] RUN if [ -d /home/linuxbrew/.linuxbrew/Homebrew ]; then     cd /home/linuxbrew/.linuxbrew/Homebrew &&     git config --global --add safe.directory /home/linuxbrew/.linuxbrew/Homebrew &&     /home/linuxbrew/.linuxbrew/bin/brew update --force || true;     fi
#9 CACHED
#10 [ 9/24] RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ||     (echo "WARNING: Homebrew installation failed (likely unsupported CPU - requires SSSE3). Some skills may not work." && exit 0)
#10 CACHED
#11 [ 4/24] RUN ARCH=$(echo amd64 | sed 's|arm64|aarch64|;s|arm/v7|armhf|;s|armv7|armhf|;s|amd64|x86_64|')     && echo "Downloading ttyd for arch: ${ARCH}"     && curl -fsSL "https://github.com/tsl0922/ttyd/releases/download/1.7.7/ttyd.${ARCH}" -o /usr/local/bin/ttyd     && chmod +x /usr/local/bin/ttyd
#11 CACHED
#12 [11/24] COPY brew-wrapper.sh /usr/local/bin/brew
#12 CACHED
#13 [12/24] RUN chmod +x /usr/local/bin/brew
#13 CACHED
#14 [ 7/24] RUN apt-get update && apt-get install -y --no-install-recommends     chromium     chromium-driver     && apt-get clean     && rm -rf /var/lib/apt/lists/*
#14 CACHED
#15 [ 5/24] RUN node -v && npm -v
#15 CACHED
#16 [ 2/24] RUN apt-get update && apt-get install -y --no-install-recommends     bash     git     openssh-client     ca-certificates     tzdata     jq     curl     tar     xz-utils     file     python3     cmake     nginx     gnupg     build-essential     sudo     vim     nano     fd-find     ripgrep     rsync     bat     less     openssl     && apt-get clean     && rm -rf /var/lib/apt/lists/*
#16 CACHED
#17 [13/24] RUN if [ -x /home/linuxbrew/.linuxbrew/bin/brew ]; then     /home/linuxbrew/.linuxbrew/bin/brew --version &&     /home/linuxbrew/.linuxbrew/bin/brew install gcc || true;     else     echo "Skipping gcc installation - Homebrew not available";     fi
#17 CACHED
#18 [14/24] RUN npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]
#18 14.07 npm error code ETARGET
#18 14.07 npm error notarget No matching version found for [email protected].
#18 14.07 npm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.
#18 14.08 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-10T14_38_23_851Z-debug-0.log
#18 ERROR: process "/bin/bash -o pipefail -c npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]" did not complete successfully: exit code: 1
------
 > [14/24] RUN npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]:
14.07 npm error code ETARGET
14.07 npm error notarget No matching version found for [email protected].
14.07 npm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.
14.08 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-10T14_38_23_851Z-debug-0.log
------
 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:123
--------------------
 122 |     # The image now ships Node 24, so use the current mcporter line.
 123 | >>> RUN npm config set fund false && npm config set audit false \
 124 | >>>     && npm install -g [email protected] [email protected] [email protected]
 125 |     
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -c npm config set fund false && npm config set audit false     && npm install -g [email protected] [email protected] [email protected]" did not complete successfully: exit code: 1
2026-08-10 16:41:06.096 WARNING (MainThread) [supervisor.apps.options] Option 'anonymous' does not exist in the schema for Mosquitto broker (core_mosquitto)
2026-08-10 16:41:06.096 WARNING (MainThread) [supervisor.apps.options] Option 'retain' does not exist in the schema for Mosquitto broker (core_mosquitto)

ZhenyaRUS39 avatar Aug 10 '26 14:08 ZhenyaRUS39