I do see this types of errors in my logfile:
Developer Tools
INFO
Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running (409)
11:59:52 AM – /usr/local/lib/python3.7/site-packages/telegram/ext/updater.py (ERROR) - message first occurred at 11:58:45 AM and shows up 3 times
Error saving event: <Event state_changed[L]: entity_id=sensor.fibaro_dubbele_schakelaar_gang_energie, old_state=<state sensor.fibaro_dubbele_schakelaar_gang_energie=5.94; node_id=21, value_index=0, value_instance=2, value_id=144115188433190914, power_consumption=0.0, unit_of_measurement=kWh, friendly_name=Fibaro dubbele schakelaar gang energie @ 2020-02-28T11:37:25.235214+01:00>, new_state=<state sensor.fibaro_dubbele_schakelaar_gang_energie=5.94; node_id=21, value_index=0, value_instance=2, value_id=144115188433190914, power_consumption=0.0, unit_of_measurement=kWh, friendly_name=Fibaro dubbele schakelaar gang energie @ 2020-02-28T11:59:30.090385+01:00>>
11:59:30 AM – recorder (ERROR)
Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "sensor.fibaro_dubbele_schakelaar_gang_energie", "old_state": {"entity_id": "sensor.fibaro_dubbele_schakelaar_gang_energie", "state": " ... (780 characters truncated) ... :00", "last_updated": "2020-02-28T10:59:30.090385+00:00", "context": {"id": "b9aadc8caad34cb59ae4e9024399e707", "parent_id": null, "user_id": null}}}', 'LOCAL', '2020-02-28 10:59:30.090461', '2020-02-28 10:59:30.128684', 'b9aadc8caad34cb59ae4e9024399e707', None)] (Background on this error at: http://sqlalche.me/e/4xp6)
11:59:30 AM – recorder (ERROR)
Error saving event: <Event state_changed[L]: entity_id=sensor.fibaro_system_fgs223_double_relay_exporting_12, old_state=<state sensor.fibaro_system_fgs223_double_relay_exporting_12=False; node_id=21, value_index=32, value_instance=2, value_id=144115188433191424, power_consumption=0.0, unit_of_measurement=, friendly_name=Fibaro dubbele schakelaar gang @ 2020-02-28T11:37:25.177540+01:00>, new_state=<state sensor.fibaro_system_fgs223_double_relay_exporting_12=False; node_id=21, value_index=32, value_instance=2, value_id=144115188433191424, power_consumption=0.0, unit_of_measurement=, friendly_name=Fibaro dubbele schakelaar gang @ 2020-02-28T11:59:30.066734+01:00>>
11:59:30 AM – recorder (ERROR)
Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "sensor.fibaro_system_fgs223_double_relay_exporting_12", "old_state": {"entity_id": "sensor.fibaro_system_fgs223_double_relay_exporting ... (786 characters truncated) ... :00", "last_updated": "2020-02-28T10:59:30.066734+00:00", "context": {"id": "25c6e4a72ddc4f18b139fec108db76e7", "parent_id": null, "user_id": null}}}', 'LOCAL', '2020-02-28 10:59:30.066811', '2020-02-28 10:59:30.112950', '25c6e4a72ddc4f18b139fec108db76e7', None)] (Background on this error at: http://sqlalche.me/e/4xp6)
11:59:30 AM – recorder (ERROR)
Error saving event: <Event state_changed[L]: entity_id=zwave.fibaro_dubbele_schakelaar_gang, old_state=<state zwave.fibaro_dubbele_schakelaar_gang=ready; node_id=21, node_name=FIBARO System FGS223 Double Relay, manufacturer_name=FIBARO System, product_name=FGS223 Double Relay, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'beaming', 'zwave_plus', 'listening', 'routing'}, neighbors={1, 2, 3, 4, 7, 8, 12, 16, 18, 19, 22, 23, 26, 27, 29, 30, 31, 32, 33, 34, 39, 42, 43, 44}, sentCnt=22, sentFailed=0, retries=0, receivedCnt=17, receivedDups=0, receivedUnsolicited=1, sentTS=2020-02-28 11:37:25:221 , receivedTS=2020-02-28 11:59:29:766 , lastRequestRTT=28, averageRequestRTT=45, lastResponseRTT=41, averageResponseRTT=69, application_version=Unknown, friendly_name=Fibaro dubbele schakelaar gang @ 2020-02-28T11:37:49.610913+01:00>, new_state=<state zwave.fibaro_dubbele_schakelaar_gang=ready; node_id=21, node_name=FIBARO System FGS223 Double Relay, manufacturer_name=FIBARO System, product_name=FGS223 Double Relay, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'beaming', 'zwave_plus', 'listening', 'routing'}, neighbors={1, 2, 3, 4, 7, 8, 12, 16, 18, 19, 22, 23, 26, 27, 29, 30, 31, 32, 33, 34, 39, 42, 43, 44}, sentCnt=22, sentFailed=0, retries=0, receivedCnt=18, receivedDups=0, receivedUnsolicited=2, sentTS=2020-02-28 11:37:25:221 , receivedTS=2020-02-28 11:59:29:952 , lastRequestRTT=28, averageRequestRTT=45, lastResponseRTT=41, averageResponseRTT=69, application_version=Unknown, friendly_name=Fibaro dubbele schakelaar gang @ 2020-02-28T11:37:49.610913+01:00>>
11:59:30 AM – recorder (ERROR)
Error executing query: (sqlite3.DatabaseError) database disk image is malformed [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "zwave.fibaro_dubbele_schakelaar_gang", "old_state": {"entity_id": "zwave.fibaro_dubbele_schakelaar_gang", "state": "ready", "attribute ... (2031 characters truncated) ... :00", "last_updated": "2020-02-28T10:59:30.065016+00:00", "context": {"id": "51d2257ad9fa426eba19cf7522d853a6", "parent_id": null, "user_id": null}}}', 'LOCAL', '2020-02-28 10:59:30.065133', '2020-02-28 10:59:30.086240', '51d2257ad9fa426eba19cf7522d853a6', None)] (Background on this error at: http://sqlalche.me/e/4xp6)
11:59:30 AM – recorder (ERROR)
Error saving event: <Event state_changed[L]: entity_id=sensor.fibaro_dubbele_schakelaar_buitengan_energie, old_state=<state sensor.fibaro_dubbele_schakelaar_buitengan_energie=13.87; node_id=21, value_index=0, value_instance=1, value_id=72057594395262978, power_consumption=0.0, unit_of_measurement=kWh, friendly_name=Fibaro dubbele schakelaar buitengang energie @ 2020-02-28T11:37:24.786527+01:00>, new_state=<state sensor.fibaro_dubbele_schakelaar_buitengan_energie=13.87; node_id=21, value_index=0, value_instance=1, value_id=72057594395262978, power_consumption=0.0, unit_of_measurement=kWh, friendly_name=Fibaro dubbele schakelaar buitengang energie @ 2020-02-28T11:59:29.936567+01:00>>
11:59:30 AM – recorder (ERROR)
Can that be the problem?
If yes what is causing this and how to fix?
It’s a corrupt database problem I do read.
But don’t know how to fix this.