Hello,
I’ve been trying to upgrade my home assistant from 2023.3.6 to 2023.4.X at least 10 times, but every time, the system crashes and rollbacks.
Can anyone help me figure out what’s going on? (or at least tell me where to look at for more information)
Here is my system information:
Device: Raspberry Pi 3-64
Home Assistant 2023.3.6
Supervisor 2023.04.0
Operating System 10.0
UI : 20230309.1 - latest
In the supervisor logs, I can clearly see that the “CRITICAL” error and the rollback happen at 11:30:
23-04-22 10:49:52 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2023.4.0
23-04-22 10:49:52 INFO (SyncWorker_7) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.3.6 to ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.4.0
23-04-22 10:49:52 INFO (SyncWorker_7) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi3-64-homeassistant with tag 2023.4.0.
23-04-22 11:01:38 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
23-04-22 11:01:38 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
23-04-22 11:01:55 INFO (MainThread) [supervisor.jobs] 'CheckAddonPwned.run_check' blocked from execution, no supervisor internet connection
23-04-22 11:01:55 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-04-22 11:01:55 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-04-22 11:01:55 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.NO_CURRENT_BACKUP/ContextType.SYSTEM
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.MULTIPLE_DATA_DISKS/ContextType.SYSTEM
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-22 11:01:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-22 11:03:14 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-22 11:03:14 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
23-04-22 11:03:14 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-04-22 11:05:09 WARNING (MainThread) [supervisor.misc.tasks] Watchdog/Application found a problem with observer plugin!
23-04-22 11:05:11 INFO (SyncWorker_1) [supervisor.docker.interface] Stopping hassio_observer application
23-04-22 11:06:26 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_observer application
23-04-22 11:06:26 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
23-04-22 11:08:34 INFO (SyncWorker_4) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0 - 172.30.32.6
23-04-22 11:25:04 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-04-22 11:25:09 ERROR (MainThread) [supervisor.api.ingress] Stream error with http://172.30.33.3:8099/: Cannot write to closing transport
23-04-22 11:25:09 ERROR (MainThread) [supervisor.api.ingress] Stream error with http://172.30.33.3:8099/: Cannot write to closing transport
23-04-22 11:26:48 WARNING (MainThread) [supervisor.misc.tasks] Watchdog/Application found a problem with observer plugin!
23-04-22 11:27:06 INFO (SyncWorker_2) [supervisor.docker.interface] Stopping hassio_observer application
23-04-22 11:27:27 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning hassio_observer application
23-04-22 11:27:28 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
23-04-22 11:27:35 INFO (SyncWorker_7) [supervisor.docker.interface] Stopping homeassistant application
23-04-22 11:27:38 INFO (SyncWorker_6) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0 - 172.30.32.6
23-04-22 11:28:13 INFO (SyncWorker_7) [supervisor.docker.interface] Cleaning homeassistant application
23-04-22 11:28:14 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
23-04-22 11:28:28 INFO (SyncWorker_1) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi3-64-homeassistant with version 2023.4.0
23-04-22 11:28:28 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-22 11:28:58 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-22 11:29:06 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-22 11:29:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-22 11:29:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
23-04-22 11:29:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-22 11:29:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-22 11:29:08 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-22 11:29:19 INFO (MainThread) [supervisor.store] Loading add-ons from store: 72 all - 2 new - 0 remove
23-04-22 11:29:19 INFO (MainThread) [supervisor.store] Loading add-ons from store: 72 all - 0 new - 0 remove
23-04-22 11:30:20 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
23-04-22 11:30:45 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
23-04-22 11:30:45 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
23-04-22 11:30:45 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
23-04-22 11:30:45 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2023.3.6
23-04-22 11:30:45 INFO (SyncWorker_3) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.4.0 to ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.3.6
23-04-22 11:30:45 INFO (SyncWorker_3) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi3-64-homeassistant with tag 2023.3.6.
23-04-22 11:30:45 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon MariaDB is failed, restarting...
23-04-22 11:30:45 INFO (SyncWorker_5) [supervisor.docker.interface] Cleaning addon_core_mariadb application
23-04-22 11:30:48 INFO (SyncWorker_3) [supervisor.docker.interface] Cleaning homeassistant application
23-04-22 11:30:48 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
23-04-22 11:30:50 INFO (SyncWorker_5) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi3-64-homeassistant with version 2023.3.6
23-04-22 11:30:50 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-22 11:30:52 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mariadb with version 2.5.2
23-04-22 11:31:30 ERROR (MainThread) [supervisor.services.modules.mysql] There is already a MySQL service in use from core_mariadb
23-04-22 11:31:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-22 11:31:44 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-22 11:31:46 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-22 11:31:46 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-22 11:31:46 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-22 11:31:46 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-22 11:31:46 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
23-04-22 11:31:53 INFO (MainThread) [supervisor.store] Loading add-ons from store: 72 all - 0 new - 0 remove
23-04-22 11:31:53 INFO (MainThread) [supervisor.store] Loading add-ons from store: 72 all - 0 new - 0 remove
23-04-22 11:32:38 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
23-04-22 11:32:38 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2023.3.6
23-04-22 11:32:40 INFO (SyncWorker_6) [supervisor.docker.interface] Cleanup images: ['ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.4.0']
However, I cannot find any interesting information in the core logs (found in /config/home-assistant-rollback.log
):
2023-04-22 11:28:49.148 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-22 11:28:49.155 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration zigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-22 11:28:49.165 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-22 11:29:07.257 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2023-04-22 11:29:48.805 WARNING (MainThread) [homeassistant.setup] Setup of script is taking over 10 seconds.
2023-04-22 11:30:02.256 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Climatiseur' for daikin integration not ready yet: Server disconnected; Retrying in background
2023-04-22 11:30:03.925 ERROR (MainThread) [homeassistant.components.switch] Error adding entities for domain switch with platform overkiz
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 823, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 568, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 632, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 574, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1016, in state
if (is_on := self.is_on) is None:
File "/usr/src/homeassistant/homeassistant/components/overkiz/switch.py", line 169, in is_on
return self.entity_description.is_on(self.executor.select_state)
File "/usr/src/homeassistant/homeassistant/components/overkiz/switch.py", line 118, in <lambda>
OverkizCommandParam.SILENCE
TypeError: argument of type 'NoneType' is not iterable
2023-04-22 11:30:03.981 ERROR (MainThread) [homeassistant.components.switch] Error while setting up overkiz platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 312, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 823, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 568, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 632, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 574, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1016, in state
if (is_on := self.is_on) is None:
File "/usr/src/homeassistant/homeassistant/components/overkiz/switch.py", line 169, in is_on
return self.entity_description.is_on(self.executor.select_state)
File "/usr/src/homeassistant/homeassistant/components/overkiz/switch.py", line 118, in <lambda>
OverkizCommandParam.SILENCE
TypeError: argument of type 'NoneType' is not iterable
2023-04-22 11:30:09.910 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
Can anyone please help me? I’m kind of stuck here…
Thanks!