Cannot update Home Assistant Core from 2021.11.5 to 2021.12.1

Hi all, I need help updating to the latest HA version.

I am running a Proxmox server.
I hadn’t had problems updating any of the previous versions.

I updated Supervisor to the latest version without any problem. The current version is supervisor-2021.12.1.

But when I try to update Core, nothing happens. I am updating through the UI. The system does the backup and when it tries to update it crashes without any meaningful message. At least to me :frowning:

In the system log I see the following:

21-12-14 12:52:39 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-12-14 12:53:14 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
21-12-14 12:53:14 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
21-12-14 12:53:14 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
21-12-14 12:53:14 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2021.11.5
21-12-14 12:53:14 INFO (SyncWorker_6) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:2021.12.1 to ghcr.io/home-assistant/qemux86-64-homeassistant:2021.11.5
21-12-14 12:53:14 INFO (SyncWorker_6) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2021.11.5.
21-12-14 12:53:15 INFO (SyncWorker_6) [supervisor.docker.interface] Cleaning homeassistant application
21-12-14 12:53:15 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
21-12-14 12:53:15 INFO (SyncWorker_2) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2021.11.5
21-12-14 12:53:15 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-12-14 12:53:54 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-12-14 12:53:54 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-12-14 12:54:14 INFO (MainThread) [supervisor.homeassistant.secrets] Request secret mosquitto_username
21-12-14 12:54:14 INFO (MainThread) [supervisor.homeassistant.secrets] Request secret mosquitto_password
21-12-14 12:54:17 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-12-14 12:54:17 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2021.11.5
21-12-14 12:54:17 INFO (SyncWorker_6) [supervisor.docker.interface] Cleanup images: ['ghcr.io/home-assistant/qemux86-64-homeassistant:2021.12.1']
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
21-12-14 12:54:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running

In the home-assistant-rollback.log

2021-12-14 12:52:42 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration alexa_media 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
2021-12-14 12:52:42 WARNING (SyncWorker_2) [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
2021-12-14 12:52:42 WARNING (SyncWorker_0) [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

And here is my Home Assistant log

12-14 12:53:18 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alexa_media 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
2021-12-14 12:53:18 WARNING (SyncWorker_1) [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
2021-12-14 12:53:18 WARNING (SyncWorker_0) [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
2021-12-14 12:53:54 WARNING (MainThread) [homeassistant.core] Invalid external_url set. It's not allowed to have a path
2021-12-14 12:53:54 WARNING (MainThread) [homeassistant.components.recorder] The 'purge_interval' option is deprecated, please remove it from your configuration
2021-12-14 12:53:54 ERROR (MainThread) [homeassistant.components.frontend] Please remove extra_html_url from your frontend config. It is no longer supported
2021-12-14 12:53:54 ERROR (MainThread) [homeassistant.components.frontend] Please remove extra_html_url_es5 from your frontend config. It is no longer supported
2021-12-14 12:53:54 ERROR (MainThread) [homeassistant.components.frontend] Please remove javascript_version from your frontend config. It is no longer supported
2021-12-14 12:53:55 ERROR (MainThread) [homeassistant.components.binary_sensor] The octoprint platform for the binary_sensor integration does not support platform setup. Please remove it from your config.
2021-12-14 12:53:59 WARNING (MainThread) [homeassistant.components.updater] Analytics reporting with the option 'include_used_components' is deprecated and you should remove that from your configuration. The analytics part of this integration has moved to the new 'analytics' integration
2021-12-14 12:53:59 WARNING (MainThread) [homeassistant.components.updater] Analytics reporting with the option 'reporting' is deprecated and you should remove that from your configuration. The analytics part of this integration has moved to the new 'analytics' integration
2021-12-14 12:53:59 WARNING (MainThread) [alexapy.alexalogin] No access token found; falling back to credential login instead of oauth.
2021-12-14 12:54:00 WARNING (MainThread) [alexapy.alexawebsocket] mac_dms not detected; websocket likely won't connect
2021-12-14 12:54:05 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.31.102:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2021-12-14 12:54:05 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to EoN Box at 192.168.31.102:5555 using ADB server at 127.0.0.1:5037
2021-12-14 12:54:06 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet: None; Retrying in background in 30 seconds
2021-12-14 12:54:06 ERROR (MainThread) [homeassistant.components.light] Platform esphome does not generate unique IDs. ID predsobljelightpredsoblje_light already exists - ignoring light.predsoblje_light
2021-12-14 12:54:06 ERROR (MainThread) [homeassistant.components.sensor] Platform esphome does not generate unique IDs. ID humtempsensor3d_temperature already exists - ignoring sensor.3d_temperature
2021-12-14 12:54:06 ERROR (MainThread) [homeassistant.components.sensor] Platform esphome does not generate unique IDs. ID humtempsensor3d_humidity already exists - ignoring sensor.3d_humidity
2021-12-14 12:54:06 ERROR (MainThread) [homeassistant.components.sensor] Platform esphome does not generate unique IDs. ID humtempsensor3d_battery_level already exists - ignoring sensor.3d_battery_level
2021-12-14 12:54:06 ERROR (MainThread) [homeassistant.components.switch] Platform esphome does not generate unique IDs. ID humtempswitchtest_temperature_restart already exists - ignoring switch.test_temperature_restart_2
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139768134164144] Received invalid command: mobile_app/push_notification_channel
2021-12-14 12:54:14 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.31.102:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2021-12-14 12:54:14 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to EoN Box at 192.168.31.102:5555 using ADB server at 127.0.0.1:5037
2021-12-14 12:54:14 WARNING (MainThread) [homeassistant.components.homekit] The bridge Home Assistant has entity camera.camera_1. For best performance, and to prevent unexpected unavailability, create and pair a separate HomeKit instance in accessory mode for this entity
2021-12-14 12:54:14 WARNING (MainThread) [homeassistant.components.homekit] The bridge Home Assistant has entity camera.camera_2. For best performance, and to prevent unexpected unavailability, create and pair a separate HomeKit instance in accessory mode for this entity
2021-12-14 12:54:14 WARNING (MainThread) [homeassistant.components.homekit] The bridge Home Assistant has entity camera.octoprint. For best performance, and to prevent unexpected unavailability, create and pair a separate HomeKit instance in accessory mode for this entity

Please help I don’t understand what is the problem.

1 Like

I got the same problem. Running Homeassistant on a Rpi4.

check/post that file?

But not sure if that is the original error, or just the log from the rollback :thinking:

I did post the home-assistant-rollback.log file
In the home-assistant-rollback.log file there are only 3 lines with the warnings about custom integrations:

 - alexa_media
 - xiaomi_cloud_map_extractor
 - hacs

and all three are warnings, not Errors

Same here.

Hassio installed on Proxmox VE 7.0-11
Home Assistant OS 7.0
supervisor-2021.12.2
core-2021.11.5

Trying to update to core-2021.12.1, error shows: ‘We found a custom integration which has not been tested…’
There is no more info in home-assistant-rollback.log

So the solution for me was to remove all customs integrations. And restart HA and update.
This solved the issue so now i just need to add integrations back
In my case that was

 - alexa_media
 - xiaomi_cloud_map_extractor

You do not need to remove HACS

1 Like

I was just to say, uninstall (or update) alexa_media (this is a known issue)

1 Like

Updating alexa_media didn´t work. Uninstalling it did the job.
Cheers!

Thanks

I can also confirm this…
Alexa Media Player must be removed, and then reinstalled after updating to core-2021.12.2.
Disabling it will not work. When I did mine any reconfiguration was needed, all of the previous settings config for Alexa Media Player were there after reinstalling the add-on.

Same problem, but I don’t have alexa_media installed.

How do I find out which integration is causing the problem, I don’t want to uninstall everything.