MySql deadlock stopping Weewx

56 views
Skip to first unread message

L B

unread,
Nov 11, 2024, 4:36:12 PM11/11/24
to weewx-user
Intermittently (not every night) my last entries are at 2355hrs.
Checking the log I find this
INFO weewx.engine: Shutting down StdReport thread
2024-11-12T00:00:17.137603+11:00 boronia weewxd[1154387]: CRITICAL __main__: Caught unrecoverable exception:
2024-11-12T00:00:17.137788+11:00 boronia weewxd[1154387]: CRITICAL __main__:     ****  (1213, 'Deadlock found when trying to get lock; try restarting transaction')

mariadb from 11.4.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using  EditLine wrapper
weewx v5.1.0 (debian packages)
Debian GNU/Linux trixie
Linux 6.9.8-amd64
Vantage Pro

My initial searching suggests this may be a bug, but my knowledge of databases is very poor, so I will leave that decision to others.
What workarounds can be suggested to restart the station without my intervention?

weewx.conf
weewx_log_extract
Reply all
Reply to author
Forward
0 new messages