Invalid config - The following integrations and platforms could not be set up

Hi javi_fly,

Is the indent on customize in the right place?
May not be the problem but it doesn’t look right, like it’s one off or something.

That is the most likely problem.

No, he’s not, I thought he was like that, he’s been like that forever…

It can’t hurt to fix the indent level.
What do you have in customize.yaml?

things also with worng bleed level that I have to fix… :frowning: I fix them?
I have checked the rest of the yaml files and I don’t see any other file with an incorrect indentation level. only this customize.yaml

Nope. As long as the indentation is consistent within each block of yaml you can use as many spaces as you like.

This example uses lists but it’s the same for dictionaries: Invalid Config - cannot figure out the issue - #15 by tom_l

I know it can be 2, 4, 6, etc, but it looked like 1 off from that to me. (like 5)

Ok, so as to the real problem, the recorder integration is not part of default config. See the list here: Default Config - Home Assistant

So you need to add this to your configuration.yaml file and then restart:

recorder:

It can be any non zero integer, 1,2,3,4,5, …42, etc… as long as it is the same for all other elements inside the block.

1 Like

Hello,
I had a copy of my VM. I have corrected the detected bleed errors and re-launched the update. If you look at it, it stays a long time with that message “starting recorder”.

and after that wait it continues to start zigbee, etc… and shows the error again.

I think the idea of adding record in the configuration.yaml is going to be successful. I will try it right now.

I have added recorder in my configuration.yaml, It has not solved the errors, they continue to occur.

# Configuration Stores and manages historical data in Home Assistant
recorder:


Show logs please.

Here is the file: (link to google drive deleted)

Pate them here. I’m behind a corporate firewall that can not access most file sharing sites.

It didn’t let me because of the file limit, I cut the file…

