Entitäten-Verlauf wird jede Nacht gelöscht

Hi zusammen,

ich glaube ich habe sch…e gebaut.Ich habe mich nach Anleitung von chatgpt an meinem HA rumgepfuscht um meine Datenbankgröße zu reduzieren.

Jetzt ist es so, dass jede Nacht zu ähnlicher Uhrzeit der Verlauf aller Entitäten gelöscht wird.

Kann mir jemand helfen zu analysieren, warum die Verläufe gelöscht werden und dies reparieren?

Im Anhang meine Log-Datei.

Danke euch,Tommes

Welcher Anhang?
Wie sehen deine Einträge bei recorder: aus?

recorder:
  # Datenbank-Aufbewahrungsdauer (Standard: 10 Tage)
  purge_keep_days: 7
  auto_purge: true
  
  # Commit-Intervall für bessere Performance (Standard: 1 Sekunde)
  commit_interval: 30
  
  exclude:
    domains:
      # Automatisierungs-Domains (keine Historie nötig)
      - automation
      - script
      - scene
      - input_boolean
      - input_text
      - input_number
      - input_select
      - input_datetime
      - weather
      - sun
      - device_tracker
      - camera
      
    entity_globs:
      # Zigbee-Diagnosedaten
      - sensor.*_linkquality
      - sensor.*_last_seen
      
      # Shelly-Diagnosedaten
      - sensor.*_device_temperature
      - sensor.*_rssi
      - sensor.*_uptime
      - sensor.shelly_*_temperature
      - sensor.shelly_*_rssi
      - sensor.shelly_*_uptime
      
      # System-Uptime und Boot-Zeit
      - sensor.*_uptime
      - sensor.*_last_boot
      - sensor.uptime*
      - sensor.system_monitor_*
      
      # Update-Entitäten
      - update.*
      - binary_sensor.*_update_available
      
      # Batterie-Ladezustand (wenn nicht für Monitoring wichtig)
      - sensor.*_battery_charging
      - binary_sensor.*_battery_charging
      
    entities:
      # Sonnenstand (ändert sich ständig)
      - sun.sun
      - sensor.times
      - sensor.dates
      - sensor.v50_ultra_complete_dust_bag_drying_left
      - sensor.watermeter_status
      
      # Weitere spezifische Entitäten nach Bedarf:
      # - sensor.time
      # - sensor.date

Hier meine Recorder-Einstellungen. Da ich zwischenzeitlich ein Backup wiederhergestellt habe bringen die Logs wohl nicht viel.
Ich werde die Log-Datei das nächse mal abspeicher, bevor ich das Backup zurücklese.

Hört sich so an, als wenn jede Nacht die DB “abstürzt” und dann eine neue generiert wird.

ja, das könnte sein.
Wie kann ich das analysieren und beheben?

Guck, ob du eine .corrupt gegen 4:12 Uhr bekommen hast.

wo müsste die liegen?
in /config liegt nichts

da wo auch die .db oder die configuration.yaml liegt.

Du könntest den ganzen recorder-Eintrag mal aus der configuration.yaml löschen und schauen, ob das Verhalten dann weg ist.

Es war jetzt zwei Nachte hintereinander.
Ich warte mal noch bis morgen ab. Wenn es dann nochmal ist, lösche ich den recorder mal weg.

Danke schonmal. Ich melde mich …

Heute Nacht war es wieder…

Anbei ein Auszug aus der Logdatei:


