inutilis
(Irakli)
March 10, 2022, 6:26am
1
My attempt to update Home Assistant Core 2022.3.2 → 2022.3.3 constantly fails with vafue error message “Unknown error, see supervisor”.
Supervisor logs shows various errors but I cannot understand what exactly is the problem and how can be fixed.
22-03-10 07:56:02 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-03-10 07:56:02 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-03-10 07:56:02 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-03-10 07:56:02 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
22-03-10 07:56:22 ERROR (MainThread) [supervisor.resolution.check] Error during processing IssueType.TRUST:
22-03-10 07:56:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-03-10 07:56:23 WARNING (MainThread) [supervisor.utils.codenotary] rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 35.168.17.115:443: i/o timeout"
22-03-10 07:56:42 ERROR (MainThread) [supervisor.resolution.check] Error during processing IssueType.TRUST:
22-03-10 07:56:42 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
22-03-10 07:56:43 WARNING (MainThread) [supervisor.utils.codenotary] rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 35.168.17.115:443: i/o timeout"
22-03-10 07:57:03 ERROR (MainThread) [supervisor.resolution.check] Error during processing IssueType.TRUST:
22-03-10 07:57:03 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-03-10 07:57:03 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-03-10 07:57:03 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-03-10 07:57:03 WARNING (MainThread) [supervisor.utils.codenotary] rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 35.168.17.115:443: i/o timeout"
22-03-10 07:57:23 WARNING (MainThread) [supervisor.utils.codenotary] rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 35.168.17.115:443: i/o timeout"
22-03-10 07:57:23 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-10 07:57:23 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-03-10 07:57:23 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-03-10 08:12:03 INFO (MainThread) [supervisor.backups.manager] Creating new partial backup with slug 04ae961d
22-03-10 08:12:03 INFO (MainThread) [supervisor.homeassistant.module] Backing up Home Assistant Core config folder
22-03-10 08:16:46 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
22-03-10 08:16:56 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 04ae961d completed
22-03-10 08:16:56 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.3.3
22-03-10 08:16:56 INFO (SyncWorker_7) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi3-homeassistant:2022.3.2 to ghcr.io/home-assistant/raspberrypi3-homeassistant:2022.3.3
22-03-10 08:16:56 INFO (SyncWorker_7) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi3-homeassistant with tag 2022.3.3.
22-03-10 08:17:18 ERROR (MainThread) [supervisor.jobs] Unhandled exception:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 106, in wrapper
return await self._method(*args, **kwargs)
File "/usr/src/supervisor/supervisor/homeassistant/core.py", line 229, in update
await _update(version)
File "/usr/src/supervisor/supervisor/homeassistant/core.py", line 207, in _update
await self.instance.update(
File "/usr/src/supervisor/supervisor/utils/__init__.py", line 33, in wrap_api
return await method(api, *args, **kwargs)
asyncio.exceptions.TimeoutError
22-03-10 08:17:28 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
22-03-10 08:18:58 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
System: Home Assistant 2022.3.2 on RPi3
Google does not help with advices.
Any suggestions?
tom_l
March 10, 2022, 6:48am
2
Quite a few people seem to be having this issue:
opened 08:25PM - 09 Mar 22 UTC
bug
### Describe the issue you are experiencing
Update fails with unknown error
##… # What is the used version of the Supervisor?
supervisor-2022.03.2
### What type of installation are you running?
Home Assistant Supervised
### Which operating system are you running on?
Debian
### What is the version of your installed operating system?
Debian GNU/Linux 11 (bullseye)
### What version of Home Assistant Core is installed?
core-2022.3.2
### Steps to reproduce the issue
1. Attempt update from WebUI
### Anything in the Supervisor logs that might be useful for us?
```txt
Mar 09 20:22:42 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:22:42 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
Mar 09 20:22:42 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:22:42 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
Mar 09 20:22:42 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:22:42 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 3028718e completed
Mar 09 20:22:42 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:22:42 INFO (MainThread) [supervisor.backups.manager] Creating partial backup with slug 3028718e completed
Mar 09 20:22:42 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:22:42 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.3.3
Mar 09 20:22:42 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:22:42 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.3.3
Mar 09 20:22:42 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:22:42 INFO (SyncWorker_5) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.3.2 to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.3.3
Mar 09 20:22:42 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:22:42 INFO (SyncWorker_5) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.3.2 to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.3.3
Mar 09 20:22:42 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:22:42 INFO (SyncWorker_5) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.3.3.
Mar 09 20:22:42 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:22:42 INFO (SyncWorker_5) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.3.3.
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:23:03 ERROR (MainThread) [supervisor.jobs] Unhandled exception:
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: Traceback (most recent call last):
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:23:03 ERROR (MainThread) [supervisor.jobs] Unhandled exception:
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: Traceback (most recent call last):
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 106, in wrapper
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: return await self._method(*args, **kwargs)
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: File "/usr/src/supervisor/supervisor/homeassistant/core.py", line 229, in update
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: await _update(version)
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: File "/usr/src/supervisor/supervisor/homeassistant/core.py", line 207, in _update
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: await self.instance.update(
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: File "/usr/src/supervisor/supervisor/utils/__init__.py", line 33, in wrap_api
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: return await method(api, *args, **kwargs)
Mar 09 20:23:03 BorkBorkPi hassio-supervisor[1339]: asyncio.exceptions.TimeoutError
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 106, in wrapper
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: return await self._method(*args, **kwargs)
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: File "/usr/src/supervisor/supervisor/homeassistant/core.py", line 229, in update
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: await _update(version)
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: File "/usr/src/supervisor/supervisor/homeassistant/core.py", line 207, in _update
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: await self.instance.update(
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: File "/usr/src/supervisor/supervisor/utils/__init__.py", line 33, in wrap_api
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: return await method(api, *args, **kwargs)
Mar 09 20:23:03 BorkBorkPi 84a98dfdccf2[611]: asyncio.exceptions.TimeoutError
Mar 09 20:23:03 BorkBorkPi fbdf77f7c15f[611]: 2022-03-09 20:23:03 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /core/update - Unknown error, see supervisor
Mar 09 20:23:13 BorkBorkPi 84a98dfdccf2[611]: 22-03-09 20:23:13 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
Mar 09 20:23:13 BorkBorkPi hassio-supervisor[1339]: 22-03-09 20:23:13 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
```
### Additional information
_No response_
mjitkop
(Gildas)
March 10, 2022, 6:54am
3
I experienced the same timeout error earlier too.
In my case though, it was not during an upgrade but after a fresh install on a new machine. It was stuck on the initial screen with the pulsating blue dot. When looking at the log, it kept showing this timeout error and it kept retrying every 30 seconds. I stopped it and closed everything.
I figured it was some kind of remote server issue.
Hopefully, that will be fixed tomorrow.
I will retry later to initialize and see how that goes.
Edit: I just remembered that after my fresh install, I saw in the log that it was downloading 2022.3.3 and tried to install it. That’s when the timeout error occurred. So I guess it’s similar to this upgrade problem.
Something similar. Upgrade ended up borking my perviously supported Debian 11 Supervised install into a Debian 11 Unsupervised Unsupported install. The reboot allowed me to upgrade Core successfully, but the Unsupported warning remains. Not sure what to do other than pull a backup and spend my weekend reinstalling Debian…then HA and hopefully reload from back-up.
Edit: corrected unsupervised to unsupported.
There is no such thing.
It takes less than an hour to install Debian and restore a HA backup. I’m not sure what you are doing that you need to dedicate a weekend to it.
Unsupported I meant to say (not Unsupervised). And it may take you less than an hour to spin one up and get HA on it, but for the less linux oriented…if anything doesn’t work, it’s a significant amount of forum searching, rabbit holing, and last resort Googling. Not everyone on here lives completely in linux. I don’t set one of these up often enough to do it in my sleep.
If I’m nuking the OS anyway, I may take another stab at getting HA OS bare metal working and ditch Debian completely.
And neither do I.
This is why there are easy to follow guides to help you get it done.
Installing Home Assistant Supervised using Debian 12
Before proceeding, please read the following information
It is being made increasing difficult to run a Supervised installation, by choosing to do so you understand the guidelines linked in the next paragraph. If you are new to Home Assistant and/or Linux, then this installation type is most likely not for you and you should choose to run Home Assistant OS on your machine.
A PR has now been merged into the…
If you are starting with a fresh a fresh install, I would recommend you use the generic HA OS instead of Supervised. If you are not very proficient with Linux, as you have stated, then running Supervised is not a recommended option.
I tried Generic HA OS last time, but couldn’t get it to boot, hence I fell back to a Debian Supervised which got me up & running. And, yeah I might just give it another shot…I have a spare SSD lying around so why not.
2 Likes
inutilis
(Irakli)
March 11, 2022, 6:24am
9