Supervisor update

Hi all, I haven’t yet made the update to Debian 11, but since the update to 2021.8.5, I’ve been having supervisor issues where sometimes if I restart hass, it won’t start up properly due to supervisor problems and I have to restart supervisor manually from the command line. I get this in the supervisor logs:

21-09-05 12:57:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
21-09-05 12:57:49 INFO (MainThread) [supervisor.host.manager] Host information reload completed
21-09-05 12:57:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
21-09-05 12:57:52 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
21-09-05 12:57:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-09-05 12:57:59 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-09-05 12:57:59 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-09-05 12:57:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-05 12:58:01 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-05 12:58:01 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-09-05 12:58:01 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-09-05 12:58:32 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 12:59:03 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 12:59:34 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 12:59:49 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant
21-09-05 13:00:05 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 13:00:36 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 13:01:07 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 13:01:38 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-09-05 13:01:50 ERROR (MainThread) [supervisor.misc.tasks] Watchdog found a problem with Home Assistant API!
21-09-05 13:01:50 INFO (SyncWorker_3) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/intel-nuc-homeassistant
21-09-05 13:01:53 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:54 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
21-09-05 13:01:57 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-05 13:01:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-05 13:01:58 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token

In the hass log I see:

2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.last_lightning, old_state=None, new_state=<st
ate sensor.last_lightning=unknown; friendly_name=Lightning @ 2021-09-05T13:01:58.267201+02:00>>
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.statistics.sensor] None: updating statistics
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.statistics.sensor] None: mean requires at least one data point
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.statistics.sensor] None: variance requires at least two data points
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Custom deps deployment: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Check Home Assistant configuration: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity MQTT Server & Web client: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Samba share: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity SSH & Web Terminal: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Portainer: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Paradox IP150 MQTT Adapter: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Visual Studio Code: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity InfluxDB: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Grafana: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity AppDaemon 4: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Dropbox Sync: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Mosquitto broker: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Forked DAAPD: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity RTSP2WebRTC: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity MariaDB: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Home Assistant Operating System: Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Custom deps deployment: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Check Home Assistant configuration: Newest Version because it's disab
led
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity MQTT Server & Web client: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Samba share: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity SSH & Web Terminal: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Portainer: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Paradox IP150 MQTT Adapter: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Visual Studio Code: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity InfluxDB: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Grafana: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity AppDaemon 4: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Dropbox Sync: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Mosquitto broker: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Forked DAAPD: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity RTSP2WebRTC: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity MariaDB: Newest Version because it's disabled
2021-09-05 13:01:58 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Home Assistant Operating System: Newest Version because it's disabled
2

Anyone seen something like this with latest supervisors or know the cause?

in my logs i see
WARNING (MainThread) [supervisor.resolution.evaluations.base] Detected unsupported OS: Raspbian GNU/Linux 11 (bullseye) (more-info: https://www.home-assistant.io/more-info/unsupported/os)

I wonder if its possible to accept a Raspbian bullseye as a supported platform?

Probably not because the specifications in ADR-0014 clearly state no derivatives of Debian are supported (Raspbian/Raspberry OS and Ubuntu are derivatives of Debian).

Did you upgrade or do a fresh install ?

In view of the supervisor update in relation to Debian 11, I’d like to perform an upgrade to Bullseye. I have Debian 10 64 on a Pi 4 with a supervised install and my repos are the following:
http://archive.raspberrypi.org/debian buster InRelease
http://deb.debian.org/debian buster InRelease
https://download.docker.com/linux/debian buster InRelease
http://deb.debian.org/debian-security buster/updates InRelease
http://packages.azlux.fr/debian buster InRelease
http://deb.debian.org/debian buster-updates InRelease
What is the recommended way to do that? Do I just backup, change everything to “bullseye” and I’m ready to go?

See higher in this topic

In a console :

su
sed -i 's/buster/bullseye/' /etc/apt/sources.list
sed -i 's/buster/bullseye/' /etc/apt/sources.list.d/*.list
sed -i 's|bullseye/updates|bullseye-security|' /etc/apt/sources.list
sed -i 's/bullseye/buster/' /etc/apt/sources.list.d/*mosquitto*.list
apt update
apt upgrade
apt full-upgrade
apt autopurge
1 Like

Thanx for the prompt reply, so basically what I had in mind.
Don’t mind changing the sources manually with an editor. But I can’t quite get the
sed -i ‘s/bullseye/buster/’ /etc/apt/sources.list.d/mosquitto.list part.
Finally regarding apt full-upgrade, can it be apt-get dist-upgrade?

The mosquitto part is only necessary if you have mosquitto installed. The mosquitto repo is not upgraded yet for bullseye.
apt full-upgrade or apt-get dist-upgrade will both work. I used the first one.

Oh, ok thanx a lot again!

I have the following:

docker inspect hassio_supervisor|grep Env -A10
            "Env": [
                "SUPERVISOR_NAME=hassio_supervisor",
                "SUPERVISOR_MACHINE=raspberrypi4",
                "SUPERVISOR_SHARE=/usr/share/hassio",
                "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/u                  sr/bin:/sbin:/bin",
                "LANG=C.UTF-8",
                "S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
                "S6_CMD_WAIT_FOR_SERVICES=1",
                "S6_SERVICES_GRACETIME=10000",
                "SUPERVISOR_API=http://localhost"
            ],

The SUPERVISOR_MACHINE should actually be raspberrypi4-64. Most probably the initial install script was run without the 64 bit option. Should I re-run the correct install script after installing Debian 11 or is there any other way around it?

Yes just rerun the install script again and it will fix it

Thanx for the reply. Does this mean that all this time I actually had the 32-bit version?

Most probably

Nope, I re-run bash installer.sh --machine raspberrypi4-64 but the output is still the same:

Env": [
                "SUPERVISOR_NAME=hassio_supervisor",
                "SUPERVISOR_MACHINE=raspberrypi4",
                "SUPERVISOR_SHARE=/usr/share/hassio",
                "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "LANG=C.UTF-8",
                "S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
                "S6_CMD_WAIT_FOR_SERVICES=1",
                "S6_SERVICES_GRACETIME=10000",
                "SUPERVISOR_API=http://localhost"
            ],

System reports as healthy and supported.

If it isn’t broken, don’t fix it :slight_smile:

2 Likes

The machine name has been corrected in /etc/hassio.json:

{
    "supervisor": "homeassistant/aarch64-hassio-supervisor",
    "machine": "raspberrypi4-64",
    "data": "/usr/share/hassio"
}

but not the env. I think I have the same problem as the poster in post 23 above, which was fixed after a subsequent supervisor update, which is not the case here. Can I maybe just add the variable manually in the file?

Have you reloaded supervisor? It will eventually come good. I had the same when I switched my image as well.

It actually is: mosquitto - Debian Package Tracker & Debian -- Details of source package mosquitto in bullseye

1 Like

Ok, I got errors on it on my first upgrade, I was warned to keep an eye on the repo for the upgrade to be available. I guess it is now.

Just wondering bullseye suppose to be supported right? I just realize that mine say unsupported