Hass core is crashing after running for ~2days, how can I find the problem?
Running on Ubuntu 20.04 LTS on an Intel i3 system / 4gb ram.
Systemd log looks normal:
Nov 12 11:20:45 Zebedee hass-daemon[1347034]: Starting service…
Nov 12 11:21:07 Zebedee hass-daemon[1347034]: Done
Nov 12 11:21:07 Zebedee systemd[1]: Started LSB: Home\ Assistant.lines 12-39/39 (END)
Home-assistant.log seems to throw a SQL error
2020-11-12 11:21:09 INFO (MainThread) [homeassistant.bootstrap] Setting up logging: {'logger', 'system_log', 'recorder'}
2020-11-12 11:21:09 INFO (MainThread) [homeassistant.setup] Setting up logger
2020-11-13 07:20:00 ERROR (Recorder) [sqlalchemy.pool.impl.QueuePool] Exception during reset or similar
Traceback (most recent call last):
File "/home/homeassistant/homeassistant_active/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finalize_fairy
fairy._reset(pool)
File "/home/homeassistant/homeassistant_active/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
pool._dialect.do_rollback(self)
File "/home/homeassistant/homeassistant_active/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475, in do_rollback
dbapi_connection.rollback()
MySQLdb._exceptions.OperationalError: (2006, 'MySQL server has gone away')
Any ideas / pointers?