Note that we recommend not using sqlite in production.

If you see "OperationalError: attempt to write to a readonly database" in your Apache's error_log file, make sure the permissions of the site's db directory matches the user for the web server.

If you see "OperationalError at /dashboard/ near "DISTINCT": syntax error", your version of SQLite is too old. Make sure you're running SQLite 3.2.1 or higher.