2024-11-10 05:29:34.442 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot 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
2024-11-10 05:29:34.444 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sems 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
2024-11-10 05:29:34.445 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
2024-11-10 05:29:34.446 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tarifa_20td 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
2024-11-10 05:29:34.447 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tuya_climate_mult_edit 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
2024-11-10 05:29:34.448 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bodymiscale 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
2024-11-10 05:29:34.448 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration battery_notes 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
2024-11-10 05:29:34.449 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan 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
2024-11-10 05:29:34.450 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo 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
2024-11-10 05:29:34.451 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff 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
2024-11-10 05:29:34.452 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman 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
2024-11-10 05:29:34.453 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration balance_neto 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
2024-11-10 05:29:34.454 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration edata 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
2024-11-10 05:29:46.581 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2024-11-10 05:30:36.190 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:31:36.300 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:32:36.427 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:33:36.530 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:34:36.581 ERROR (MainThread) [homeassistant.setup] Setup of 'recorder' is taking longer than 300 seconds. Startup will proceed without waiting any longer
2024-11-10 05:34:36.633 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('hassio', None): 1250.376990087}
2024-11-10 05:34:52.777 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'edata'. Setup failed for dependencies: ['recorder']
2024-11-10 05:34:52.778 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'edata': Could not setup dependencies: recorder
2024-11-10 05:34:52.799 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'logbook'. Setup failed for dependencies: ['recorder']
2024-11-10 05:34:52.799 ERROR (MainThread) [homeassistant.setup] Setup failed for 'logbook': Could not setup dependencies: recorder
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'history'. Setup failed for dependencies: ['recorder']
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Setup failed for 'history': Could not setup dependencies: recorder
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'energy'. Setup failed for dependencies: ['history', 'recorder']
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Setup failed for 'energy': Could not setup dependencies: history, recorder
2024-11-10 05:35:18.697 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya_climate_mult_edit integration could not authenticate: Authentication failed. Please re-authenticate
2024-11-10 05:35:25.867 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-11-10 05:35:25.923 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-11-10 05:35:26.406 WARNING (ImportExecutor_0) [homeassistant.const] TIME_DAYS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.415 WARNING (ImportExecutor_0) [homeassistant.const] TIME_HOURS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.430 WARNING (ImportExecutor_0) [homeassistant.const] TIME_MINUTES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.443 WARNING (ImportExecutor_0) [homeassistant.const] TIME_SECONDS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.455 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.464 WARNING (ImportExecutor_0) [homeassistant.const] POWER_WATT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.474 WARNING (ImportExecutor_0) [homeassistant.const] VOLUME_LITERS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.488 WARNING (ImportExecutor_0) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:29.269 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('.ac.device', 'custom_components.midea_ac_lan.midea.devices') inside the event loop by custom integration 'midea_ac_lan' at custom_components/midea_ac_lan/midea/devices/__init__.py, line 23: module = import_module(device_path, __package__) (offender: /config/custom_components/midea_ac_lan/midea/devices/__init__.py, line 23: module = import_module(device_path, __package__)), please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 783, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 546, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/midea_ac_lan/__init__.py", line 148, in async_setup_entry
    device = device_selector(
  File "/config/custom_components/midea_ac_lan/midea/devices/__init__.py", line 23, in device_selector
    module = import_module(device_path, __package__)

2024-11-10 05:35:29.291 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'midea_ac_lan' calls async_forward_entry_setup for integration, midea_ac_lan with title: Aire de la habitación grande  and entry_id: 7004219e313a9cbf9a9e6da8d01d55b5, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/midea_ac_lan/__init__.py, line 171: hass.async_create_task(hass.config_entries.async_forward_entry_setup(, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-11-10 05:35:30.015 WARNING (MainThread) [homeassistant.setup] Setup of telegram_bot is taking over 10 seconds.
2024-11-10 05:35:33.781 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'default_config'. Setup failed for dependencies: ['energy', 'history', 'logbook']
2024-11-10 05:35:33.781 ERROR (MainThread) [homeassistant.setup] Setup failed for 'default_config': Could not setup dependencies: energy, history, logbook
2024-11-10 05:35:35.358 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación grande  and entry_id: 7004219e313a9cbf9a9e6da8d01d55b5, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.360 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire del salon and entry_id: 103a3fc82303710d527d518f7286aabd, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.368 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación pequeña  and entry_id: 773abc23d1475a31a1f0c0ee84c8b6d6, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.377 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación grande  and entry_id: 7004219e313a9cbf9a9e6da8d01d55b5, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.379 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire del salon and entry_id: 103a3fc82303710d527d518f7286aabd, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.382 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación pequeña  and entry_id: 773abc23d1475a31a1f0c0ee84c8b6d6, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(

Unfortunately it’s not telling us why your recorder can’t be set up. Are you using the default recorder database or something else like MariaDB?

Try adding this to your configuration.yaml file and resarting, then post the logs again:

logger:
  default: info
  logs:
    homeassistant.components.recorder: debug

I am using the default DB.
Maybe it does not restart HA after adding the line

# Configuration Stores and manages historical data in Home Assistant
recorder:

try restarting HA after adding it and just before upgrading?

Would it be like this?

  • add the line
  • restart HA
  • update HA

I have tried to add the lines indicated here. Restart the HA VM completely. Upgrade HA. The error persists, I leave the log file for your review.

# Configuration Stores and manages historical data in Home Assistant
recorder:

# Enabling detailed logging for the Recorder component in Home Assistant
logger:
  default: info
  logs:
    homeassistant.components.recorder: debug

2024-11-10 06:27:22.027 INFO (MainThread) [homeassistant.setup] Setting up camera
2024-11-10 06:27:22.031 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.00 seconds
2024-11-10 06:27:22.033 INFO (MainThread) [homeassistant.setup] Setting up system_health
2024-11-10 06:27:22.035 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.00 seconds
2024-11-10 06:27:22.037 INFO (MainThread) [homeassistant.setup] Setting up input_button
2024-11-10 06:27:22.039 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.00 seconds
2024-11-10 06:27:22.040 INFO (MainThread) [homeassistant.setup] Setting up trace
2024-11-10 06:27:22.040 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.00 seconds
2024-11-10 06:27:22.042 INFO (MainThread) [homeassistant.setup] Setting up panel_custom
2024-11-10 06:27:22.042 INFO (MainThread) [homeassistant.setup] Setup of domain panel_custom took 0.00 seconds
2024-11-10 06:27:22.043 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2024-11-10 06:27:22.045 INFO (MainThread) [homeassistant.setup] Setting up media_source
2024-11-10 06:27:22.047 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.00 seconds
2024-11-10 06:27:24.589 INFO (MainThread) [homeassistant.setup] Setting up template
2024-11-10 06:27:24.615 INFO (MainThread) [homeassistant.setup] Setup of domain template took 0.03 seconds
2024-11-10 06:27:24.645 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.670 INFO (MainThread) [homeassistant.setup] Setting up zone
2024-11-10 06:27:24.673 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.00 seconds
2024-11-10 06:27:24.676 INFO (MainThread) [homeassistant.setup] Setting up stream
2024-11-10 06:27:24.677 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'logbook'. Setup failed for dependencies: ['recorder']
2024-11-10 06:27:24.677 ERROR (MainThread) [homeassistant.setup] Setup failed for 'logbook': Could not setup dependencies: recorder
2024-11-10 06:27:24.680 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'edata'. Setup failed for dependencies: ['recorder']
2024-11-10 06:27:24.680 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'edata': Could not setup dependencies: recorder
2024-11-10 06:27:24.682 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'history'. Setup failed for dependencies: ['recorder']
2024-11-10 06:27:24.682 ERROR (MainThread) [homeassistant.setup] Setup failed for 'history': Could not setup dependencies: recorder
2024-11-10 06:27:24.683 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'energy'. Setup failed for dependencies: ['history', 'recorder']
2024-11-10 06:27:24.683 ERROR (MainThread) [homeassistant.setup] Setup failed for 'energy': Could not setup dependencies: history, recorder
2024-11-10 06:27:24.684 INFO (MainThread) [homeassistant.setup] Setting up input_number
2024-11-10 06:27:24.686 INFO (MainThread) [homeassistant.setup] Setting up input_select
2024-11-10 06:27:24.689 INFO (MainThread) [homeassistant.setup] Setting up timer
2024-11-10 06:27:24.693 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.00 seconds
2024-11-10 06:27:24.697 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.699 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.700 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.701 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.702 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.703 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.706 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.707 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.751 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 2.71 seconds
2024-11-10 06:27:24.761 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.08 seconds
2024-11-10 06:27:24.770 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.08 seconds
2024-11-10 06:27:24.771 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.774 INFO (MainThread) [homeassistant.components.sensor] Setting up time_date.sensor
2024-11-10 06:27:24.777 INFO (MainThread) [homeassistant.setup] Setting up intent
2024-11-10 06:27:24.778 INFO (MainThread) [homeassistant.setup] Setup of domain intent took 0.00 seconds
2024-11-10 06:27:24.780 INFO (MainThread) [homeassistant.components.sensor] Setting up template.sensor
2024-11-10 06:27:24.784 INFO (MainThread) [homeassistant.setup] Setting up conversation
2024-11-10 06:27:24.786 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.00 seconds
2024-11-10 06:27:24.789 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline
2024-11-10 06:27:24.792 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 0.00 seconds
2024-11-10 06:27:24.833 INFO (SyncWorker_54) [homeassistant.util.package] Attempting install of cachetools==5.3.0
2024-11-10 06:27:30.487 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 5.81 seconds
2024-11-10 06:27:31.725 INFO (MainThread) [homeassistant.setup] Setting up notify
2024-11-10 06:27:31.726 INFO (MainThread) [homeassistant.components.notify] Setting up notify.smtp
2024-11-10 06:27:31.727 INFO (MainThread) [homeassistant.components.notify] Setting up notify.smtp
2024-11-10 06:27:31.727 INFO (MainThread) [homeassistant.setup] Setting up rest
2024-11-10 06:27:31.727 INFO (MainThread) [homeassistant.setup] Setup of domain rest took 0.00 seconds
2024-11-10 06:27:31.728 INFO (MainThread) [homeassistant.components.notify] Setting up notify.rest
2024-11-10 06:27:31.728 INFO (MainThread) [homeassistant.components.notify] Setting up notify.rest
2024-11-10 06:27:31.729 INFO (MainThread) [homeassistant.components.notify] Setting up notify.rest```

I found on reddit a similar problem, and the solution they provide is:

delete database, restart homeassistant.
If you use the standard database it will be in your configuration directory called something like homeassistant-V2.db. There may also be a couple of temporary files. If you use an external database, remove it from where you put it.
When homeassistant starts up again and sees that there is no database, it will create a new one.

Can this be a good solution?

I also want to add that if I dismiss the notification, and restart the HA virtual machine completely, the error does not reappear. The error is only displayed at the first boot after update 2024.11. is this normal?
image