DBI error 5: 5: database is locked #1

Open
oau opened this Issue Oct 12, 2012 · 0 comments

Projects

None yet

1 participant

Owner
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