home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.78k stars 30.88k forks source link

Something is blocking Home Assistant from wrapping up the start up phase #124803

Closed wbyoung closed 2 months ago

wbyoung commented 2 months ago

The problem

I've disabled all custom integrations, but still get this error message in the logs during startup. I'm not sure whether this is something that needs to be fixed or just something specific to my configuration. Ideas on how to start digging into it would be appreciated!

What version of Home Assistant Core has the issue?

core-2024.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

home-assistant.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-08-28 08:37:22.863 WARNING (MainThread) [homeassistant.core] Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: airnow.sensor, wallbox, xiaomi_miio.button, synology_dsm, webostv.media_player, netgear.device_tracker, waqi.sensor, cast.media_player, rachio, mobile_app.binary_sensor, esphome, wake_word, camera, zone, accuweather.weather, webhook, netgear.button, automation, yalexs_ble.sensor, nest.sensor, button, shopping_list, mobile_app.sensor, sensor, zeroconf, switch_as_x.light, synology_dsm.binary_sensor, event, device_tracker, plex.update, map, xiaomi_miio.binary_sensor, hassio.update, tag, esphome.switch, august.sensor, input_button, openweathermap.weather, zha.siren, webostv, alarm_control_panel, systemmonitor, vacuum, systemmonitor.binary_sensor, stt, analytics, group.binary_sensor, logger, google_translate, search, command_line, mobile_app.device_tracker, script, homeassistant, media_source, sun, rpi_power.binary_sensor, switch_as_x, wallbox.switch, google_translate.tts, template.binary_sensor, climate, nest.climate, group.lock, yalexs_ble.binary_sensor, schedule, homeassistant_sky_connect, cast, ffmpeg, fan, persistent_notification, yalexs_ble.lock, apple_tv.media_player, zha.alarm_control_panel, system_log, apple_tv.remote, nest.camera, diagnostics, auth, openuv.sensor, dhcp, homekit_controller.button, recorder, energy.sensor, repairs, weather, xiaomi_miio.sensor, cloud, plex, http, xiaomi_miio, todo, intent, frontend, apple_tv, derivative.sensor, met, proximity, rachio.switch, backup, homekit_controller, zha.lock, wallbox.sensor, hardware, group.notify, sql, my, input_text, synology_dsm.switch, cover, shell_command, mqtt, local_todo.todo, device_automation, zha.binary_sensor, airnow, proximity.sensor, person, esphome.sensor, scrape.sensor, switch, google_assistant.button, application_credentials, zha.cover, input_boolean, ibeacon, scene, tplink, synology_dsm.update, siren, google_assistant, zha.switch, scrape, xiaomi_miio.vacuum, lovelace, notify, raspberry_pi, radio_browser, homeassistant_alerts, august.binary_sensor, assist_pipeline, systemmonitor.sensor, template, group, accuweather, august, number, tts, netgear.switch, wallbox.lock, blueprint, netgear, image_upload, remote, ibeacon.device_tracker, sql.sensor, stream, lock, brother.sensor, zha.button, bluetooth_adapters, yalexs_ble, rest, default_config, met.weather, august.camera, netgear.sensor, energy, google.calendar, esphome.binary_sensor, group.light, zha.device_tracker, homekit_controller.switch, esphome.button, rachio.binary_sensor, zha, zha.select, webostv.notify, homekit_controller.event, utility_meter.sensor, websocket_api, accuweather.sensor, utility_meter, synology_dsm.sensor, calendar, openuv, zha.fan, light, cloud.tts, group.switch, zha.light, rpi_power, usb, homeassistant.scene, local_todo, zha.climate, august.lock, input_select, api, counter, input_datetime, wallbox.number, bluetooth, conversation, mobile_app.notify, system_health, august.button, august.event, nest, derivative, hassio.binary_sensor, history, rachio.calendar, plex.sensor, openuv.binary_sensor, logbook, network, brother, netgear.update, synology_dsm.button, synology_dsm.camera, openweathermap, media_player, ibeacon.sensor, mobile_app, hassio, config, input_number, plex.media_player, zha.update, shopping_list.todo, timer, command_line.sensor, zha.number, waqi, onboarding, binary_sensor, google, homeassistant_hardware, ssdp, update, trace, zha.sensor, select, file_upload, hassio.sensor, plex.button, sun.sensor, rest.sensor, openweathermap.sensor, template.sensor The system is waiting for tasks: {<Task pending name='RestoreStateData dump' coro=<RestoreStateData.async_setup_dump.<locals>._async_dump_states() running at /usr/src/homeassistant/homeassistant/helpers/restore_state.py:235> wait_for=<Future finished result=None> cb=[set.remove()]>, <Task finished name='Task-1793' coro=<Store._async_callback_delayed_write() done, defined at /usr/src/homeassistant/homeassistant/helpers/storage.py:509> result=None>, <Task pending name='Task-1753' coro=<async_setup_discovery_view.<locals>._async_discovery_start_handler() running at /usr/src/homeassistant/homeassistant/components/hassio/discovery.py:46> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name='Task-1764' coro=<ServiceRegistry.async_call() running at /usr/src/homeassistant/homeassistant/core.py:2763> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove(), Task.task_wakeup()]>, <Task pending name='Task-1784' coro=<ConfigEntries.async_reload() running at /usr/src/homeassistant/homeassistant/config_entries.py:1934> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name="homeassistant trigger {'domain': 'template', 'name': 'Trigger Update Coordinator', 'home_assistant_start': True, 'variables': None, 'trigger_data': {'id': '0', 'idx': '0', 'alias': None}}" coro=<TriggerUpdateCoordinator._handle_triggered_with_script() running at /usr/src/homeassistant/homeassistant/components/template/coordinator.py:98> wait_for=<Future pending cb=[shield.<locals>._outer_done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:922, Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name='Task-1801' coro=<_async_process_integration_platforms() running at /usr/src/homeassistant/homeassistant/helpers/integration_platform.py:243> wait_for=<Future finished result={'significant_change': <module 'home...nt_change.py'>}> cb=[set.remove()]>}

Additional information

No response

wbyoung commented 2 months ago

I found the cause of the issue was too large of a core.restore_state file due to a large, deleted object and have opened https://github.com/home-assistant/core/issues/124931 instead.