[SOLVED] HA image installed via Supervisored Installer failing with "exec user process caused: exec format error"

I’m rewriting this whole post as I pin-pointed the issue is the image is failing to run for reasons I cannot figure out:

[email protected]:/home/pi/Downloads# docker logs homeassistant
standard_init_linux.go:228: exec user process caused: exec format error

That is an arch. type error.


[email protected]:/home/pi/Downloads# docker pull ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2022.4.7
2022.4.7: Pulling from home-assistant/raspberrypi3-64-homeassistant
Digest: sha256:8196827ca7fadfbd9e82f18fb9705bde9ee31a0d91a3ad0e580a14b95dec6251
Status: Image is up to date for ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2022.4.7

According to the image, it is an arm64 image:

[email protected]:~/Downloads $ docker inspect ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2022.4.7
        "Id": "sha256:eab0c8d7adabd968fcad9958b31c17c28fa96001eeac10dd8a820ba0ee49ec46",
        "RepoTags": [
       // [....]
        "Architecture": "arm64",
        "Os": "linux",
        "Size": 1278612041,

My CPU Info:

[email protected]enus-ha:~/Downloads $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 76.80
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4
// [snip]
Hardware	: BCM2835
Revision	: a22082
Serial		: 00000000fbdf1ae1
Model		: Raspberry Pi 3 Model B Rev 1.2

I downgraded the Supervised installer to 1.0.2, and it installed arm7 based images, except for homeassistant:

[email protected]:~/Downloads $ docker images
REPOSITORY                                             TAG         IMAGE ID       CREATED         SIZE
ghcr.io/home-assistant/raspberrypi3-64-homeassistant   2022.4.7    eab0c8d7adab   8 days ago      1.28GB
homeassistant/armv7-hassio-supervisor                  2022.04.0   ee2b73959439   4 weeks ago     274MB
homeassistant/armv7-hassio-supervisor                  latest      ee2b73959439   4 weeks ago     274MB
ghcr.io/home-assistant/armv7-hassio-supervisor         latest      ee2b73959439   4 weeks ago     274MB
ghcr.io/home-assistant/armv7-hassio-multicast          2022.02.0   d491cf19fe51   2 months ago    58.8MB
ghcr.io/home-assistant/armv7-hassio-cli                2021.12.0   4701925805eb   4 months ago    66.9MB
ghcr.io/home-assistant/armv7-hassio-observer           2021.10.0   a880edc5261d   6 months ago    65.9MB
ghcr.io/home-assistant/armv7-hassio-audio              2021.07.0   e586552c248b   9 months ago    82MB
ghcr.io/home-assistant/armv7-hassio-dns                2021.06.0   fb6e6fa93a72   10 months ago   77.3MB

Everybody is running, except homeassistant:

[email protected]:~/Downloads $ docker ps -a
CONTAINER ID   IMAGE                                                           COMMAND                  CREATED        STATUS                   PORTS                                   NAMES
459a7d210bc5   ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2022.4.7   "/init"                  3 hours ago    Exited (1) 3 hours ago                                           homeassistant
d5bf31905872   ghcr.io/home-assistant/armv7-hassio-multicast:2022.02.0         "/init"                  3 hours ago    Up 3 hours                                                       hassio_multicast
1501005fb47d   ghcr.io/home-assistant/armv7-hassio-audio:2021.07.0             "/init"                  3 hours ago    Up 3 hours                                                       hassio_audio
0a6778a3de37   ghcr.io/home-assistant/armv7-hassio-dns:2021.06.0               "/init"                  3 hours ago    Up 3 hours                                                       hassio_dns
a5087e017300   ghcr.io/home-assistant/armv7-hassio-cli:2021.12.0               "/init /bin/bash -c …"   3 hours ago    Up 3 hours                                                       hassio_cli
1ba16444330b   ghcr.io/home-assistant/armv7-hassio-observer:2021.10.0          "/init"                  21 hours ago   Up 3 hours     >80/tcp, :::4357->80/tcp   hassio_observer
d6fe5fbf69aa   ghcr.io/home-assistant/armv7-hassio-supervisor                  "/init"                  21 hours ago   Up 3 hours                                                       hassio_supervisor

Anybody have any ideas what’s going on?

What do you know, armv7 is exactly what’s going on:

[email protected]:~/Downloads $ docker run ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2022.4.7
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error

The image from Docker Hub works, though:

Status: Downloaded newer image for homeassistant/home-assistant:latest
[email protected]:~/Downloads $ docker run homeassistant/home-assistant:latest 
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.

I’m going to close this issue myself. It appears there is a prompt on initial install where you select your arch type. I don’t recall it, but maybe it did come up and I selected 64 ? I found this prompt when I --purge the package and re-installed. This time, I did see it and selected the standard raspberrypi 3 and it’s now working!