Home Assistant on bare metal Intel NUC
Now my system runs Core 2024.5.5, Supervisor 2024.06.0, Operating System 12.4
Everything OK. Made full backup
Update to Core 2024.6.3.
Recorder does not do anything.
Restored full backup.
Everything OK, still running Core 2024.5.5
Than recovered the database sqlite → no errors
Did the same as above.
Backup-Upgrade-Restore
Log:
2024-06-19 03:21:54.122 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 136, in session_scope
yield session
File "/usr/src/homeassistant/homeassistant/components/recorder/migration.py", line 1502, in migrate_states_context_ids
"context_parent_id_bin": _to_bytes(context_parent_id),
File "/usr/src/homeassistant/homeassistant/components/recorder/migration.py", line 1471, in _context_id_to_bytes
return ulid_to_bytes(context_id)
TypeError: Argument 'ulid_str' has incorrect type (expected str, got bytes)
2024-06-19 03:21:54.135 ERROR (Recorder) [homeassistant.components.recorder.core] Error while processing event StatesContextIDMigrationTask()
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 906, in _guarded_process_one_task_or_event_or_recover
self._process_one_task_or_event_or_recover(task)
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 926, in _process_one_task_or_event_or_recover
task.run(self)
File "/usr/src/homeassistant/homeassistant/components/recorder/tasks.py", line 370, in run
not instance._migrate_states_context_ids() # noqa: SLF001
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 1292, in _migrate_states_context_ids
return migration.migrate_states_context_ids(self)
File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 643, in wrapper
return job(instance, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/recorder/migration.py", line 1502, in migrate_states_context_ids
"context_parent_id_bin": _to_bytes(context_parent_id),
File "/usr/src/homeassistant/homeassistant/components/recorder/migration.py", line 1471, in _context_id_to_bytes
return ulid_to_bytes(context_id)
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Argument 'ulid_str' has incorrect type (expected str, got bytes)
2024-06-19 03:21:54.586 ERROR (Recorder) [homeassistant.components.recorder.core] SQLAlchemyError error processing task CompileMissingStatisticsTask()
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 925, in _process_one_task_or_event_or_recover
self._commit_event_session_or_retry()
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 1191, in _commit_event_session_or_retry
self._commit_event_session()
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 1217, in _commit_event_session
session.execute