Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (?, ?) OR states.last_changed = states.last_updated) AND states.last_updated > ? AND states.entity_id IN (?) AND states.last_updated < ? ORDER BY states.last_updated'] [parameters: ('thermostat', 'climate', '2018-06-12 04:46:21.195000', 'sensor.humidity_158d000239acc0', '2018-06-13 04:46:21.195000')] (Background on this error at: http://sqlalche.me/e/4xp6)
下午12:46 components/recorder/util.py (ERROR)
Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (?, ?) OR states.last_changed = states.last_updated) AND states.last_updated > ? AND states.entity_id IN (?) AND states.last_updated < ? ORDER BY states.last_updated'] [parameters: ('thermostat', 'climate', '2018-06-12 04:46:21.195000', 'sensor.humidity_158d000239acc0', '2018-06-13 04:46:21.195000')] (Background on this error at: http://sqlalche.me/e/4xp6)
下午12:46 components/recorder/util.py (ERROR)
Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (?, ?) OR states.last_changed = states.last_updated) AND states.last_updated > ? AND states.entity_id IN (?) AND states.last_updated < ? ORDER BY states.last_updated'] [parameters: ('thermostat', 'climate', '2018-06-12 04:46:21.195000', 'sensor.humidity_158d000239acc0', '2018-06-13 04:46:21.195000')] (Background on this error at: http://sqlalche.me/e/4xp6)
下午12:46 components/recorder/util.py (ERROR)
Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (?, ?) OR states.last_changed = states.last_updated) AND states.last_updated > ? AND states.entity_id IN (?) AND states.last_updated < ? ORDER BY states.last_updated'] [parameters: ('thermostat', 'climate', '2018-06-12 04:46:21.195000', 'sensor.humidity_158d000239acc0', '2018-06-13 04:46:21.195000')] (Background on this error at: http://sqlalche.me/e/4xp6)
下午12:46 components/recorder/util.py (ERROR)