[details="Zusammenfassung"]
**s6-rc: info: service s6rc-oneshot-runner: starting**
**s6-rc: info: service s6rc-oneshot-runner successfully started**
**s6-rc: info: service fix-attrs: starting**
**s6-rc: info: service fix-attrs successfully started**
**s6-rc: info: service legacy-cont-init: starting**
**s6-rc: info: service legacy-cont-init successfully started**
**s6-rc: info: service legacy-services: starting**
**services-up: info: copying legacy longrun home-assistant (no readiness notification)**
**s6-rc: info: service legacy-services successfully started**
**2026-06-17 21:21:06.170 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook_inverse 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**
**2026-06-17 21:21:06.171 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**
**2026-06-17 21:21:06.171 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration haghs 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**
**2026-06-17 21:21:06.172 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dreame_vacuum 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**
**2026-06-17 21:21:06.172 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration espsomfy_rts 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**
**2026-06-17 21:21:06.172 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bring 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**
**2026-06-17 21:21:06.173 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration waste_collection_schedule 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**
**2026-06-17 21:21:06.173 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration thermal_comfort 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**
**2026-06-17 21:21:06.174 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**
**2026-06-17 21:21:06.174 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration webrtc 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**
**2026-06-17 21:21:06.174 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration e3dc_rscp 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**
**2026-06-17 21:21:06.175 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration victron_ble 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**
**2026-06-17 21:21:06.175 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration schulmanager 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**
**2026-06-17 21:21:06.176 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration powercalc 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**
**2026-06-17 21:21:06.176 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration solcast_solar 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**
**2026-06-17 21:21:06.176 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**
**2026-06-17 21:21:06.177 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration measureit 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**
**2026-06-17 21:21:06.177 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook 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**
**2026-06-17 21:21:06.178 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast 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**
**2026-06-17 21:21:06.617 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (de) string component.powercalc.config.step.fixed.description failed: (set() != {'docs_uri'})**
**2026-06-17 21:21:09.445 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Integration 'mass' not found.**
**2026-06-17 21:21:10.721 WARNING (MainThread) [custom_components.battery_notes.coordinator] 01KAVSQJGCCQR4NDTMNNFD0ZJD is orphaned, unable to find device d6713ca46aa28debf93c94d7f95fa4f9**
**2026-06-17 21:21:10.721 WARNING (MainThread) [custom_components.battery_notes.coordinator] 01KAVSQJGDZ833TMJ7J7CGNM5G is orphaned, unable to find device 247dfecdedc217ff1dc7c76682711c00**
**2026-06-17 21:21:18.936 WARNING (MainThread) [custom_components.solcast_solar.fetcher] API polling limit exhausted, not getting forecast for site c33b-26cd-cb93-84d8, API used is 10/10**
**2026-06-17 21:21:18.937 WARNING (MainThread) [custom_components.solcast_solar.fetcher] Forecast has not been updated: No valid json returned**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.thermal_comfort_garten_aussen_absolute_luftfeuchtigkeit with value unknown excluded from calculation in sensor.thermal_comfort_garten_aussen_absolute_luftfeuchtigkeit_negativ**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.minus_1 with value unknown excluded from calculation in sensor.thermal_comfort_garten_aussen_absolute_luftfeuchtigkeit_negativ**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_bad_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_kuche_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_kellerzimmer_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_lena_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_anne_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_schlafzimmer_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_wohnzimmer_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.316 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_abstellraum_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:21:31.317 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.temperatur_dachboden_humidity with value unknown excluded from calculation in sensor.maximale_luftfeuchtigkeit_innen**
**2026-06-17 21:23:10.723 WARNING (MainThread) [custom_components.battery_notes.coordinator] 01KAVSQJGCCQR4NDTMNNFD0ZJD is orphaned, unable to find device d6713ca46aa28debf93c94d7f95fa4f9**
**2026-06-17 21:23:10.723 WARNING (MainThread) [custom_components.battery_notes.coordinator] 01KAVSQJGDZ833TMJ7J7CGNM5G is orphaned, unable to find device 247dfecdedc217ff1dc7c76682711c00**
**2026-06-17 21:23:30.816 WARNING (MainThread) [custom_components.battery_notes.coordinator] 01KAVSQJGDZ833TMJ7J7CGNM5G is orphaned, unable to find device 247dfecdedc217ff1dc7c76682711c00**
**2026-06-17 21:30:57.822 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session (task: None)**
**2026-06-17 21:30:57.823 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector (task: None)**
**2026-06-17 22:45:27.468 ERROR (MainThread) [homeassistant.components.fully_kiosk] Timeout fetching 192.168.178.52 data**
**2026-06-17 23:20:26.497 ERROR (MainThread) [homeassistant.components.miele.coordinator] Timeout fetching miele data**
**2026-06-17 23:29:41.530 ERROR (MainThread) [homeassistant.components.fully_kiosk] Error requesting 192.168.178.52 data: Cannot connect to host 192.168.178.52:2323 ssl:False [Connect call failed ('192.168.178.52', 2323)]**
**2026-06-17 23:45:10.466 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.watermeter_raw from integration mqtt has state class total_increasing, but its state is not strictly increasing. Triggered by state 00288.55 (previous state: 289.55) with last_updated set to 2026-06-17T21:43:10.826812+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22**
**2026-06-17 23:48:52.555 ERROR (MainThread) [homeassistant.components.miele.coordinator] Timeout fetching miele data**
**2026-06-18 00:00:00.963 WARNING (MainThread) [custom_components.e3dc_rscp.coordinator] Failed to load daily stats, not updating data: Communication Failure: Failed to send data**
**2026-06-18 00:01:10.917 WARNING (MainThread) [custom_components.e3dc_rscp.coordinator] Failed to load daily stats, not updating data: Communication Failure: Failed to send data**
**2026-06-18 00:02:20.911 WARNING (MainThread) [custom_components.e3dc_rscp.coordinator] Failed to load daily stats, not updating data: Communication Failure: Failed to send data**
**2026-06-18 00:32:49.496 ERROR (MainThread) [homeassistant.components.miele.coordinator] Timeout fetching miele data**
**2026-06-18 02:22:10.678 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_power_curr')) | round(0) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_power_curr')) | round(0) }}) renders=114>' for attribute '_attr_native_value' in entity 'sensor.zahlerstand_verbrauch_aktuell'**
**2026-06-18 02:22:10.678 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_total_in')) | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_total_in')) | round(3) }}) renders=12>' for attribute '_attr_native_value' in entity 'sensor.zahlerstand_einkauf_180'**
**2026-06-18 02:22:10.685 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_total_out')) | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_total_out')) | round(3) }}) renders=8>' for attribute '_attr_native_value' in entity 'sensor.zahlerstand_verkauf_280'**
**2026-06-18 04:12:00.375 ERROR (Recorder) [homeassistant.helpers.recorder] Error executing query**
**Traceback (most recent call last):**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context**
**    self.dialect.do_execute(**
**    ~~~~~~~~~~~~~~~~~~~~~~~^**
**        cursor, str_statement, effective_parameters, context**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute**
**    cursor.execute(statement, parameters)**
**    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^**
**sqlite3.DatabaseError: database disk image is malformed**

**The above exception was the direct cause of the following exception:**

**Traceback (most recent call last):**
**  File "/usr/src/homeassistant/homeassistant/helpers/recorder.py", line 93, in session_scope**
**    yield session**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/purge.py", line 86, in purge_old_data**
**    has_more_to_purge |= _purge_states_and_attributes_ids(**
**                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        instance, session, states_batch_size, purge_before**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/purge.py", line 199, in _purge_states_and_attributes_ids**
**    _purge_state_ids(instance, session, state_ids)**
**    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/purge.py", line 465, in _purge_state_ids**
**    deleted_rows = session.execute(delete_states_rows(state_ids))**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/session.py", line 2351, in execute**
**    return self._execute_internal(**
**           ~~~~~~~~~~~~~~~~~~~~~~^**
**        statement,**
**        ^^^^^^^^^^**
**    ...<4 lines>...**
**        _add_event=_add_event,**
**        ^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal**
**    result: Result[Any] = compile_state_cls.orm_execute_statement(**
**                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        self,**
**        ^^^^^**
**    ...<4 lines>...**
**        conn,**
**        ^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/bulk_persistence.py", line 2033, in orm_execute_statement**
**    return super().orm_execute_statement(**
**           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        session, statement, params, execution_options, bind_arguments, conn**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement**
**    result = conn.execute(**
**        statement, params or {}, execution_options=execution_options**
**    )**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1419, in execute**
**    return meth(**
**        self,**
**        distilled_parameters,**
**        execution_options or NO_OPTIONS,**
**    )**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/sql/lambdas.py", line 596, in _execute_on_connection**
**    return connection._execute_clauseelement(**
**           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        self, distilled_params, execution_options**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement**
**    ret = self._execute_context(**
**        dialect,**
**    ...<8 lines>...**
**        cache_hit=cache_hit,**
**    )**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context**
**    return self._exec_single_context(**
**           ~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        dialect, context, statement, parameters**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context**
**    self._handle_dbapi_exception(**
**    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        e, str_statement, effective_parameters, cursor, context**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception**
**    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context**
**    self.dialect.do_execute(**
**    ~~~~~~~~~~~~~~~~~~~~~~~^**
**        cursor, str_statement, effective_parameters, context**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute**
**    cursor.execute(statement, parameters)**
**    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^**
**sqlalchemy.exc.DatabaseError: (sqlite3.DatabaseError) **
**[details="Zusammenfassung"]**
**database disk image is malformed**
**[/details]**

**[SQL: DELETE FROM states WHERE states.state_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 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?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]**
**[parameters: (254246912, 254246913, 254246914, 254246915, 254246916, 254246917, 254246918, 254246919, 254246920, 254246921, 254246922, 254246923, 254246924, 254246925, 254246926, 254246927, 254246928, 254246929, 254246930, 254246931, 254246932, 254246933, 254246934, 254246935, 254246936, 254246937, 254246938, 254246939, 254246940, 254246941, 254246942, 254246943, 254246944, 254246945, 254246946, 254246947, 254246948, 254246949, 254246950, 254246951, 254246952, 254246953, 254246954, 254246955, 254246956, 254246957, 254246958, 254246959, 254246960, 254246961 ... 3900 parameters truncated ... 254246862, 254246863, 254246864, 254246865, 254246866, 254246867, 254246868, 254246869, 254246870, 254246871, 254246872, 254246873, 254246874, 254246875, 254246876, 254246877, 254246878, 254246879, 254246880, 254246881, 254246882, 254246883, 254246884, 254246885, 254246886, 254246887, 254246888, 254246889, 254246890, 254246891, 254246892, 254246893, 254246894, 254246895, 254246896, 254246897, 254246898, 254246899, 254246900, 254246901, 254246902, 254246903, 254246904, 254246905, 254246906, 254246907, 254246908, 254246909, 254246910, 254246911)]**
**(Background on this error at: https://sqlalche.me/e/20/4xp6)**
**2026-06-18 04:12:00.391 ERROR (Recorder) [homeassistant.components.recorder.core] Unrecoverable sqlite3 database corruption detected: (sqlite3.DatabaseError) database disk image is malformed**
**[SQL: DELETE FROM states WHERE states.state_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 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?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]**
**[parameters: (254246912, 254246913, 254246914, 254246915, 254246916, 254246917, 254246918, 254246919, 254246920, 254246921, 254246922, 254246923, 254246924, 254246925, 254246926, 254246927, 254246928, 254246929, 254246930, 254246931, 254246932, 254246933, 254246934, 254246935, 254246936, 254246937, 254246938, 254246939, 254246940, 254246941, 254246942, 254246943, 254246944, 254246945, 254246946, 254246947, 254246948, 254246949, 254246950, 254246951, 254246952, 254246953, 254246954, 254246955, 254246956, 254246957, 254246958, 254246959, 254246960, 254246961 ... 3900 parameters truncated ... 254246862, 254246863, 254246864, 254246865, 254246866, 254246867, 254246868, 254246869, 254246870, 254246871, 254246872, 254246873, 254246874, 254246875, 254246876, 254246877, 254246878, 254246879, 254246880, 254246881, 254246882, 254246883, 254246884, 254246885, 254246886, 254246887, 254246888, 254246889, 254246890, 254246891, 254246892, 254246893, 254246894, 254246895, 254246896, 254246897, 254246898, 254246899, 254246900, 254246901, 254246902, 254246903, 254246904, 254246905, 254246906, 254246907, 254246908, 254246909, 254246910, 254246911)]**
**(Background on this error at: https://sqlalche.me/e/20/4xp6)**
**Traceback (most recent call last):**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context**
**    self.dialect.do_execute(**
**    ~~~~~~~~~~~~~~~~~~~~~~~^**
**        cursor, str_statement, effective_parameters, context**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute**
**    cursor.execute(statement, parameters)**
**    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^**
**sqlite3.DatabaseError: database disk image is malformed**

**The above exception was the direct cause of the following exception:**

**Traceback (most recent call last):**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 897, in _process_one_task_or_event_or_recover**
**    task.run(self)**
**    ~~~~~~~~^^^^^^**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/tasks.py", line 120, in run**
**    if purge.purge_old_data(**
**       ~~~~~~~~~~~~~~~~~~~~^**
**        instance, self.purge_before, self.repack, self.apply_filter**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    ):**
**    ^**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 620, in wrapper**
**    return job(*args, **kwargs)**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/purge.py", line 86, in purge_old_data**
**    has_more_to_purge |= _purge_states_and_attributes_ids(**
**                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        instance, session, states_batch_size, purge_before**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/purge.py", line 199, in _purge_states_and_attributes_ids**
**    _purge_state_ids(instance, session, state_ids)**
**    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**  File "/usr/src/homeassistant/homeassistant/components/recorder/purge.py", line 465, in _purge_state_ids**
**    deleted_rows = session.execute(delete_states_rows(state_ids))**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/session.py", line 2351, in execute**
**    return self._execute_internal(**
**           ~~~~~~~~~~~~~~~~~~~~~~^**
**        statement,**
**        ^^^^^^^^^^**
**    ...<4 lines>...**
**        _add_event=_add_event,**
**        ^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal**
**    result: Result[Any] = compile_state_cls.orm_execute_statement(**
**                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        self,**
**        ^^^^^**
**    ...<4 lines>...**
**        conn,**
**        ^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/bulk_persistence.py", line 2033, in orm_execute_statement**
**    return super().orm_execute_statement(**
**           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        session, statement, params, execution_options, bind_arguments, conn**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement**
**    result = conn.execute(**
**        statement, params or {}, execution_options=execution_options**
**    )**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1419, in execute**
**    return meth(**
**        self,**
**        distilled_parameters,**
**        execution_options or NO_OPTIONS,**
**    )**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/sql/lambdas.py", line 596, in _execute_on_connection**
**    return connection._execute_clauseelement(**
**           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        self, distilled_params, execution_options**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement**
**    ret = self._execute_context(**
**        dialect,**
**    ...<8 lines>...**
**        cache_hit=cache_hit,**
**    )**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context**
**    return self._exec_single_context(**
**           ~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        dialect, context, statement, parameters**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context**
**    self._handle_dbapi_exception(**
**    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^**
**        e, str_statement, effective_parameters, cursor, context**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception**
**    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context**
**    self.dialect.do_execute(**
**    ~~~~~~~~~~~~~~~~~~~~~~~^**
**        cursor, str_statement, effective_parameters, context**
**        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
**    )**
**    ^**
**  File "/usr/local/lib/python3.14/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute**
**    cursor.execute(statement, parameters)**
**    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^**
**sqlalchemy.exc.DatabaseError: (sqlite3.DatabaseError) database disk image is malformed**
**[SQL: DELETE FROM states WHERE states.state_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?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?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]**
**[parameters: (254246912, 254246913, 254246914, 254246915, 254246916, 254246917, 254246918, 254246919, 254246920, 254246921, 254246922, 254246923, 254246924, 254246925, 254246926, 254246927, 254246928, 254246929, 254246930, 254246931, 254246932, 254246933, 254246934, 254246935, 254246936, 254246937, 254246938, 254246939, 254246940, 254246941, 254246942, 254246943, 254246944, 254246945, 254246946, 254246947, 254246948, 254246949, 254246950, 254246951, 254246952, 254246953, 254246954, 254246955, 254246956, 254246957, 254246958, 254246959, 254246960, 254246961 ... 3900 parameters truncated ... 254246862, 254246863, 254246864, 254246865, 254246866, 254246867, 254246868, 254246869, 254246870, 254246871, 254246872, 254246873, 254246874, 254246875, 254246876, 254246877, 254246878, 254246879, 254246880, 254246881, 254246882, 254246883, 254246884, 254246885, 254246886, 254246887, 254246888, 254246889, 254246890, 254246891, 254246892, 254246893, 254246894, 254246895, 254246896, 254246897, 254246898, 254246899, 254246900, 254246901, 254246902, 254246903, 254246904, 254246905, 254246906, 254246907, 254246908, 254246909, 254246910, 254246911)]**
**(Background on this error at: https://sqlalche.me/e/20/4xp6)**
**2026-06-18 04:12:00.424 ERROR (Recorder) [homeassistant.components.recorder.util] The system will rename the corrupt database file //config/home-assistant_v2.db to //config/home-assistant_v2.db.corrupt.2026-06-18T02:12:00.424855+00:00 in order to allow startup to proceed**
**2026-06-18 04:27:39.434 WARNING (Thread-4442) [custom_components.dreame_vacuum.dreame.protocol] Error while executing request: Read timed out. (timeout=6)**
**2026-06-18 04:27:45.530 WARNING (Thread-4442) [custom_components.dreame_vacuum.dreame.protocol] Error while executing request: Read timed out. (timeout=6)**
**2026-06-18 04:27:59.695 WARNING (Thread-4447) [custom_components.dreame_vacuum.dreame.protocol] Failed to execute api call: {'code': 80001, 'success': False, 'data': None, 'msg': '设备可能不在线,指令发送超时。'}**
**2026-06-18 06:18:36.497 ERROR (MainThread) [homeassistant.components.miele.coordinator] Timeout fetching miele data**
[/details]


Da stehst doch:

Ich gehe mal davon aus, dass es nicht am fehlenden Speicherplatz liegt. Vielleicht hilft dir diese Anleitung, das zu reparieren.

Interessant wäre zu ergründen warum die Datenbank korrupt wird?
Erzähle bitte etwas über Deine Hardware.
Und auch darüber was Du mit KI Anleitung versucht hast.
Das purge erzeugt erst den Crash aber wird dennoch eher nicht die Ursache sein.

Ja das stimmt, die Datenbank ist tagüber i.O. auch bei einem Neustart passt alles.
Erst nachts, wahrscheinlich beim purge kommt es zum Crash.
Ich probiere mal autopurge=false, mal schauen ob es dann auch noch crashed.

Zu meiner Hardware:
Ich habe HA auf in Proxmox auf einem NUC laufen.
Ich habe die VM vor ca. zwei Wochen neu aufgesetzt und HA über ein Backup eingespielt.
Da das aber schon etwas länger her ist als mein jetziges Problem habe ich das als Ursache erstmal ausgeschlossen.
Ich hänge mal noch die Hardware-Einstellungen meiner VM an.

Danke vorweg für eure Hilfe.

Gute Idee - so wissen wir ob es wirklich einen Zusammenhang mit dem purge gibt.

Meine These ist - daß Du das eigentliche Problem Dir mit dem Restore doch wieder reinholst aber es ist nur eine Vermutung.

Gehe doch bitte einmal auf die Proxmox PVE Shell und führe den Befehl aus.
Er durchsucht Kernel Logs der letzten 3 Tage nach typischen Hardwarefehlern - nur zur Sicherheit.

journalctl -k --since "3 days ago" | egrep -i "error|fail|fault|mce|edac|nvme|ata|i/o|timeout"

keine Antwort - dann woh kein Hardwarefehler

Mit autopurge=false ist heute Nacht alles normal durchgelaufen.

Und jetzt?
Meine Datenbank-Datei ist 980mB groß.
Ich hatte den Recorder ursprünglich nicht konfiguriert, so stehen wohl auch viele unnötigen Sachen drin.

Hat jemand eine Idee wie ich meine Datenbank retten kann?

Ich würde den Teil mal komplett raus schmeißen

Der Standard von 10 Tage ist eigentlich ganz gut.
Auch auto_purge ist im Standard auf true, brauchst du also nicht noch mal setzen.
Das commit_interval ist default auf 5, also auch okay.

Das ist ja sogar sehr gering.

Parallel würde ich versuchen die Daten zu exportieren, eine neue DB anlegen und Daten wieder importieren, siehe auch den Anleitungslink von @Radiocarbonat

Das habe ich mal rausgeschmissen.

Die Datenbank habe ich geprüft, da waren einige Fehler drin.
Ich habe sie nach Anleitung neu erstellt, jetzt ohne Fehler.

Jetzt sollte es doch heute Nacht durchlaufen.
…dann müsste ich die yaml-config wieder einfügen, um zu wissen woran es genau lag.

1 „Gefällt mir“

Ich denke, die korrupte Datenbank, die ich immer wieder mit dem Backup eingespielt habe war das Problem.
Danke euch für eure Hilfe. Top.