"Invalid config" after update to version 112.4

hi friends,

after updating to version 112.4 there are the following errors:

  • The recorder could not start, please check the log.
  • The following integrations and platforms could not be set up:

recorder
[history]
[logbook]
[default]

Please check your config.

/config/home-assistant.log

2020-07-16 15:34:31 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 7
2020-07-16 15:34:31 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns context_parent_id to table events. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-16 15:34:31 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns old_state_id to table states. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-16 15:34:32 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_events_context_parent_id` to database. Note: this can take several minutes on large databases and slow computers. Please be patient!
2020-07-16 15:34:37 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: CREATE INDEX ix_events_context_parent_id ON events (context_parent_id)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2020-07-16 15:34:37 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: (sqlite3.DatabaseError) database disk image is malformed
[SQL: CREATE INDEX ix_events_context_parent_id ON events (context_parent_id)]`

What can I do? :frowning:

I use an RPI4.

Database is corrupt. Delete home-assistant_v2.db in your config folder and restart home assistant

Thanks, it worked. :smiley: