Hi @cjackson,
Okay looks like Kolibri was updated okay, but there’s a database integrity error preventing startup.
Here are some next steps:
- Again, ensure the system installation is stopped:
sudo systemctl stop kolibri
- Change to the kolibri user:
sudo su $(cat /etc/kolibri/username)
- Make a backup of the sqlite database just in case:
cp ~/.kolibri/db.sqlite3 ~/.kolibri/db.sqlite3.backup
- Open the database with sqlite, which will provide you with a shell (install
sqlite3
if command does not exist):sqlite3 ~/.kolibri/db.sqlite3
- Run the following SQL in the sqlite shell:
DELETE FROM content_channelmetadata_included_languages AS ccil WHERE NOT EXISTS (SELECT 1 FROM content_channelmetadata AS cc WHERE cc.id = ccil.channelmetadata_id);
- Exit the sqlite shell:
.exit
- Log out of the kolibri user:
exit
- Try to start the system installation again:
sudo systemctl start kolibri
If Kolibri now starts up, you can delete the database backup.
Regards,
Blaine