org.sqlite.SQLiteException: [SQLITE_CORRUPT]

If you receive the job error

1:org.sqlite.SQLiteException: [SQLITE_CORRUPT]

this issue indicates the volatile cache state of the A2 has become invalid. The root cause is usually some sort of disk intermittency.

Typically, restarting the A2 services will resolve this. If this does not work and the error recurs, it may be necessary to force a rebuild.

This can be done by stopping the services and then running the following commands:

rm /home/alike/Alike/remoteDBs/0ods.db

rm /home/alike/Alike/remoteDBs/1ods.db

Then starting the services again.