Closed Olli2k closed 6 days ago
Hi can you try again?
Ah, I am also having the same issue over at https://github.com/diyhue/diyHue/issues/1051
Seems to be related to the fact that in the release candidate /diyhueUI/dist/index.html does not exist
I made a change, did you try it in the last 30 minutes?
I tried now and it's the same
please try 2.0.22
It's the same: Failed to perform the action update/install. Error updating diyHue: The command '/bin/bash -o pipefail -c cp -r diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/' returned a non-zero code: 1 even with 2.0.22. Keep installing but at the end we got this error
Had to force a refresh.
Now get this error:
The command '/bin/bash -o pipefail -c cp -r diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/' returned a non-zero code: 1
Seems to be the same:
cp: can't stat 'diyhueUI/dist/index.html': No such file or directory
---> Removed intermediate container 4c853f9bfcd8
.22 installation:
Step 31/49 : RUN cp -r diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/ ---> Running in 0528823093dc cp: can't stat 'diyhueUI/dist/index.html': No such file or directory
its not the same error but similar, please try 2.0.23
2.0.23 - The command '/bin/bash -o pipefail -c cp -r /diyhueUI/dist/index.html /opt/hue-emulator/flaskUI/templates/' returned a non-zero code: 1
try 2.0.24
Tried 2.0.24, here is the full error log:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:135
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 4:08:33 PM (3 occurrences)
Last logged: 6:33:26 PM
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
Failed to to call /store/addons/c863ef44_diyhue/update - The command '/bin/bash -o pipefail -c cp -r dist/index.html /opt/hue-emulator/flaskUI/templates/' returned a non-zero code: 1
Attempting to install the update will return error:404 when trying to access DIYhue app (webui) in web browser after update fail:
2024-11-18 18:18:39,925 - services.stateFetch - 27 - WARNING - Fireplace_seg0 is unreachable: <urlopen error [Errno 113] Host is unreachable>
2024-11-18 18:18:40,256 - werkzeug - 225 - INFO - 192.168.1.71 - - [18/Nov/2024 18:18:40] "GET / HTTP/1.1" 200 -
2024-11-18 18:18:40,353 - werkzeug - 225 - INFO - 192.168.1.71 - - [18/Nov/2024 18:18:40] "GET /static/js/main.f1ff5a61.js HTTP/1.1" 404 -
2024-11-18 18:18:40,363 - werkzeug - 225 - INFO - 192.168.1.71 - - [18/Nov/2024 18:18:40] "GET /static/css/main.567f9119.css HTTP/1.1" 404 -
Manually restarting the addon will fix access to the web app as before.
Maybe I'm stating the obvious, but may help someone.
Can someone try the remove the addon and reinstall it?
Remove and reinstall didn't work, stops with the same error. Restoring a partial backup works.
I have HA running barebones on a rpi4, it's my test rig. I'll try a clean install there in a little bit.
Clean install in a barebones system works fine.
I made a work around, i think the problem is that HA is using a cached file for the zip files and not the latest from github. Please try 2.0.25 with hardcored version/releases.
@hendriksen-mark good find! This solved it for me.
Worked a treat for me :) From 2.0.20 to 2.0.25
Good job Mark 👏 Thanks for caring
good to hear and thanks for the fast feedback.
For me updating to 2.0.21 is not possible. Core log entry:
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
System: Core: 2024.11.2 HAOS on Proxmox