mchehab/rasdaemon

DBD::SQLite::db prepare failed: no such table: mc_event at /usr/sbin/ras-mc-ctl line 1183.

voltagex opened this issue · 2 comments

root@scratch:/var/lib/rasdaemon# rasdaemon --record
root@scratch:/var/lib/rasdaemon# ras-mc-ctl --summary
DBD::SQLite::db prepare failed: no such table: mc_event at /usr/sbin/ras-mc-ctl line 1183.
Can't call method "execute" on an undefined value at /usr/sbin/ras-mc-ctl line 1184.
root@scratch:/var/lib/rasdaemon# ls
ras-mc_event.db
root@scratch:/var/lib/rasdaemon# rasdaemon -V
rasdaemon 0.8.0

Seems like a duplicate of #30.

@voltagex If you're still hitting this problem, then the fix here seems to work ok.

At least, it did for me on an Ubuntu 20.04 system.