ERROR (MainThread) [supervisor.homeassistant.core] Invalid Home Assistant config found!

Yesterday I switched off my network storage, where the HA backup is stored to (because I want to move it - ongoing, nit finished, yet)

Today I updated the HA core to 2025.12.3, I am using the HAOS docker. And now I cannot access port 8123, but I can log in via SSH, giving:

# docker ps
CONTAINER ID   IMAGE                                                       COMMAND               CREATED          STATUS                    PORTS                                                                                                                              NAMES
83edb6e59e3d   ghcr.io/hassio-addons/appdaemon/aarch64:0.17.13             "/init"               10 minutes ago   Up 10 minutes             0.0.0.0:5050->5050/tcp, [::]:5050->5050/tcp                                                                                        addon_a0d7b954_appdaemon
ee356607e5cd   homeassistant/aarch64-addon-configurator:5.8.0              "/init"               10 minutes ago   Up 10 minutes (healthy)                                                                                                                                      addon_core_configurator
a1eac1011b17   homeassistant/aarch64-addon-matter-server:8.1.1             "/init"               10 minutes ago   Up 10 minutes                                                                                                                                                addon_core_matter_server
55d0a85fb73f   ghcr.io/hassio-addons/vscode/aarch64:6.0.1                  "/init"               10 minutes ago   Up 10 minutes (healthy)                                                                                                                                      addon_a0d7b954_vscode
f1fbc58ca74e   ghcr.io/esphome/esphome-hassio:2025.11.5                    "/init"               10 minutes ago   Up 10 minutes                                                                                                                                                addon_5c53de3b_esphome
5294cd6f811e   homeassistant/aarch64-addon-ssh:9.21.0                      "/init"               10 minutes ago   Up 10 minutes                                                                                                                                                addon_core_ssh
70c73e95d8c8   homeassistant/aarch64-addon-mosquitto:6.5.2                 "/init"               10 minutes ago   Up 10 minutes             0.0.0.0:1883-1884->1883-1884/tcp, [::]:1883-1884->1883-1884/tcp, 0.0.0.0:8883-8884->8883-8884/tcp, [::]:8883-8884->8883-8884/tcp   addon_core_mosquitto
f301402a42ca   ghcr.io/home-assistant/aarch64-hassio-multicast:2025.08.0   "/init"               11 minutes ago   Up 11 minutes                                                                                                                                                hassio_multicast
091e373e8c99   ghcr.io/home-assistant/aarch64-hassio-audio:2025.08.0       "/init"               11 minutes ago   Up 11 minutes                                                                                                                                                hassio_audio
3a740af620d2   ghcr.io/home-assistant/aarch64-hassio-dns:2025.08.0         "/init"               11 minutes ago   Up 9 minutes                                                                                                                                                 hassio_dns
f084d8ac286e   ghcr.io/home-assistant/aarch64-hassio-cli:2025.09.0         "/init"               11 minutes ago   Up 11 minutes                                                                                                                                                hassio_cli
9bd70cda0886   ghcr.io/home-assistant/aarch64-hassio-supervisor:latest     "/init"               4 days ago       Up 11 minutes                                                                                                                                                hassio_supervisor
e6e51148d72e   ghcr.io/home-assistant/aarch64-hassio-observer:2025.02.0    "/usr/bin/observer"   8 months ago     Up 11 minutes             0.0.0.0:4357->80/tcp, [::]:4357->80/tcp                                                                                            hassio_observer

# ha supervisor logs
2025-12-14 10:44:21.118 WARNING (MainThread) [supervisor.plugins.base] Version 2025.09.0 is already installed for cli
2025-12-14 10:45:42.229 INFO (SyncWorker_6) [supervisor.docker.manager] Runing command 'python3 -m homeassistant -c /config --script check_config' on ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2025.12.3
2025-12-14 10:45:47.799 ERROR (MainThread) [supervisor.homeassistant.core] Invalid Home Assistant config found!
2025-12-14 10:59:33.384 INFO (SyncWorker_6) [supervisor.docker.manager] Runing command 'python3 -m homeassistant -c /config --script check_config' on ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2025.12.3
2025-12-14 10:59:35.735 ERROR (MainThread) [supervisor.homeassistant.core] Invalid Home Assistant config found!

So where to find the HA config? I have access to the backups, it’s just on a different location.

THX for your inputs!
Christof

The config is in /mnt/data/supervisor/homeassistant

Thanks for the hint!

But now I am asking myself why the error pops up, the config looks ok

