jakubonty / weather_station_mqtt

5 stars 7 forks source link

Install-Issue #2

Open cnova80 opened 3 years ago

cnova80 commented 3 years ago

Hello i cant install the Add-On. I like to install tha Add-On on a HA core-2021.6.5 docker version.

Is there any solution?

21-06-16 16:08:04 ERROR (SyncWorker_5) [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-06-16 16:08:04 ERROR (SyncWorker_5) [supervisor.docker.addon] Build log: 
Step 1/18 : ARG BUILD_FROM
Step 2/18 : FROM $BUILD_FROM
 ---> 42ed115edc5d
Step 3/18 : ENV LANG C.UTF-8
 ---> Using cache
 ---> b90d9b4f07ed
Step 4/18 : COPY data/run.sh /
 ---> Using cache
 ---> ae1623fba9b9
Step 5/18 : COPY maserver/* /
 ---> Using cache
 ---> dba0125a047b
Step 6/18 : RUN apk add --no-cache nodejs-npm
 ---> Running in 22c3339416eb
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/armv7/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later)

WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later)

ERROR: unable to select packages:

  nodejs-npm (no such package):
    required by: world[nodejs-npm]
Removing intermediate container 22c3339416eb
jakubonty commented 3 years ago

Hello, it was probably some temporary network error, I tried to update all on my machine and reinstall it and it worked.

Can you, please, try to install it once more?

cnova80 commented 3 years ago

Thanks for your help, but I had to update the libseccomp like this: https://github.com/alpinelinux/docker-alpine/issues/135#issuecomment-812287338 The problem was the missing internet access in the docker.

Thx

petegoes commented 2 years ago

@cnova80 I ran into the same problem. Unfortunately I cannot update libseccompo with the help of this page https://github.com/alpinelinux/docker-alpine/issues/135#issuecomment-812287338 because the command dpkg is missing.

Any ideas how I can get this add-on running?