Hermes agent shows 'database is locked' error on SQLite state.db. Cronjobs stop firing.
Hermes agent shows 'database is locked' error on SQLite state.db. Cronjobs stop firing.
state.db uses SQLite with WAL mode. When gateway holds state.db open and process crashes, WAL file grows >50MB without checkpoint - causes lock timeouts. Also stale .journal and .lock files from incomplete transactions.
After fix: cronjob list shows jobs running, no lock errors in journalctl logs.