After Upgrading to kolibri v0.11.1 - Server continues to disconnects and reconnects clients

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:

  1. Log in as the kolibri user
  2. Stop kolibri with kolibri stop
  3. Ensure that there are no more running instances:
    killall -9 kolibri
    ps aux | grep kolibri # check that it's really not running anymore
    
  4. Copy the current database somewhere (doesn’t matter, but let’s keep a backup):
    cp ~/.kolibri/db.sqlite3 ~/old_kolibri.sqlite3`
    
  5. 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
    
  6. 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
    
  7. Now run kolibri start and try it out: Does it work now?

If you encounter errors, please do keep posting the error messages.