supervisor: Supervisor 2022.11.1 wont install

Describe the issue you are experiencing

and the update hangs forever:

Scherm­afbeelding 2022-11-15 om 13 29 13

restarts still possible, so tried that too, but issue remains

Scherm­afbeelding 2022-11-15 om 15 35 49

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. click Install

Anything in the Supervisor logs that might be useful for us?

22-11-15 15:34:16 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
22-11-15 15:34:16 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-11-15 15:34:16 WARNING (MainThread) [supervisor.jobs] 'StoreManager.reload' blocked from execution, supervisor needs to be updated first
22-11-15 15:34:16 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json
22-11-15 15:34:18 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-11-15 15:34:20 INFO (MainThread) [supervisor.homeassistant.secrets] Request secret authorized_key
22-11-15 15:36:16 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance

System Health information

System Information

version core-2022.11.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.67
arch x86_64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4695
Installed Version 1.28.3
Stage running
Available Repositories 1151
Downloaded Repositories 49
Home Assistant Cloud
logged_in true
subscription_expiration August 31, 2023 at 02:00
relayer_connected true
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server eu-central-1-2.ui.nabu.casa
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 9.0
update_channel beta
supervisor_version supervisor-2022.11.0
agent_version 1.3.0
docker_version 20.10.17
disk_total 458.4 GB
disk_used 17.0 GB
healthy true
supported true
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons AppDaemon (0.10.0), Home Assistant Google Drive Backup (0.109.1), Log Viewer (0.14.0), MariaDB (2.5.1), Samba share (10.0.0), Studio Code Server (5.4.1), Terminal & SSH (9.6.1), phpMyAdmin (0.8.2), Mosquitto broker (6.1.3), Z-Wave JS (0.1.74), ESPHome (2022.10.2), Matter Server (0.3.0)
Dashboards
dashboards 10
resources 42
views 97
mode yaml
Recorder
oldest_recorder_run November 1, 2022 at 04:10
current_recorder_run November 15, 2022 at 15:34
estimated_db_size 1605.17 MiB
database_engine mysql
database_version 10.6.8
Spotify
api_endpoint_reachable ok

Supervisor diagnostics

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 62 (18 by maintainers)

Most upvoted comments

Here is a one liner version of what Mike pasted above

version="2022.11.2" arch=`docker image ls | grep -- '-hassio-observer'  | awk '{print $1}' | awk -F/ '{print $3}' | awk -F- '{print $1}'` && docker pull "ghcr.io/home-assistant/${arch}-hassio-supervisor:${version}" && docker tag "ghcr.io/home-assistant/${arch}-hassio-supervisor:${version}" "ghcr.io/home-assistant/${arch}-hassio-supervisor:latest" && docker stop hassio_supervisor && docker rm hassio_supervisor

If you had the 2022.11.0 beta installed I had to do this to get mine to update:

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

Someone probably has a better way to do this so you might wait for a better fix as this one is a bit risky to do.

This kind of worked for me. Only had access to OS CLI (running in a VM). You can use docker commands by typing login. After the above commands my supervisor was back to ‘normal’, allowing me to update it to 2022.11.2. My core is back up but add-ons are having issues, running su repair as we speak since none of the images exist.

I have the same issue here, except it’s from Supervisor 2022.11.0 to 2022.11.2 and same issue updatng Core from 2022.10.4 to 2022.11.2. I am using HAOS in VIrtualBox. There doesn’t seem to be anything unusal in the logs I checked. Restart is not always possible. However I restarted from the Virtualbox (using ACPI shutdown then starting back up) and now I cannot take any backups because Creating a backup is not possible right now because the system is in startup state

Let me know if you need me to look somewhere for further information

That’s why I said the third option is a reinstall and then restore a backup. Reinstall will put you on the latest version of supervisor. At that point you should be able to restore everything else around supervisor without issue.

Just had some comments on this option, about people losing their entire history… Guess that is a serious reason to keep this option as last resort.

yeah it is updated I see now

@Mariusthvdb did you try to restore a backup on the current system? If so then that won’t work.

Backups don’t really include much from supervisor except the values of its current options. It will not revert to an older version of supervisor. Also since supervisor is the one doing the restoring it won’t work if supervisor doesn’t work.

That’s why I said the third option is a reinstall and then restore a backup. Reinstall will put you on the latest version of supervisor. At that point you should be able to restore everything else around supervisor without issue.

Hey Mike, I fear for the many users that will be confronted with this issue the next few hours, a more detailed an precise list of commands, probably in a community post, is required…

I mean, I can shell into a terminal, at port 22222, but am afraid need a bit more direction than

find the supervisor image name that looks like that in the list. Plug in the arch you use.

as will most HAOS users…

also, de we need to get back to the beta channel for Nicks commands, or can we also do that on stable.

also @tjorim

My core is back up but add-ons are having issues, running su repair as we speak since none of the images exist.

This ofc is a major issue, and personally I wont dare to issue the commands, since all of my system is depending on the add-ons (Zwave/Mqtt) to name but 2 fundamentals…

Unfortunately you’re going to need to do what bdraco suggested. Because of where this error occurs supervisor can’t update itself out of this. Attempting to update gets stuck indefinitely. The alternative solution is this:

arch="<INSERT ARCH HERE>"
docker pull "ghcr.io/home-assistant/${arch}-hassio-supervisor:2022.11.2"
docker tag "ghcr.io/home-assistant/${arch}-hassio-supervisor:2022.11.2" "ghcr.io/home-assistant/${arch}-hassio-supervisor:latest"
docker stop hassio_supervisor && docker rm hassio_supervisor

Note that you need to put your system arch in arch if you use this. If you don’t know then do a docker image ls and find the supervisor image name that looks like that in the list. Plug in the arch you use. Note that you can also find the value for arch in the response to ha supervisor info. Since the API seems unreliable in this state I figured I’d put an alternative that didn’t involve it but that is easier, just copy and paste the value from arch into <INSERT ARCH HERE>

After those steps are done you don’t have to start supervisor again. Observer will remake supervisor’s container on the new version and you’ll be past this.

This for reference is a general solution to this problem (I use essentially the same process any time I break my dev box with something 😄 ). Bdraco’s works fine but is a specific solution to the particular issue at hand.

If you had the 2022.11.0 beta installed I had to do this to get mine to update:

docker exec -it hassio_supervisor /bin/bash
pip3 install --upgrade dbus-fast
docker restart hassio_supervisor

Someone probably has a better way to do this so you might wait for a better fix as this one is a bit risky to do.

I lost access to HA and thus the terminal add-on after a restart, is there a way to get access to the docker command using the host CLI? Seems limited to ha >. Can’t manually stop/start/restart core, I see the landingpage with su logs.