DBI error 5: 5: database is locked #1

oau opened this Issue Oct 12, 2012 · 0 comments


None yet

1 participant

oau commented Oct 12, 2012

Once in a while the system stops working and this row shows up in gammu log:
DBI error 5: 5: database is locked

We get it when running this query:
SQL failed: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now') AND SendingTimeOut < datetime('now') AND SendBefore >= time('now') AND SendAfter <= time('now') AND ( SenderID is NULL OR SenderID = '' OR SenderID = 'phone1' ) ORDER BY InsertIntoDB ASC LIMIT 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment