Hi Brian,
Thanks for the inputs. Let’s keep in mind that it’s a “Disk I/O error” and suppose that this error is what it is. You say that it has happened since the upgrade.
Please try these steps:
- Log in as the
kolibri
user - Stop kolibri with
kolibri stop
- Ensure that there are no more running instances:
killall -9 kolibri ps aux | grep kolibri # check that it's really not running anymore
- Copy the current database somewhere (doesn’t matter, but let’s keep a backup):
cp ~/.kolibri/db.sqlite3 ~/old_kolibri.sqlite3`
- Now try opening the current database and verifying the integrity:
sqlite3 ~/.kolibri/db.sqlite3 SQLite version 3.22.0 2018-01-22 18:45:57 Enter ".help" for usage hints. sqlite> PRAGMA integrity_check; ok
- Maybe that didn’t work, however try anyways to re-create the database this way (from the command line, NOT the sqlite3 command prompt):
sqlite3 ~/.kolibri/db.sqlite3 ".dump" | sqlite3 ~/fixed.db mv ~/fixed.db ~/.kolibri/db.sqlite3
- Now run
kolibri start
and try it out: Does it work now?
If you encounter errors, please do keep posting the error messages.