Amir974
(Amir)
November 4, 2021, 6:06pm
1
After upgrading to 2021.11 (Hassio) - Supervisor tab does not load for me
I get a screen with:
Troubleshooting
If you just started, make sure you have given the Supervisor enough time to start.
Check the Observer
Try a reboot of the host
Check System Health
Ask for help
Observer - shows all positive signs
System Health - showing āerror unknownā
the logs are full of [homeassistant.components.hassio.handler] /<<>> return code 403
for example (but much more):
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /homeassistant/options return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/options return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /ingress/panels return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.addon_panel] Can't read panel info:
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Supervisor for hassio
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 623, in async_setup_entry
coordinator = HassioDataUpdateCoordinator(hass, entry, dev_reg)
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 702, in __init__
self.is_hass_os = "hassos" in get_info(self.hass)
TypeError: argument of type 'NoneType' is not iterable
How do I diagnose and work it back to normal ?
1 Like
Donāt have a solution unfortunately, but just came here to say Iām seeing the same error. First time Iāve seen any sort of error with Home Assistant really. Would love to hear also if there are any solutions or work arounds.
Edit - Actually, I was able to find a solution in Home Assistant Supervisor ERRORS Ā· Issue #55810 Ā· home-assistant/core Ā· GitHub . The suggested fix to run ha core rebuild
, ha supervisor repair
, and ha host reboot
appears to have worked for me.
6 Likes
Amir974
(Amir)
November 8, 2021, 6:38am
3
I was eventually able to get out of that sticky situation by SSHing into HA and playing around with some of the manual commandsā¦
I think these 2 lines did the trick:
ha su repair
ha core update
hope this helps anyone who got stuck.
1 Like
hacwa
(Hacwa)
March 9, 2022, 6:02pm
4
This started for me after an update, thanks for posting this, it got me on the right track.
The core update failed so I had to run rebuild instead
docker exec -it hassio_cli /bin/bash
bash-5.1# ha su repair
Processing... Done.
Command completed successfully.
bash-5.1# ha core update
Processing... Done.
Error: Unknown error, see supervisor
bash-5.1# ha core rebuild
Processing... Done.
This was also of use:
opened 11:42AM - 14 Oct 21 UTC
closed 08:09PM - 14 Oct 21 UTC
bug
### Describe the issue you are experiencing
When (re-)booting after the latest ā¦ update (HASS 2021.10.4 and OS Version 6.5) the supervisor won't boot due to an error in the `usb` integration. In my config it's only referenced by `default_config`.
### What is the used version of the Supervisor?
unable to see, probably latest
### What type of installation are you running?
Home Assistant OS
### Which operating system are you running on?
Home Assistant Operating System
### What is the version of your installed operating system?
6.5
### What version of Home Assistant Core is installed?
2021.10.4
### Steps to reproduce the issue
1. Updated from 2021.10.3 to 2021.10.4 via ui
2. Updated OS from 6.4 to 6.5 via ui
### Anything in the Supervisor logs that might be useful for us?
```txt
2021-10-14 13:06:42 ERROR (MainThread) [homeassistant.components.hassio.handler] /homeassistant/options return code 403
2021-10-14 13:06:42 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/options return code 403
2021-10-14 13:06:42 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2021-10-14 13:06:42 WARNING (MainThread) [homeassistant.components.hassio] Can't read last version:
2021-10-14 13:06:42 ERROR (MainThread) [homeassistant.components.hassio.handler] /ingress/panels return code 403
2021-10-14 13:06:42 ERROR (MainThread) [homeassistant.components.hassio.addon_panel] Can't read panel info:
2021-10-14 13:06:43 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Supervisor for hassio
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 623, in async_setup_entry
coordinator = HassioDataUpdateCoordinator(hass, entry, dev_reg)
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 702, in __init__
self.is_hass_os = "hassos" in get_info(self.hass)
TypeError: argument of type 'NoneType' is not iterable
2021-10-14 13:06:51 ERROR (MainThread) [homeassistant.setup] Error during setup of component usb
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 254, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/usb/__init__.py", line 69, in async_setup
await usb_discovery.async_setup()
File "/usr/src/homeassistant/homeassistant/components/usb/__init__.py", line 102, in async_setup
await self._async_start_monitor()
File "/usr/src/homeassistant/homeassistant/components/usb/__init__.py", line 114, in _async_start_monitor
info = await system_info.async_get_system_info(self.hass)
File "/usr/src/homeassistant/homeassistant/helpers/system_info.py", line 52, in async_get_system_info
info_object["supervisor"] = info.get("supervisor")
AttributeError: 'NoneType' object has no attribute 'get'
2021-10-14 13:06:53 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server (0 bytes read on a total of 32 expected bytes)
2021-10-14 13:06:53 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server
2021-10-14 13:06:54 ERROR (MainThread) [homeassistant.components.updater] Unexpected error fetching Home Assistant update data: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/updater/__init__.py", line 82, in check_new_version
newest = core_info["version_latest"]
TypeError: 'NoneType' object is not subscriptable
```
### Additional information