# ls -ltr
total 70584
drwxr-xr-x    2 root     root          4096 Dec 25  2023 deps
-rw-r--r--    1 root     root           161 Dec 25  2023 secrets.yaml
drwxr-xr-x    2 root     root          4096 Dec 25  2023 tts
drwxr-xr-x    2 root     root          4096 Jan  3  2024 lights
drwxr-xr-x    3 root     root          4096 Jan  6  2024 appdaemon
drwxr-xr-x    3 root     root          4096 Jan  6  2024 config
drwxr-xr-x    4 root     root          4096 Mar 31  2024 www
drwxr-xr-x    6 root     root          4096 Nov 14  2024 blueprints
-rw-r--r--    1 root     root           754 Sep  8 19:35 sensor.yaml
drwxr-xr-x    3 root     root          4096 Sep 18 14:28 esphome
-rw-r--r--    1 root     root         10990 Oct  1 17:25 scenes.yaml
-rw-r--r--    1 root     root          5547 Oct  3 11:56 home-assistant-rollback.log
-rw-r--r--    1 root     root          4289 Oct  5 09:34 configuration.yaml
-rw-r--r--    1 root     root         29836 Nov  4 08:23 home-assistant.log.1
-rw-r--r--    1 root     root        126747 Nov 10 10:58 home-assistant.log.old
-rw-r--r--    1 root     root          5970 Nov 10 22:10 scripts.yaml
-rw-r--r--    1 root     root         12839 Dec  4 12:06 automations.yaml
-rw-r--r--    1 root     root        744277 Dec 14 10:09 known_devices.yaml
drwxr-xr-x   10 root     root          4096 Dec 14 10:15 custom_components
-rw-r--r--    1 root     root        110592 Dec 14 10:16 zigbee.db
-rw-r--r--    1 root     root      71147520 Dec 14 10:16 home-assistant_v2.db

The container did not start, isn’t it?

# docker inspect home-assistant
[
    {
        "Id": "6fcda9d3d0cc0296ec86621a8b41a5f6abc0df7c7d2a563a22169347f8eedbbd",
        "Created": "2025-12-14T09:43:09.858167743Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 255,
            "Error": "",
            "StartedAt": "2025-12-14T09:43:10.010081969Z",
            "FinishedAt": "2025-12-14T09:43:10.616848216Z"
        },
...
# docker exec -it  home-assistant /bin/bash
Error response from daemon: container 6fcda9d3d0cc0296ec86621a8b41a5f6abc0df7c7d2a563a22169347f8eedbbd is not running

Well, looking into the docker logs, I think there is a problem with the docker image?!?

# docker logs homeassistant
exec /init: exec format error
exec /init: exec format error

nad an excerpt from docker inspect homeassistant:

        "Config": {
            "Hostname": "homeassistant",
            "Domainname": "local.hass.io",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "SUPERVISOR=172.30.32.2",
                "HASSIO=172.30.32.2",
                "TZ=Europe/Vienna",
                "LANG=C.UTF-8",
                "S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
                "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
                "S6_CMD_WAIT_FOR_SERVICES=1",
                "S6_SERVICES_READYTIME=50",
                "UV_EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/",
                "S6_SERVICES_GRACETIME=240000",
                "UV_SYSTEM_PYTHON=true",
                "UV_NO_CACHE=true"
            ],
            "Cmd": null,
            "Image": "ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2025.12.3",
            "Volumes": {
                "/run/cid": {}
            },
            "WorkingDir": "/config",
            "Entrypoint": [
                "/init"
            ],
            "OnBuild": null,
            "Labels": {
                "io.hass.arch": "aarch64",
                "io.hass.base.arch": "aarch64",
                "io.hass.base.image": "ghcr.io/home-assistant/aarch64-base:3.22",
                "io.hass.base.name": "python",
                "io.hass.base.version": "2025.11.3",
                "io.hass.machine": "raspberrypi4-64",
                "io.hass.type": "core",
                "io.hass.version": "2025.12.3",
                "org.opencontainers.image.authors": "The Home Assistant Authors",
                "org.opencontainers.image.created": "2025-12-12 18:20:12+00:00",
                "org.opencontainers.image.description": "Open-source home automation platform running on Python 3",
                "org.opencontainers.image.documentation": "https://www.home-assistant.io/docs/",
                "org.opencontainers.image.licenses": "Apache-2.0",
                "org.opencontainers.image.source": "https://github.com/home-assistant/core",
                "org.opencontainers.image.title": "Home Assistant",
                "org.opencontainers.image.url": "https://www.home-assistant.io/",
                "org.opencontainers.image.version": "2025.12.3",
                "supervisor_managed": ""
            }
        },


Doubtful. You can check the logs of the HA container with

journalctl CONTAINER_NAME=homeassistant
Dec 14 09:41:18 homeassistant homeassistant[657]: 2025-12-14 09:41:18.362 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration enigma which has not been tested by Home Assistant. This component might cause stability
-- Boot eecf8325b7ed4929ad212244bbea3c7f --
Dec 14 10:28:04 homeassistant homeassistant[658]: exec /init: exec format error
Dec 14 10:28:09 homeassistant homeassistant[658]: exec /init: exec format error
-- Boot e299eb3b0c3641dca2b3b5023f1e5e02 --
Dec 14 10:32:27 homeassistant homeassistant[657]: exec /init: exec format error
Dec 14 10:32:32 homeassistant homeassistant[657]: exec /init: exec format error
-- Boot 8ab5dcc264b44b39a5c8ec4d2e56ab17 --
Dec 14 10:43:13 homeassistant homeassistant[643]: exec /init: exec format error
Dec 14 10:43:18 homeassistant homeassistant[643]: exec /init: exec format error
Dec 14 11:52:11 homeassistant homeassistant[643]: exec /init: exec format error

So the exec format is incorrect, I think

Doesn’t really make sense, as the log entry at 09:41 showed HA proper actually starting…

I think I made an update after this, or during update, the first start was ok?

I just filed an issue:
https://github.com/home-assistant/operating-system/issues/4447