Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant Update Fails #1051

Closed
bobbinz opened this issue Nov 18, 2024 · 3 comments
Closed

Home Assistant Update Fails #1051

bobbinz opened this issue Nov 18, 2024 · 3 comments

Comments

@bobbinz
Copy link

bobbinz commented Nov 18, 2024

Issue does not already exist?

I have searched and found no existing issue

Select Environment

Docker

Home Assistant related?

Yes

Description

Hello,

Trying to upgrade from Home Assistant DIY Hue Add On version 2.0.20 to version 2.0.21 and get the following error:

Errorlog:

2024-11-18 11:52:36.998 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-18 11:52:36.998 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
 ---> f715d32e5dd2
Step 4/49 : ARG BUILD_ARCH=aarch64
 ---> Using cache
 ---> 8ea37de8d7f4
Step 5/49 : ENV BUILD_ARCHI = ${BUILD_ARCH}
 ---> Using cache
 ---> 71718cd9ad14
Step 6/49 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 12fe88c6464a
Step 7/49 : ENV DIYHUE_VERSION=master
 ---> Using cache
 ---> 372725e6a597
Step 8/49 : ENV WORKING_DIR=/opt/hue-emulator
 ---> Using cache
 ---> d4992aaa30e8
Step 9/49 : RUN mkdir diyhue config ${WORKING_DIR}
 ---> Using cache
 ---> 7f2f8a2dd12b
Step 10/49 : RUN apk add -q -u python3 openssl nmap psmisc iproute2 alpine-sdk build-base
 ---> Using cache
 ---> 16e0a47452bc
Step 11/49 : RUN apk add --no-cache bluez
 ---> Using cache
 ---> da49d2aac95d
Step 12/49 : RUN curl -sL -o diyhue.zip https://github.com/diyhue/diyhue/archive/master.zip
 ---> Using cache
 ---> c1541a422536
Step 13/49 : RUN unzip -qo diyhue.zip
 ---> Using cache
 ---> 89ea305b6008
Step 14/49 : RUN rm diyhue.zip
 ---> Using cache
 ---> 3efeb35357cc
Step 15/49 : RUN pip3 install -r /diyHue-master/requirements.txt --no-cache-dir
 ---> Using cache
 ---> ab5f09d8a69e
Step 16/49 : RUN cp -r /diyHue-master/BridgeEmulator/flaskUI /opt/hue-emulator/
 ---> Using cache
 ---> c7bd69f34d40
Step 17/49 : RUN cp -r /diyHue-master/BridgeEmulator/functions /opt/hue-emulator/
 ---> Using cache
 ---> 9fc870c04a04
Step 18/49 : RUN cp -r /diyHue-master/BridgeEmulator/lights /opt/hue-emulator/
 ---> Using cache
 ---> 32115406ce94
Step 19/49 : RUN cp -r /diyHue-master/BridgeEmulator/sensors /opt/hue-emulator/
 ---> Using cache
 ---> 65ad4947a31e
Step 20/49 : RUN cp -r /diyHue-master/BridgeEmulator/HueObjects /opt/hue-emulator/
 ---> Using cache
 ---> 17787b2d8fa6
Step 21/49 : RUN cp -r /diyHue-master/BridgeEmulator/services /opt/hue-emulator/
 ---> Using cache
 ---> 9b863d3d11f2
Step 22/49 : RUN cp -r /diyHue-master/BridgeEmulator/configManager /opt/hue-emulator/
 ---> Using cache
 ---> 7a73d8a7dc5b
Step 23/49 : RUN cp -r /diyHue-master/BridgeEmulator/logManager /opt/hue-emulator/
 ---> Using cache
 ---> df95ce4c700b
Step 24/49 : RUN cp -r /diyHue-master/BridgeEmulator/HueEmulator3.py /opt/hue-emulator/
 ---> Using cache
 ---> 61626e885747
Step 25/49 : RUN cp -r /diyHue-master/BridgeEmulator/githubInstall.sh /opt/hue-emulator/
 ---> Using cache
 ---> 945453d5b23f
Step 26/49 : RUN cp -r /diyHue-master/BridgeEmulator/genCert.sh /diyHue-master/BridgeEmulator/openssl.conf	/opt/hue-emulator/
 ---> Using cache
 ---> 646d872d387d
Step 27/49 : RUN curl -sL -o diyHueUI.zip https://github.com/diyhue/diyHueUI/releases/latest/download/DiyHueUI-release.zip
 ---> Using cache
 ---> 23b6fb952ca5
Step 28/49 : RUN mkdir diyhueUI
 ---> Using cache
 ---> 9b446fe3b516
Step 29/49 : RUN unzip -qo diyHueUI.zip -d diyhueUI
 ---> Using cache
 ---> 884e4b8e8136
Step 30/49 : RUN rm diyHueUI.zip
 ---> Using cache
 ---> 83518ba7b494
Step 31/49 : RUN cp -r /diyhueUI/dist/index.html			/opt/hue-emulator/flaskUI/templates/
 ---> Running in b0525d709cff
cp: can't stat '/diyhueUI/dist/index.html': No such file or directory
 ---> Removed intermediate container b0525d709cff

Steps to reproduce

Try to upgrade Home Assistant AddOn from 2.0.20 to version 2.0.21

Please enter your operating system details here

Hue-Emulator Version: 2024-10-04 11:10:58.000000000
WebUI Version: 2024-10-04 11:11:03.000000000
Architecture: x86_64
OS: Linux
Linux version: #1 SMP PREEMPT_DYNAMIC Tue Oct 15 12:39:31 UTC 2024
Linux release: 6.6.54-haos
Hardware: %Hardware%

Upload debug tar

Not sure that is relevant here.

What DiyHue version(branch) are you using?

master (latest)

@bobbinz
Copy link
Author

bobbinz commented Nov 18, 2024

Located related thread: diyhue/hassio-addon#44

@hendriksen-mark
Copy link
Member

hi, please look here: diyhue/hassio-addon#44

@bobbinz
Copy link
Author

bobbinz commented Nov 18, 2024

Sorry yes - seen that!

@bobbinz bobbinz closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants