Closed kloodhu closed 4 months ago
Thanks for the report. But I cannot recreate under x64/arm.
Could you just try rebuilding the Add-On again? It might have failed due to an internet connection issue.
If that doesn't help I'll need the following:
Thanks for the fast response!
I tried again today, but no luck.
Core 2024.3.3 Supervisor 2024.03.1 Debian 11 Kernel and CPU | Linux 5.10.0-28-amd64 on x86_64
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:134
integration: Home Assistant Supervisor (documentation, issues)
First occurred: April 3, 2024 at 07:00:08 (8 occurrences)
Last logged: 11:20:09
Failed to to call /ingress/validate_session -
Failed to to call /addons/da51adea_amniotic/install - The command '/bin/ash -o pipefail -c apk add --no-cache py3-pip vlc' returned a non-zero code: 2
Thanks for this. But it's not showing the full build output for some reason. Can you see/find that somewhere in the logs? I was expecting something like this:
=> ERROR [2/5] RUN apk blah 0.1s
------
> [2/5] RUN apk blah:
0.068 ERROR: 'blah' is not an apk command. See 'apk --help'.
------
Dockerfile:6
--------------------
4 | ARG BUILD_VERSION
5 |
6 | >>> RUN apk blah
7 |
8 |
--------------------
ERROR: failed to solve: process "/bin/ash -o pipefail -c apk blah" did not complete successfully: exit code: 1
got it. the links works in the linux.
2024-04-04 13:00:58.284 INFO (MainThread) [supervisor.docker.addon] Starting build for da51adea/amd64-addon-amniotic:0.5.24
2024-04-04 13:01:10.133 ERROR (MainThread) [supervisor.docker.addon] Can't build da51adea/amd64-addon-amniotic:0.5.24: The command '/bin/ash -o pipefail -c apk add --no-cache py3-pip vlc' returned a non-zero code: 2
2024-04-04 13:01:10.134 ERROR (MainThread) [supervisor.docker.addon] Build log:
Step 1/14 : ARG BUILD_FROM
Step 2/14 : FROM $BUILD_FROM
---> 1341dd8f8144
Step 3/14 : ARG BUILD_VERSION
---> Using cache
---> 7022ef166107
Step 4/14 : RUN apk add --no-cache py3-pip vlc
---> Running in 17f561e542c8
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.19/main: temporary error (try again later)
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.19/community: temporary error (try again later)
ERROR: unable to select packages:
py3-pip (no such package):
required by: world[py3-pip]
vlc (no such package):
required by: world[vlc]
---> Removed intermediate container 17f561e542c8
That's what I needed.
I'm starting to think this isn't an Amniotic issue. It looks like your setup isn't allowing connections to the Internet (at least from within a Docker build context).
Do you know if other Add-Ons build OK? If so, which ones?
Edit: Also, have you tried just rebooting your HA server?
Will close for now. Feel free to reopen if this is still a problem.
Run the install in Ha, the error is: The command '/bin/ash -o pipefail -c apk add --no-cache py3-pip vlc' returned a non-zero code: 2
Help plz.