Recorder is not starting

Hi all,
starting from HA 2023.8.4 (and also with 2023.9.0) I was experincing an error on recorder stratup …
if I roll-back to HA 2023.8.3 everything is working fine.

As DB I’m using MySQL.

Can anyone help me?

Thanks, regards
Stefano


2023-09-07 10:57:49.019 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=1177 from 2023-09-01 12:10:10)
2023-09-07 10:57:58.374 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2023-09-07 10:58:47.414 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder
2023-09-07 10:59:47.501 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder
2023-09-07 11:00:47.587 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder
2023-09-07 11:01:47.671 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder
2023-09-07 11:02:47.757 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder
2023-09-07 11:02:48.376 ERROR (MainThread) [homeassistant.setup] Setup of recorder is taking longer than 300 seconds. Startup will proceed without waiting any longer
2023-09-07 11:02:50.718 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of var. Setup failed for dependencies: recorder
2023-09-07 11:02:50.719 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration var: (DependencyError(...), 'Could not setup dependencies: recorder')
2023-09-07 11:02:50.755 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder
2023-09-07 11:02:50.756 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: (DependencyError(...), 'Could not setup dependencies: recorder')
2023-09-07 11:02:50.906 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder
2023-09-07 11:02:50.907 ERROR (MainThread) [homeassistant.setup] Setup failed for history: (DependencyError(...), 'Could not setup dependencies: recorder')
2023-09-07 11:02:52.074 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/bluetooth_adapters/dbus.py", line 137, in _get_dbus_managed_objects
    reply = await bus.call(msg)
            ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dbus_fast/aio/message_bus.py", line 390, in call
    await future
  File "src/dbus_fast/aio/message_reader.py", line 22, in dbus_fast.aio.message_reader.build_message_reader._message_reader
  File "src/dbus_fast/_private/unmarshaller.py", line 742, in dbus_fast._private.unmarshaller.Unmarshaller._unmarshall
  File "src/dbus_fast/_private/unmarshaller.py", line 611, in dbus_fast._private.unmarshaller.Unmarshaller._read_header
  File "src/dbus_fast/_private/unmarshaller.py", line 366, in dbus_fast._private.unmarshaller.Unmarshaller._read_to_pos
  File "src/dbus_fast/_private/unmarshaller.py", line 329, in dbus_fast._private.unmarshaller.Unmarshaller._read_sock_without_fds
EOFError
2023-09-07 11:02:52.984 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of energy. Setup failed for dependencies: history, recorder
2023-09-07 11:02:52.985 ERROR (MainThread) [homeassistant.setup] Setup failed for energy: (DependencyError(...), 'Could not setup dependencies: history, recorder')
1 Like

I’m getting the same thing now after updating to 9.1. Did you find a solution?