Supervisor November beta issue impacting users on Home Assistant beta/dev channels

So you saying that this should help me? and i can execute this command with no fear?

docker exec -it hassio_supervisor /bin/bash
# pip3 install --upgrade dbus-fast
# exit
ha su restart

Does this describe your system? If so then yes it will help. Although not sure why you wouldnā€™t just use the listed curl command at the top but up to you. They both fix your system.

If that doesnā€™t describe your system then no. Something else is wrong.

As i say before curl command doesnā€™t work for me and i provided sys info and output from the curl command. so i must took different approach. i found this and ask before executing.

curl fix worked perfectly for me, need to do some careful updates of components and add-ons to get everything happy again, but tl;dr it worked

Turns out this didnā€™t work perfectly and I now have orphaned addons that cannot be updates or started.
The show as installed using ha addon info but when i try to update them with ha addon update <name of addon> it says they are not installed.

This is an issue for the following on my system:

  • esphome addon
  • spotify connect addon
  • samba share addon
  • samba backup addon
  • aircast addon
  • frigate beta addon

as such this is affecting both official and non-official addons

hi Guys, I am running HA on raspberry pi, connected to screen and keyboard and I can see the terminal with HA >ā€¦ when I type the command it does not work . I get an error command unknown for HAā€¦ how to get to docker, I can see it running at startup ā€¦ thanks for your help

