Open OiledAmoeba opened 2 years ago
Do you have some more Infos on the system you use? Was it a fresh install or update?
Did diyhue run before on your system?
Sorry, I did just copy&paste from my mobile before...
Your Questions:
ha info
:
arch: aarch64
channel: stable
docker: 20.10.18
features:
I think, the `supported: false` comes from the fact that I installed hassio-supervised on a system that runs other containers also, like postgreSQL, z-push, registry and so on...
edit: ha host info
gives:
agent_version: 1.3.0
apparmor_version: 2.13.6
boot_timestamp: 1664381127746678
broadcast_llmnr: true
broadcast_mdns: true
chassis: ""
cpe: ""
deployment: ""
disk_free: 18.3
disk_life_time: null
disk_total: 29
disk_used: 9.4
dt_synchronized: true
dt_utc: "2022-10-04T15:44:10.961861+00:00"
features:
- reboot
- shutdown
- services
- network
- hostname
- timedate
- os_agent
- resolved
hostname: raspi45
kernel: 5.15.61-v8+
llmnr_hostname: raspi45
operating_system: Raspbian GNU/Linux 11 (bullseye)
startup_time: 3.937538
timezone: Europe/Berlin
use_ntp: true
Interesting...
supervisor-log:
22-10-26 21:36:32 ERROR (SyncWorker_3) [supervisor.docker.addon] Can't build c863ef44/aarch64-addon-diyhue:2.0.7: The command '/bin/bash -o pipefail -c mkdir diyhue config ${WORKING_DIR}' returned a non-zero code: 159
22-10-26 21:36:32 ERROR (SyncWorker_3) [supervisor.docker.addon] Build log:
Step 1/37 : ARG BUILD_FROM=hassioaddons/base-python:5.3.4
Step 2/37 : FROM ${BUILD_FROM}
---> 9bec0967ab7e
Step 3/37 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
---> Using cache
---> faaad5abc92f
Step 4/37 : ARG BUILD_ARCH=aarch64
---> Using cache
---> 4f098a83de43
Step 5/37 : ENV BUILD_ARCHI = ${BUILD_ARCH}
---> Using cache
---> 57c376c85dc3
Step 6/37 : ENV LANG C.UTF-8
---> Using cache
---> a35ed0fb2c1d
Step 7/37 : ENV DIYHUE_VERSION=master
---> Using cache
---> 8e4342e3b19c
Step 8/37 : ENV WORKING_DIR=/opt/hue-emulator
---> Using cachsudo docker exec hassio_supervisor uname -a
Linux 9c045bdbd4d8 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 Linuxe
---> e72dc406edf8
Step 9/37 : RUN mkdir diyhue config ${WORKING_DIR}
---> [Warning] The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
---> Running in 849a1f1b7a32
Removing intermediate container 849a1f1b7a32
# sudo docker exec homeassistant uname -a
Linux homeassistant 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 Linux
# sudo docker exec hassio_supervisor uname -a
Linux 9c045bdbd4d8 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 Linux
# uname -a
Linux raspi45 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
In Portainer:
SUPERVISOR_MACHINE | raspberrypi3-64
io.hass.arch | aarch64
io.hass.base.arch | aarch64
So why the hell is he thinking, that he has to build on armv7?
If I clone this git and build it outside hass on the cli, it will be build w/o problems...
I'm wondering about this:
[supervisor.docker.addon] Build log
: Step 1/37
docker build .
: Step 1/32
why do have hass five steps more?
i have the same error on my virtual machine, see my supervisor log:
23-10-13 19:43:07 INFO (MainThread) [supervisor.docker.addon] Starting build for 590f8686/amd64-addon-diyhue-beta:1.5.0
23-10-13 19:43:10 ERROR (MainThread) [supervisor.docker.addon] Can't build 590f8686/amd64-addon-diyhue-beta:1.5.0: The command '/bin/bash -o pipefail -c mv /diyhue/BridgeEmulator/web-ui/ ./web-ui/' returned a non-zero code: 1
23-10-13 19:43:10 ERROR (MainThread) [supervisor.docker.addon] Build log:
Step 1/31 : ARG BUILD_FROM=hassioaddons/base-python:5.3.4
Step 2/31 : FROM ${BUILD_FROM}
---> 079b535a3150
Step 3/31 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
---> Using cache
---> 8a1cd8289d87
Step 4/31 : ARG BUILD_ARCH=aarch64
---> Using cache
---> 5630a8c32512
Step 5/31 : ENV BUILD_ARCHI = ${BUILD_ARCH}
---> Using cache
---> 1ca95d70414b
Step 6/31 : ENV LANG C.UTF-8
---> Using cache
---> 71f1542ffda9
Step 7/31 : ENV DIYHUE_VERSION=master
---> Using cache
---> 30321e9f7877
Step 8/31 : ENV WORKING_DIR=/opt/hue-emulator
---> Using cache
---> 4af62b004d46
Step 9/31 : RUN mkdir diyhue config ${WORKING_DIR}
---> Using cache
---> 85bcea57f2c5
Step 10/31 : RUN apk add -q -u python3 openssl nmap psmisc iproute2 alpine-sdk build-base
---> Using cache
---> 2a8fca4d53c3
Step 11/31 : RUN curl -J -L -o $diyhue.tar.gz "https://github.com/diyhue/diyHue/archive/refs/heads/master.tar.gz" && tar xzvf $diyhue.tar.gz --strip-components=1 -C diyhue && rm -rf $diyhue.tar.gz && pip3 install -r /diyhue/requirements.txt --no-cache-dir
---> Using cache
---> 4a4bebf943d1
Step 12/31 : WORKDIR /opt/hue-emulator
---> Using cache
---> 8131c57e050e
Step 13/31 : RUN mv /diyhue/BridgeEmulator/web-ui/ ./web-ui/
---> Running in e0d63efc1c61
mv: can't rename '/diyhue/BridgeEmulator/web-ui/': No such file or directory
Removing intermediate container e0d63efc1c61
Logger: homeassistant.components.hassio Source: components/hassio/websocket_api.py:123 Integration: Home Assistant Supervisor (documentation, issues) First occurred: 14:50:15 (1 occurrences) Last logged: 14:50:15
Failed to to call /addons/c863ef44_diyhue/install - The command '/bin/bash -o pipefail -c mkdir diyhue config ${WORKING_DIR}' returned a non-zero code: 159