## System Health
error | failed to load: unknown
-- | --
<details><summary>Home Assistant Community Store</summary>
GitHub API | ok
-- | --
Github API Calls Remaining | 4825
Installed Version | 1.15.2
Stage | running
Available Repositories | 881
Installed Repositories | 25
</details>
<details><summary>Home Assistant Cloud</summary>
logged_in | true
-- | --
subscription_expiration | 27. Oktober 2021, 02:00
relayer_connected | true
remote_enabled | true
remote_connected | true
alexa_enabled | false
google_enabled | true
remote_server | eu-central-1-1.ui.nabu.casa
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
</details>
<details><summary>Home Assistant Supervisor</summary>
error | failed to load: unknown
-- | --
</details>
<details><summary>Lovelace</summary>
dashboards | 3
-- | --
resources | 11
views | 11
mode | storage
</details>
<details><summary>Spotify</summary>
api_endpoint_reachable | ok
-- | --
</details>
1 Like
hacwa
(Hacwa)
March 9, 2022, 6:05pm
5
Ignore me, I how now idea how I didnāt see the post from theRoboticist
This solved my problem.
Thank you!
1 Like
alex3305
(Alex van den Hoogen)
December 22, 2022, 12:58pm
7
ha core rebuild
solved this for me after upgrading from Home Assistant OS 9.3 9.4.
1 Like
mariux
(Marius)
March 24, 2023, 9:12am
9
This also worked for me.
It brought back āSupervisor: trueā from āfalseā in the system information display in haos.
The add-ons are now working again.
sembo
(Sembo)
April 3, 2023, 9:25am
10
Hey, could this be the same issue?
see logs
2023-04-03 10:14:59.890 ERROR (MainThread) [homeassistant.components.hassio.handler] /homeassistant/options return code 403
2023-04-03 10:15:02.258 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/options return code 403
2023-04-03 10:15:02.510 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:15:04.276 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:15:04.438 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2023-04-03 10:15:05.486 ERROR (MainThread) [homeassistant.components.hassio.handler] /ingress/panels return code 403
2023-04-03 10:15:05.511 ERROR (MainThread) [homeassistant.components.hassio.addon_panel] Can't read panel info:
2023-04-03 10:15:05.825 ERROR (MainThread) [homeassistant.components.hassio.handler] /resolution/info return code 403
2023-04-03 10:15:05.840 ERROR (MainThread) [homeassistant.setup] Error during setup of component hassio
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 587, in async_setup
File "/usr/src/homeassistant/homeassistant/components/hassio/repairs.py", line 149, in setup
File "/usr/src/homeassistant/homeassistant/components/hassio/repairs.py", line 157, in update
File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 48, in _wrapper
File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 468, in send_command
raise HassioAPIError()
homeassistant.components.hassio.handler.HassioAPIError
2023-04-03 10:15:05.875 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:15:05.887 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:15:06.015 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:15:06.024 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:15:06.124 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:15:41.998 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of raspberry_pi. Setup failed for dependencies: hassio
2023-04-03 10:15:42.004 ERROR (MainThread) [homeassistant.setup] Setup failed for raspberry_pi: (DependencyError(...), 'Could not setup dependencies: hassio')
2023-04-03 10:16:19.539 ERROR (MainThread) [homeassistant.components.hassio.handler] /discovery return code 403
2023-04-03 10:16:19.556 ERROR (MainThread) [homeassistant.components.hassio.discovery] Can't read discover info:
2023-04-03 10:20:04.418 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:20:04.427 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:20:04.433 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:20:04.440 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:20:04.445 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:20:04.452 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:20:04.461 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 561, in _async_setup_hardware_integration
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 319, in get_os_info
2023-04-03 10:25:04.480 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:25:04.485 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:25:04.495 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:25:04.503 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:25:04.511 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:25:04.519 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:25:04.528 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:30:04.539 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:30:04.543 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:30:04.550 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:30:04.559 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:30:04.566 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:30:04.574 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:30:04.583 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:35:04.594 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:35:04.599 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:35:04.606 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:35:04.614 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:35:04.621 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:35:04.629 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:35:04.637 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:40:04.654 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:40:04.659 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:40:04.666 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:40:04.674 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:40:04.681 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:40:04.696 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:40:04.704 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:45:04.708 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:45:04.713 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:45:04.720 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:45:04.728 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:45:04.735 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:45:04.743 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:45:04.750 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:50:04.763 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:50:04.768 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:50:04.774 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:50:04.782 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:50:04.790 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:50:04.798 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:50:04.805 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 10:55:04.819 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 10:55:04.824 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 10:55:04.832 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 10:55:04.840 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 10:55:04.849 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 10:55:04.857 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 10:55:04.865 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 11:00:04.871 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 11:00:04.876 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 11:00:04.884 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 11:00:04.892 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 11:00:04.900 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 11:00:04.908 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 11:00:04.915 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 11:05:04.926 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 11:05:04.931 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 11:05:04.938 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 11:05:04.946 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 11:05:04.953 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 11:05:04.961 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 11:05:04.969 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 11:10:04.984 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 11:10:04.989 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 11:10:04.997 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 11:10:05.007 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 11:10:05.014 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 11:10:05.022 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 11:10:05.030 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 11:15:05.041 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 11:15:05.045 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 11:15:05.053 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 11:15:05.061 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 11:15:05.068 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 11:15:05.076 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 11:15:05.083 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
2023-04-03 11:20:05.098 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2023-04-03 11:20:05.107 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2023-04-03 11:20:05.114 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403
2023-04-03 11:20:05.122 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403
2023-04-03 11:20:05.129 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403
2023-04-03 11:20:05.137 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403
2023-04-03 11:20:05.145 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403
smartandy
(Andy)
December 19, 2023, 12:54am
11
The issue is with the hassio_observer having a stale/incorrect supervisor_token. You can validate this from the hassio cli, with the following:
# docker logs -n 20 hassio_observer
[timestamp] Supervisor API call failed with error Supervisor API call failed with status code 403
[timestamp] Supervisor API call failed with error Supervisor API call failed with status code 403
[timestamp] Supervisor API call failed with error Supervisor API call failed with status code 403
ā¦
This confirms the token is incorrect. To find the correct token, the easiest way I found is look at the hassio_cliās docker inspect:
> docker inspect hassio_cli | grep -i supervisior_token
Take the new token and update the hassio_observer containerās value, by running:
> docker stop hassio_observer
> ha observer update --api-token {from_above}
> docker start hassio_observer
Verify the observer started (or run docker start hassio_observer) and it should now be working
1 Like