My upgrades have always worked now they are failing. Currently running 0.109.6.
I saw some where someone stated the error could be related to disk space.
I’m no expert on the HASSOS so here is my current space.
20-06-10 23:03:44 INFO (SyncWorker_0) [supervisor.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.109.6 to homeassistant/qemux86-64-homeassistant:0.111.0
20-06-10 23:03:44 INFO (SyncWorker_0) [supervisor.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.111.0.
20-06-10 23:04:50 ERROR (MainThread) [supervisor.utils] Can't execute update while a task is in progress
20-06-10 23:06:14 INFO (MainThread) [supervisor.host.info] Update local host information
20-06-10 23:06:14 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-06-10 23:06:16 INFO (MainThread) [supervisor.host.services] Update service information
20-06-10 23:06:16 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-06-10 23:06:16 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-06-10 23:06:16 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-06-10 23:06:16 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-06-10 23:07:30 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-06-10 23:08:54 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install homeassistant/qemux86-64-homeassistant:0.111.0 -> 404 Client Error: Not Found ("no such image: homeassistant/qemux86-64-homeassistant:0.111.0: No such image: homeassistant/qemux86-64-homeassistant:0.111.0").
20-06-10 23:08:54 WARNING (MainThread) [supervisor.homeassistant] Update Home Assistant image fails
20-06-10 23:08:54 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished coro=<process_lock.<locals>.wrap_api() done, defined at /usr/src/supervisor/supervisor/utils/__init__.py:22> exception=HomeAssistantUpdateError()>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/utils/__init__.py", line 31, in wrap_api
return await method(api, *args, **kwargs)
File "/usr/src/supervisor/supervisor/homeassistant.py", line 362, in update
raise HomeAssistantUpdateError()
supervisor.exceptions.HomeAssistantUpdateError
I got this same error once this morning but it worked the second time.
This seems to be the smoking gun, if you will:
20-06-10 23:08:54 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install homeassistant/qemux86-64-homeassistant:0.111.0 -> 404 Client Error: Not Found ("no such image: homeassistant/qemux86-64-homeassistant:0.111.0: No such image: homeassistant/qemux86-64-homeassistant:0.111.0").
Since it occurs right after a “Pull”, I assumed it was caused by a busy server so I just tried again and it worked the second time.
Here’s the offending code that’s likely causing you grief:
def process_lock(method):
"""Wrap function with only run once."""
async def wrap_api(api, *args, **kwargs):
"""Return api wrapper."""
if api.lock.locked():
_LOGGER.error(
"Can't execute %s while a task is in progress", method.__name__
)
return False
async with api.lock:
return await method(api, *args, **kwargs)
return wrap_api
From this I’d guess that your system thinks there’s already an update going on so it won’t allow a second update to start. I won’t have time tonight, but I’ll try to dig a little deeper into the api.lock code tomorrow to see if it helps.
You only have 460M avaiable. That is not enough to perform the update. You need to free more space. You need 2.5 to 3 time the space HA is using now. /dev/sda8 is using 4.5G, so calculate.
For my own education, how would the log messages help determine that space was an issue if Jason hadn’t posted the output of ‘df -h’? From the log I see that the image file wasn’t found and also that it looks like update was trying to run more than once.
404 Client Error: Not Found ("no such image: homeassistant/qemux86-64-homeassistant:0.111.0: No such image: homeassistant/qemux86-64-homeassistant:0.111.0").