-
-
Notifications
You must be signed in to change notification settings - Fork 17
Description
HA Add-on fails to upgrade from .20 to .21 with below error:
Full error: Failed to to call /store/addons/c863ef44_diyhue/update - The command '/bin/bash -o pipefail -c cp -r /diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/' returned a non-zero code: 1
HA info output:
arch: amd64
channel: stable
docker: 27.2.0
features:
- reboot
- shutdown
- services
- network
- hostname
- timedate
- os_agent
- haos
- resolved
- journal
- disk
- mount
hassos: "13.2"
homeassistant: 2024.11.2
hostname: homeassistant
logging: info
machine: qemux86-64
operating_system: Home Assistant OS 13.2
state: running
supervisor: 2024.11.2
supported: true
supported_arch: - amd64
- i386
timezone: America/Chicago
Supervisor log:
024-11-17 19:30:59.519 ERROR (MainThread) [supervisor.docker.addon] Can't build c863ef44/amd64-addon-diyhue:2.0.21: The command '/bin/bash -o pipefail -c cp -r /diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/' returned a non-zero code: 1
2024-11-17 19:30:59.519 ERROR (MainThread) [supervisor.docker.addon] Build log:
Step 1/49 : ARG BUILD_FROM=hassioaddons/base-python:5.3.4
Step 2/49 : FROM ${BUILD_FROM}
---> 079b535a3150
Step 3/49 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
---> Using cache
---> 112688ea32e9
Step 4/49 : ARG BUILD_ARCH=aarch64
---> Using cache
---> aeef55727ca8
Step 5/49 : ENV BUILD_ARCHI = ${BUILD_ARCH}
---> Using cache
---> 2ba7160fb320
Step 6/49 : ENV LANG C.UTF-8
---> Using cache
---> 3f00300a96a6
Step 7/49 : ENV DIYHUE_VERSION=master
---> Using cache
---> cf982eacb94d
Step 8/49 : ENV WORKING_DIR=/opt/hue-emulator
---> Using cache
---> 8fd33c78ca6b
Step 9/49 : RUN mkdir diyhue config ${WORKING_DIR}
---> Using cache
---> 98b840f6720f
Step 10/49 : RUN apk add -q -u python3 openssl nmap psmisc iproute2 alpine-sdk build-base
---> Using cache
---> f1c2489adbdc
Step 11/49 : RUN apk add --no-cache bluez
---> Using cache
---> 64da8ec299e2
Step 12/49 : RUN curl -sL -o diyhue.zip https://github.com/diyhue/diyhue/archive/master.zip
---> Using cache
---> d8fddb198a88
Step 13/49 : RUN unzip -qo diyhue.zip
---> Using cache
---> f9d5f73c0a58
Step 14/49 : RUN rm diyhue.zip
---> Using cache
---> 473c0f5b802c
Step 15/49 : RUN pip3 install -r /diyHue-master/requirements.txt --no-cache-dir
---> Using cache
---> c25c8b7ad98b
Step 16/49 : RUN cp -r /diyHue-master/BridgeEmulator/flaskUI /opt/hue-emulator/
---> Using cache
---> f5ecb492d593
Step 17/49 : RUN cp -r /diyHue-master/BridgeEmulator/functions /opt/hue-emulator/
---> Using cache
---> 5cfbd2099676
Step 18/49 : RUN cp -r /diyHue-master/BridgeEmulator/lights /opt/hue-emulator/
---> Using cache
---> ed05284e9d51
Step 19/49 : RUN cp -r /diyHue-master/BridgeEmulator/sensors /opt/hue-emulator/
---> Using cache
---> dc5fb618952f
Step 20/49 : RUN cp -r /diyHue-master/BridgeEmulator/HueObjects /opt/hue-emulator/
---> Using cache
---> 4451474c46ce
Step 21/49 : RUN cp -r /diyHue-master/BridgeEmulator/services /opt/hue-emulator/
---> Using cache
---> e0f65f047160
Step 22/49 : RUN cp -r /diyHue-master/BridgeEmulator/configManager /opt/hue-emulator/
---> Using cache
---> 277a5023be7a
Step 23/49 : RUN cp -r /diyHue-master/BridgeEmulator/logManager /opt/hue-emulator/
---> Using cache
---> d1e93183ae54
Step 24/49 : RUN cp -r /diyHue-master/BridgeEmulator/HueEmulator3.py /opt/hue-emulator/
---> Using cache
---> 63eebc3faae2
Step 25/49 : RUN cp -r /diyHue-master/BridgeEmulator/githubInstall.sh /opt/hue-emulator/
---> Using cache
---> d9e74cea9886
Step 26/49 : RUN cp -r /diyHue-master/BridgeEmulator/genCert.sh /diyHue-master/BridgeEmulator/openssl.conf /opt/hue-emulator/
---> Using cache
---> bccb1dada342
Step 27/49 : RUN curl -sL -o diyHueUI.zip https://github.com/diyhue/diyHueUI/releases/latest/download/DiyHueUI-release.zip
---> Using cache
---> 1e75b1ea77b5
Step 28/49 : RUN mkdir diyhueUI
---> Using cache
---> afd4fcfea014
Step 29/49 : RUN unzip -qo diyHueUI.zip -d diyhueUI
---> Using cache
---> 645887f79308
Step 30/49 : RUN rm diyHueUI.zip
---> Using cache
---> c5906d3c0c4f
Step 31/49 : RUN cp -r /diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/
---> Running in a6fcf4789b6a
cp: can't stat '/diyhueUI/dist/index.html': No such file or directory
---> Removed intermediate container a6fcf4789b6a
2024-11-17 19:31:29.922 INFO (SyncWorker_5) [supervisor.docker.manager] Stopping addon_c863ef44_diyhue application
2024-11-17 19:31:30.242 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_c863ef44_diyhue application
2024-11-17 19:31:30.441 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on c863ef44/amd64-addon-diyhue with version 2.0.20
2024-11-17 19:31:30.928 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from c863ef44_diyhue
Any ideas?