The SQLite database (utils/data/db.sqlite) is locked, corrupted, or the schema version drifted after an update.
A previous run was killed mid-write, leaving -wal/-shm files behind. Or two bot instances are writing to the same db file, causing a lock conflict.
Stop the bot, delete utils/data/db.sqlite-wal and utils/data/db.sqlite-shm (safe to remove, they're transient). If it persists, back up then delete utils/data/db.sqlite; the bot recreates the schema on next launch (stats history will reset). Make sure only one bot instance is writing to the same db file.
utils/data/db.sqlite-wal
utils/data/db.sqlite-shm
# stale lock files from a killed run
rm utils/data/db.sqlite-wal
rm utils/data/db.sqlite-shm
# bot starts clean on next launch