Worked for me, thank you. Maybe Iā€™m not a Beta guy afterall : (

Thanks for this outstanding guide. For some reason after succesfully executing the curl command I also needed to manually restart the docker container and then reboot my Pi as well.

However, the end result is having an upgraded Supervisor 2022.12.1 where I was stuck on 2022.11.0 for more than a month.

I am receiving the following error when I try to do the update. Please adviseā€¦ Thanks.

curl -o - https://version.home-assistant.io/update-supervisor.txt | sh

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 553 100 553 0 0 1945 0 --:ā€“:-- --:ā€“:-- --:ā€“:-- 1947
invalid reference format
Error parsing reference: ā€œghcr.io/home-assistant/armhf\narmv7-hassio-supervisor: 2023.01.1ā€ is not a valid repository/tag: invalid reference format
hassio_supervisor

maaaan, i havenā€™t been able to backup or update HA for MONTHS and havenā€™t been able to figure out what the issue is. Luckily everything seems to be running fine, but iā€™ve always had it in the back of my mind that if something ended up failing spectacularly, iā€™d be up shitcreek without a paddle.

Then i stumbled across this thread! I am on the dreaded supervisor version 2022.11.0 and everything i read sounds like my problem to a tee. So, i fired up the right Terminal add-on and punched in the curl command. Everything seemed to be running correctly but supervisor didnā€™t seem to update and this is the output i received:

Seems like the update was downloaded but not executed - anyone have any idea why that might be?

looking in the supervisor logs I see this:

23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_UPDATE - ContextType.PLUGIN / cli
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.UPDATE_FAILED - ContextType.PLUGIN / cli
23-04-23 08:06:59 INFO (MainThread) [supervisor.plugins.manager] audio does not have the latest version 2023.04.0, updating
23-04-23 08:06:59 WARNING (MainThread) [supervisor.jobs] 'PluginAudio.update' blocked from execution, supervisor needs to be updated first
23-04-23 08:06:59 ERROR (MainThread) [supervisor.plugins.manager] Can't update audio to 2023.04.0, the Supervisor healthy could be compromised!
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_UPDATE - ContextType.PLUGIN / audio
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.UPDATE_FAILED - ContextType.PLUGIN / audio
23-04-23 08:06:59 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 1 Home Assistant secrets
23-04-23 08:06:59 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2022.4.6
23-04-23 08:06:59 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 7.6 / BootSlot B
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/ccab4aaf repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/3d360630 repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/7094bb28 repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/c7657554 repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
23-04-23 08:06:59 INFO (MainThread) [supervisor.store] Loading add-ons from store: 84 all - 84 new - 0 remove
23-04-23 08:06:59 INFO (MainThread) [supervisor.addons] Found 16 installed add-ons
23-04-23 08:06:59 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ccab4aaf/amd64-addon-frigate-beta with version 3.8
23-04-23 08:06:59 INFO (SyncWorker_7) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-zwave_js with version 0.1.72
23-04-23 08:06:59 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ccab4aaf/amd64-addon-frigate-fa with version 3.1
23-04-23 08:06:59 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-deconz with version 6.17.0
23-04-23 08:06:59 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-mariadb with version 2.4.0
23-04-23 08:06:59 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-configurator with version 5.3.3
23-04-23 08:06:59 INFO (SyncWorker_6) [supervisor.docker.interface] Attaching to ghcr.io/allenporter/amd64-rtsp-to-web with version 1.2.2
23-04-23 08:06:59 INFO (SyncWorker_7) [supervisor.docker.interface] Attaching to c7657554/amd64-addon-double-take with version 1.12.1
23-04-23 08:06:59 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to c7657554/amd64-addon-compreface with version 0.6.1
23-04-23 08:06:59 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/ssh/amd64 with version 11.0.2
23-04-23 08:06:59 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to mrlt8/wyze-bridge with version 1.8.8
23-04-23 08:06:59 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to sabeechen/hassio-google-drive-backup-amd64 with version 0.104.3
23-04-23 08:06:59 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-mosquitto with version 6.0.1
23-04-23 08:06:59 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/node-red/amd64 with version 9.0.1
23-04-23 08:06:59 INFO (SyncWorker_6) [supervisor.docker.interface] Attaching to mkerix/room-assistant-amd64 with version 2.18.4
23-04-23 08:06:59 INFO (SyncWorker_7) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-samba with version 9.5.1
23-04-23 08:06:59 INFO (MainThread) [supervisor.backups.manager] Found 5 backup files
23-04-23 08:06:59 INFO (MainThread) [supervisor.discovery] Loaded 4 messages
23-04-23 08:06:59 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-23 08:06:59 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-23 08:06:59 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-23 08:06:59 INFO (MainThread) [__main__] Running Supervisor
TypeError: Expected unicode, got RaucState
Exception ignored in: 'dbus_fast._private.marshaller.Marshaller._write_single'
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 103, in buffer_message
    msg._marshall(self.negotiate_unix_fd),
TypeError: Expected unicode, got RaucState
23-04-23 08:06:59 ERROR (MainThread) [supervisor.jobs] Unhandled exception: 
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 154, in wrapper
    return await self._method(*args, **kwargs)
  File "/usr/src/supervisor/supervisor/os/manager.py", line 232, in mark_healthy
    response = await self.sys_dbus.rauc.mark(RaucState.GOOD, "booted")
  File "/usr/src/supervisor/supervisor/dbus/rauc.py", line 98, in mark
    return await self.dbus.Installer.call_mark(state, slot_identifier)
  File "/usr/src/supervisor/supervisor/utils/dbus.py", line 100, in call_dbus
    return await getattr(proxy_interface, method)(
  File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/proxy_object.py", line 90, in method_fn
    msg = await self.bus.call(
  File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 370, in call
    await future
  File "src/dbus_fast/aio/message_reader.py", line 24, in dbus_fast.aio.message_reader.build_message_reader._message_reader
  File "src/dbus_fast/_private/unmarshaller.py", line 641, in dbus_fast._private.unmarshaller.Unmarshaller._unmarshall
  File "src/dbus_fast/_private/unmarshaller.py", line 524, in dbus_fast._private.unmarshaller.Unmarshaller._read_header
  File "src/dbus_fast/_private/unmarshaller.py", line 276, in dbus_fast._private.unmarshaller.Unmarshaller._read_to_pos
EOFError
23-04-23 08:06:59 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-845' coro=<Core.start() done, defined at /usr/src/supervisor/supervisor/core.py:171> exception=JobException()>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 154, in wrapper
    return await self._method(*args, **kwargs)
  File "/usr/src/supervisor/supervisor/os/manager.py", line 232, in mark_healthy
    response = await self.sys_dbus.rauc.mark(RaucState.GOOD, "booted")
  File "/usr/src/supervisor/supervisor/dbus/rauc.py", line 98, in mark
    return await self.dbus.Installer.call_mark(state, slot_identifier)
  File "/usr/src/supervisor/supervisor/utils/dbus.py", line 100, in call_dbus
    return await getattr(proxy_interface, method)(
  File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/proxy_object.py", line 90, in method_fn
    msg = await self.bus.call(
  File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 370, in call
    await future
  File "src/dbus_fast/aio/message_reader.py", line 24, in dbus_fast.aio.message_reader.build_message_reader._message_reader
  File "src/dbus_fast/_private/unmarshaller.py", line 641, in dbus_fast._private.unmarshaller.Unmarshaller._unmarshall
  File "src/dbus_fast/_private/unmarshaller.py", line 524, in dbus_fast._private.unmarshaller.Unmarshaller._read_header
  File "src/dbus_fast/_private/unmarshaller.py", line 276, in dbus_fast._private.unmarshaller.Unmarshaller._read_to_pos
EOFError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/core.py", line 184, in start
    await self.sys_os.mark_healthy()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 160, in wrapper
    raise JobException() from err
supervisor.exceptions.JobExceptionzfvdrv

Looks like this issue came back and using the Curl command didnā€™t bring back the latest. Also, odd that I wasnā€™t on the Beta when previously updating Core and HAOS.

23-12-04 15:49:13 ERROR (MainThread) [supervisor.backups.manager] Backup was made on supervisor version 2023.11.7.dev3002, canā€™t restore on 2023.11.6. Must update supervisor first.

I was at root with port 22222 and Supervisor updated to latestā€¦butā€¦ latest was still 2023.11.6. Was there a work around to get the ā€˜latestā€™ Supervisor so I can finish my rebuild?

RPi4 8g, HAOS