blakeblackshear / frigate-hass-addons

Frigate hass.io addons
MIT License
250 stars 134 forks source link

Failed to install Frigate Proxy #86

Open Papadoma opened 1 year ago

Papadoma commented 1 year ago

Trying to install Frigate Proxy on a HASS supervised instance running on a Coral Dev Board

Failed to install add-on The command '/bin/bash -o pipefail -c apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y)' returned a non-zero code: 100

Frigate is running just fine using composer. The OS is Mendel Linux.

gioLau commented 1 year ago

same for me, running HA OS on an odroid n2+. installing other addons was possible, otherwise i would think about a dns issue. supervisor log:

The command '/bin/bash -o pipefail -c apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y)' returned a non-zero code: 100 22-12-23 14:26:17 ERROR (SyncWorker_0) [supervisor.docker.addon] Can't build ccab4aaf/aarch64-addon-frigate-proxy:1.3: The command '/bin/bash -o pipefail -c apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y)' returned a non-zero code: 100 22-12-23 14:26:17 ERROR (SyncWorker_0) [supervisor.docker.addon] Build log: Step 1/19 : ARG BUILD_ARCH Step 2/19 : FROM ghcr.io/hassio-addons/debian-base/${BUILD_ARCH}:5.1.0 ---> d12f6ecaa0f2 Step 3/19 : SHELL ["/bin/bash", "-o", "pipefail", "-c"] ---> Using cache ---> 9bd2fd312967 Step 4/19 : RUN apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y) ---> Running in 7356c0dc73e9 W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Temporary failure resolving 'deb.debian.org' W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Temporary failure resolving 'security.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease Temporary failure resolving 'deb.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead. E: Unable to locate package nginx

diedvdyk commented 1 year ago

same problem here on a raspberry pi 4

NickM-27 commented 1 year ago

are you running a 32bit device?

diedvdyk commented 1 year ago

No pi 4 is 64 bits ccab4aaf/aarch64-addon-frigate-proxy , so aarch64

NickM-27 commented 1 year ago

No pi 4 is 64 bits

There are definitely users running a 32 bit OS on the Pi 4.

ccab4aaf/aarch64-addon-frigate-proxy , so aarch64

Seems other logs are for arm64 as well, perhaps there is a supervisor issue with the current HASSIO base used for the proxy addon, I know the version used for proxy addon is older.

https://github.com/blakeblackshear/frigate-hass-addons/blob/main/frigate_proxy/Dockerfile

diedvdyk commented 1 year ago

I've forked the repo and got a Ubuntu based Frigate proxy working on my Pi 4 . It's work in progress , more details follow.