sdesalve / hassio-addons

MIT License
85 stars 21 forks source link

Error during installation #78

Closed reureu76 closed 7 months ago

reureu76 commented 11 months ago

Hi, Trying to install the beta addon on my raspberry pi4 home assistant. Getting this error during the installation:

The command '/bin/ash -o pipefail -c apk add --no-cache openssl' returned a non-zero code: 8

Thanks Reuben

sdesalve commented 11 months ago

Try to restart host and the reinstall it. Please provide hassio addon install logs

reureu76 commented 11 months ago

Hi, restarted and tried to re-install. Same behaviour.

Are these the correct logs you need;

Logger: homeassistant.components.hassio Source: components/hassio/websocket_api.py:130 Integration: Home Assistant Supervisor (documentation, issues) First occurred: 7:36:58 PM (1 occurrences) Last logged: 7:36:58 PM

Failed to to call /addons/89275b70_dss_monocle-gateway-beta/install - The command '/bin/ash -o pipefail -c apk add --no-cache openssl' returned a non-zero code: 8

sdesalve commented 11 months ago

apk add --no-cache openssl' returned a non-zero code: 8

it fail during dependencies setup open a terminal and run this commands

apk add --no-cache wget
apk add --no-cache curl
apk add --no-cache libstdc++
apk add --no-cache nano
apk add --no-cache net-tools
apk add --no-cache openssl
apk add --no-cache ca-certificates

Report here any error...

reureu76 commented 11 months ago

apk add --no-cache openssl' returned a non-zero code: 8

it fail during dependencies setup open a terminal and run this commands

apk add --no-cache wget
apk add --no-cache curl
apk add --no-cache libstdc++
apk add --no-cache nano
apk add --no-cache net-tools
apk add --no-cache openssl
apk add --no-cache ca-certificates

Report here any error...

Hi, Screenshot_2023-08-06-11-18-35-05_c3a231c25ed346e59462e84656a70e50

Ran it twice through Terminal & SSH HA addon. Logs below and attached the terminal. Logs:

[2023/08/06 10:49:22:9870] N: lws_lc_tag: ++ [wsisrv|0|adopted] (1) [2023/08/06 10:49:22:9901] N: HTTP / - 172.30.32.2 [2023/08/06 10:49:23:7273] N: HTTP /token - 172.30.32.2 [2023/08/06 10:49:23:8461] N: WS /ws - 172.30.32.2, clients: 1 [2023/08/06 10:49:23:8822] N: started process, pid: 186 [2023/08/06 10:54:33:9929] N: WS closed from 172.30.32.2, clients: 0 [2023/08/06 10:54:33:9930] N: killing process, pid: 186 [2023/08/06 10:54:33:9946] N: lws_lc_untag: -- [wsisrv|0|adopted] (0) 5.183min [2023/08/06 10:54:33:9958] N: process killed with signal 0, pid: 186 [2023/08/06 11:06:41:1588] N: lws_lc_tag: ++ [wsisrv|1|adopted] (1) [2023/08/06 11:06:41:1616] N: HTTP / - 172.30.32.2 [2023/08/06 11:06:41:4273] N: HTTP /token - 172.30.32.2 [2023/08/06 11:06:41:4963] N: WS /ws - 172.30.32.2, clients: 1 [2023/08/06 11:06:41:5017] N: started process, pid: 212 [2023/08/06 11:07:40:0439] N: WS closed from 172.30.32.2, clients: 0 [2023/08/06 11:07:40:0440] N: killing process, pid: 212 [2023/08/06 11:07:40:0443] N: lws_lc_untag: -- [wsisrv|1|adopted] (0) 58.885s [2023/08/06 11:07:40:0504] N: process killed with signal 0, pid: 212 [2023/08/06 11:09:03:4736] N: lws_lc_tag: ++ [wsisrv|2|adopted] (1) [2023/08/06 11:09:03:4752] N: HTTP / - 172.30.32.2 [2023/08/06 11:09:03:8436] N: HTTP /token - 172.30.32.2 [2023/08/06 11:09:03:9226] N: WS /ws - 172.30.32.2, clients: 1 [2023/08/06 11:09:03:9335] N: started process, pid: 222 [2023/08/06 11:10:37:7290] N: WS closed from 172.30.32.2, clients: 0 [2023/08/06 11:10:37:7291] N: killing process, pid: 222 [2023/08/06 11:10:37:7293] N: lws_lc_untag: -- [wsisrv|2|adopted] (0) 1.570min [2023/08/06 11:10:37:7332] N: process killed with signal 0, pid: 222

sdesalve commented 11 months ago

the packages was installed without errors...

try to restart raspberry (not hassio) and install addon. several times. It's some weird issue within hassio

reureu76 commented 11 months ago

Tried 4 times as suggested. Unplug and replug raspberry, and then try install. Same error.

reureu76 commented 11 months ago

Can I install it through Terminal?

sdesalve commented 11 months ago

No, at every reboot terminal image will be restored to default.

Do you can try to install in to a fresh hassio setup?

reureu76 commented 11 months ago

I will try and do that this week and share results. Thanks

aLTeReGo-SWI commented 7 months ago

I'm having the same issue running Home Assistant supervised on an Intel NUC running Debian. Any solution?

The command '/bin/ash -o pipefail -c apk add --no-cache openssl' returned a non-zero code: 8

sdesalve commented 7 months ago

Restart Debian and re try