joshgetter / hassio-addons

A Home Assistant Addon repository.
MIT License
55 stars 29 forks source link

Missing manifest on ARM #13

Closed wenestvedt closed 2 years ago

wenestvedt commented 2 years ago

Installing on Home Assistant OS current (core-2022.3.5, updated today) generates this error:

22-03-15 20:46:44 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/a0268524_nodered 22-03-15 20:46:44 INFO (SyncWorker_7) [supervisor.docker.interface] Downloading docker image joshgetter/armhf-home-assistant-nodered with tag 2. 22-03-15 20:46:47 ERROR (SyncWorker_7) [supervisor.docker.interface] Can't install joshgetter/armhf-home-assistant-nodered:2: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=2&fromImage=joshgetter%2Farmhf-home-assistant-nodered&platform=linux%2Farm%2Fv6: Not Found ("manifest for joshgetter/armhf-home-assistant-nodered:2 not found: manifest unknown: manifest unknown")

wenestvedt commented 2 years ago

(Also, thank you for writing this -- I can't wait to have it working!)

wenestvedt commented 2 years ago

It looks like the node-red Dockerfile starts with this line, which results in a 404:

ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:11.1.0

joshgetter commented 2 years ago

Hey @wenestvedt unfortunately I had to remove armhf support for the node-red add-on. I do want to mention that this version of the add-on is just a slightly modified version of the official node-red addon. My version just takes the official node-red add-on an installs chromium in the docker image. I only created this for a personal project where I wanted to some web scrapping from within a node-red workflow. Unfortunately alpine linux doesn't appear to have the chromium package available for the armhf architecture, which is why I had to drop support on this add-on.

I just wanted to mention that this was a fork of the official node-red addon in case you accidentally installed this one. The official one certainly supports armhf.

joshgetter commented 2 years ago

If you did intentionally install my version of the node-red addon (with chromium installed) then great! glad you have a use for it! To get armhf support I think it may be possible by updating the Dockerfile and changing the base image to some linux distro other than alpine. Home Assistant seems to offer some non-alpine base images. Hopefully one of those distros offers the chromium package for the armhf architecture.

I won't have availability to do this development in the near future, but I would gladly accept a pull request if anyone is able to get this to work.

wenestvedt commented 2 years ago

Ah! That makes perfect sense. I had wondered if it was platform-dependent, but didn't want to make like a fourth comment on my own issue. :7)

This settles my decision about rehosting my Home Assistant from a Pi over to an x86 thin client: having my Kasa cameras on Home Assistant would be major.

Thanks!!