SOLVED (but not really) Supervisor will not update

As above…

~ $ ha supervisor update
Processing… Done.

Post “http://supervisor/supervisor/update”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
~ $

System Health

version: core-2021.4.6
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.7
os_name: Linux
os_version: 5.4.83-v7
arch: armv7l
timezone: Europe/London

logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok

host_os: Home Assistant OS 5.13
update_channel: stable
supervisor_version: supervisor-2021.04.0
docker_version: 19.03.15
disk_total: 57.8 GB
disk_used: 4.4 GB
healthy: failed to load: Unhealthy
supported: true
board: rpi3
supervisor_api: undefined
version_api: ok
installed_addons: Terminal & SSH (9.1.1), Check Home Assistant configuration (3.7.1), Duck DNS (1.12.5), File editor (5.3.0), Home Assistant Google Drive Backup (0.104.3)

dashboards: 1
resources: 4
views: 8
mode: storage

Supervisor log

Task exception was never retrieved
future: <Task finished name=‘Task-91’ coro=<HomeAssistantWebSocket.async_supervisor_update_event() done, defined at /usr/src/supervisor/supervisor/homeassistant/websocket.py:138> exception=TypeError(‘Received message 257:None is not str’)>
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/homeassistant/websocket.py”, line 143, in async_supervisor_update_event
await self.async_send_command(
File “/usr/src/supervisor/supervisor/homeassistant/websocket.py”, line 134, in async_send_command
return await self._client.async_send_command(message)
File “/usr/src/supervisor/supervisor/homeassistant/websocket.py”, line 46, in async_send_command
response = await self.client.receive_json()
File “/usr/local/lib/python3.8/site-packages/aiohttp/client_ws.py”, line 291, in receive_json
data = await self.receive_str(timeout=timeout)
File “/usr/local/lib/python3.8/site-packages/aiohttp/client_ws.py”, line 276, in receive_str
raise TypeError(f"Received message {msg.type}:{msg.data!r} is not str")
TypeError: Received message 257:None is not str

Rebooted host, same deal…, ideas ?

The 5th host reboot was the charm…, no idea what the issue is

Same again, cannot update the supervisor…what the hell ?

It says its unhealthy. When you go to the supervisor panel you should see a “system is unhealthy” warning. What does it say when you click the link for more info?

It says nothing useful, random errors for the OS not running properly and some missing components. This is running on HA OS, so that’s not possible. Just have to hard reboot one or more times to get it going again. This now happens every time I try an do something using the supervisor

Same issue here too. I have multiple HA with 32/64 bits on ARM. That doesn’t change anything.
Post “http://supervisor/snapshots/new/full”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I believe the problem may come from the SSH & Web Terminal addon (8.2.1 / Unprotected mode):

21-05-16 08:09:18 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on a0d7b954_ssh
21-05-16 08:11:09 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon a0d7b954_ssh

The command ha snapshots new --name “Test” is launched from the exact same addon so it is not an coincidence. I guess the client HA snapshots has its communication broken when the full snapshot server process executes the SSH addon where is belongs.
Now I use the supervisor API to trigger the snapshot:
curl -sSL -H "Authorization: Bearer API_CODE" -d '{"name": "Full Snapshot"}' -X POST https://fqdn_url.example.com/snapshots/new/full
the fqdn_url can be a new proxy from Nginx Proxy Manager or any other RP.
The destination URL: http://supervisor:80
and in advanced tab, you need to add:
proxy_read_timeout 14400s;
the number of seconds will be the max time needed for the backup.