Sorry for the misunderstanding - the OS version is 6.2:
- What addon is this, specifically
- Would have a link to the issue you mention
The addon is: GitHub - jakubonty/weather_station_mqtt
And the correlating issue: Install-Issue · Issue #2 · jakubonty/weather_station_mqtt · GitHub
Indeed, seems to be similar, but libseccomp2 in HassOS is already 2.4.4, apparently, so might be actually be something else.
Do you see the same
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later)
in the supervisor logs? THAT would mean it’s the same error.
Kind of - I get following Log:
21-08-11 21:37:31 INFO (SyncWorker_4) [supervisor.docker.addon] Starting build for local/armv7-addon-weather_station_mqtt:0.1
21-08-11 21:37:49 ERROR (SyncWorker_4) [supervisor.docker.addon] Can't build local/armv7-addon-weather_station_mqtt:0.1: The command '/bin/ash -o pipefail -c apk add --no-cache nodejs-npm' returned a non-zero code: 1
21-08-11 21:37:49 ERROR (SyncWorker_4) [supervisor.docker.addon] Build log:
Step 1/18 : ARG BUILD_FROM
Step 2/18 : FROM $BUILD_FROM
---> 564b1f71f9e5
Step 3/18 : ENV LANG C.UTF-8
---> Using cache
---> 42f5d3d4ebd6
Step 4/18 : COPY data/run.sh /
---> Using cache
---> b6b81c04ad96
Step 5/18 : COPY maserver/* /
---> Using cache
---> b1c520f3b17d
Step 6/18 : RUN apk add --no-cache nodejs-npm
---> Running in d2f6931e0be3
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
ERROR: unable to select packages:
nodejs-npm (no such package):
required by: world[nodejs-npm]
Removing intermediate container d2f6931e0be3
That’s a different issue.
Looks like there is no nodejs-npm package (anymore?)
In the Dockerfile, you have to replace line 10 with
RUN apk add --no-cache nodejs npm
Thank you Chris!! That fixed the issue. I was so focused on libseccomp2 / alpine…
Hi Chris,
Facing the same issue, maybe you could recommend the solution?
Running the latest stable OS in dedicated VM:
Trying to install add-on below:
And getting next errors in the log:
’ 22-01-17 09:21:59 INFO (SyncWorker_2) [supervisor.docker.addon] Starting build for 423ea876/amd64-addon-godaddy_dns:1.0.3
22-01-17 09:22:03 ERROR (SyncWorker_2) [supervisor.docker.addon] Can’t build 423ea876/amd64-addon-godaddy_dns:1.0.3: The command ‘/bin/ash -o pipefail -c apk add --no-cache openssl && curl -s -o /usr/bin/dehydrated “https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated” && chmod a+x /usr/bin/dehydrated’ returned a non-zero code: 1
22-01-17 09:22:03 ERROR (SyncWorker_2) [supervisor.docker.addon] Build log:
Step 1/12 : ARG BUILD_FROM
Step 2/12 : FROM $BUILD_FROM
—> bc9cabb4596e
Step 3/12 : ARG DEHYDRATED_VERSION
—> Using cache
—> caffde16250f
Step 4/12 : RUN apk add --no-cache openssl && curl -s -o /usr/bin/dehydrated “https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated” && chmod a+x /usr/bin/dehydrated
—> Running in 1af517d031fe
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
139785764682568:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: Permission denied
139785764682568:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: Permission denied
ERROR: unable to select packages:
openssl (no such package):
required by: world[openssl]
Removing intermediate container 1af517d031fe ’
I was pointed by the Michael (developer) the reason is old libseccomp2 library but after reading the thread I feel like it could be something else in my case.
Cheers,
Alex.
Yep, different.
The date on your machine is wrong (“22-01-17”), and the SSL certificate used by Alpine is “not valid before” 2021, so is refused.
Nevermind, read the date backwards. Definitely a SSL issue, so different though
Appreciated for the quick reply. I am little bit lost in which direction I can try to dig further - any suggestions by chance?
Regards,
It seems like a similar problem, but slightly different… Just to narrow down the possible causes, are you able to install the Duck DNS add-on?
Thank you for help with troubleshooting.
Just tried and Duck DNS add-on was installed without any issues. TO be honest I have at least 20 add-ons and integrations installed and never had any issues before.
@koying I have a similar problem when installing the diyhue addon:
I have a dedicated VM running home assistant
23-12-17 22:09: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-12-17 22:09: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
—> 493af3e78c1e
Step 4/31 : ARG BUILD_ARCH=aarch64
—> Using cache
—> 6b001078784d
Step 5/31 : ENV BUILD_ARCHI = ${BUILD_ARCH}
—> Using cache
—> bb00af3e6f2f
Step 6/31 : ENV LANG C.UTF-8
—> Using cache
—> 2531145aef36
Step 7/31 : ENV DIYHUE_VERSION=master
—> Using cache
—> a1bb38b768a2
Step 8/31 : ENV WORKING_DIR=/opt/hue-emulator
—> Using cache
—> a79c77acbf6f
Step 9/31 : RUN mkdir diyhue config ${WORKING_DIR}
—> Using cache
—> a8b9af1deccd
Step 10/31 : RUN apk add -q -u python3 openssl nmap psmisc iproute2 alpine-sdk build-base
—> Using cache
—> 03bea5f26130
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
—> 33e6aa2aedef
Step 12/31 : WORKDIR /opt/hue-emulator
—> Using cache
—> 29dcd75ab6f2
Step 13/31 : RUN mv /diyhue/BridgeEmulator/web-ui/ ./web-ui/
—> Running in ab689cbcfd83
mv: can’t rename ‘/diyhue/BridgeEmulator/web-ui/’: No such file or directory
Removing intermediate container ab689cbcfd83
Version:
- Core 2023.12.3
- Supervisor 2023.11.6
- Operating System 11.2
- Frontend 20231208.2
Not sure where the addon comes from, but it expects an oooollllldddd diyhue version, while actually downloading bleeding edge…