Missing SUPERVISOR environment variable

Hi All!

I recently moved from HassOS on a Raspberry Pi to a Home Assistant Container install in Docker running on Ubuntu on an Intel NUC.

I moved my config folder over to the new machine and mapped it to my container. Everything is now working great! Except I always get these 3 errors on startup-

Here is my docker compose script:

homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /opt/homeassistant/config:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    privileged: true
    network_mode: host

What can I do to get rid of these errors? Thank you!

1 Like

I’m doing the same process after my SD card died :frowning:. I was able to remove the error by removing the raspberry_pi entry in .storage/core.config_entries.

I’m not sure if this is correct, but I don’t have any issues. Please back up everything.

For example, I deleted this entry:

      {
        "entry_id": "",
        "version": 1,
        "domain": "raspberry_pi",
        "title": "Raspberry Pi",
        "data": {},
        "options": {},
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "system",
        "unique_id": null,
        "disabled_by": null
      }

Make sure you delete the preceding comma or you’ll get a json error.

4 Likes

Hi.
today i moved to docker container from a raspberry pi and i have the same errors and one more.
Do you have a solution?

Hi. Thanks for your help, I was thinking of doing something like this. I will try it and report the result

Thank you Jason! This worked for me!

1 Like

great! this worked, thanks

Also worked for me. Thanks.

That fixed this frustrating error for me too.

Many thanks Jason.

Solved! Thank you!

Fix for me, too.
Thx, Jason

Worked for me, but also had to remove or configure a couple of other integrations