Update 2002.9.5 -> 2002.9.6 fails due to supervisor

I can’t update to the latest.

home-assistant.log:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 299, in async_install
    await async_update_core(self.hass, version=version, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 45, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Unknown error, see supervisor

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 676, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 152, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 411, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 301, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Core Unknown error, see supervisor

I had no trouble upgrading before this point.

the supervisor does warn “You are running an unsupported installation”, but I’ve always had been.

I’m running
Operating System : Ubuntu 18.04.6 LTS
Docker version: 20.10.17

I see the following warning in the supervisor log

22-09-23 12:00:09 WARNING (MainThread) [supervisor.resolution.evaluations.base] OS-Agent is not correctly working (more-info: https://www.home-assistant.io/more-info/unsupported/os_agent)
22-09-23 12:00:09 WARNING (MainThread) [supervisor.resolution.evaluations.base] NetworkManager is not correctly configured (more-info: https://www.home-assistant.io/more-info/unsupported/network_manager)
22-09-23 12:00:09 WARNING (MainThread) [supervisor.resolution.evaluations.base] Detected unsupported OS: Ubuntu 18.04.6 LTS (more-info: https://www.home-assistant.io/more-info/unsupported/os)

Is it because of my OS, and why the problem now?

Yes it is. The only supported OS for supervised is listed here: architecture/adr/0014-home-assistant-supervised.md at 2017fdae15d48f287f2398e3243a91ec7a34b161 · home-assistant/architecture · GitHub

You were always running an unsupported installation that could break at any time. Now it has. No real surprise there.

Do yourself a favour and stop running Supervised (and especially an unsupported supervised install).

There are many good alternatives.

Thanks for the feedback.
Can you point to the alternatives?
Maybe the problem, is I don’t really understand what the supervisor gives me (add ons?), how I got it in the first place, and now how to remove it.
Any doc I should be reading.

I have been looking through that. It’s been a while. I even had to recall how I did my initial install 3 years ago.
I’m running in a docker container.
I see I have about 24 ha related containers, 7 which are hassio-addons, plus the hassio_supervisor. So I assume I need to delete these containers, then manually create them with docker (or docker-compose)

I give it a try tomorrow. way pass my bedtime…

If you choose the container install method then there is no addon support and you will be responsible for building your own containers for other applications like an mqtt broker.

https://www.home-assistant.io/installation/#compare-installation-methods

That’s a good reference. I probably could manage without the supervisor but it will be a hassle. Its time I swap my nuc to debian.

Or install proxmox so you can run Home Assistant OS alongside other OS(s) on your NUC. Best of both words. You get HAOS fully supported and whatever other OS(s) you prefer.

https://community.home-assistant.io/t/installing-home-assistant-os-using-proxmox-7/201835

2 Likes

That’s the ticket :train2:, Thank you.