Kolibri Database image malfomed error

Good day
I am getting the following error:

kolibri start

INFO Running Kolibri with the following settings: kolibri.deployment.default.settings.base
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/backends/sqlite3/base.py”, line 323, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.DatabaseError: database disk image is malformed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/local/bin/kolibri”, line 11, in
sys.exit(main())
File “/usr/local/lib/python3.5/dist-packages/kolibri/utils/cli.py”, line 569, in main
initialize(debug=debug)
File “/usr/local/lib/python3.5/dist-packages/kolibri/utils/cli.py”, line 146, in initialize
django.setup()
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/init.py”, line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/apps/registry.py”, line 115, in populate
app_config.ready()
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/morango/apps.py”, line 27, in ready
InstanceIDModel.get_or_create_current_instance()
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/morango/models.py”, line 107, in get_or_create_current_instance
“database”: DatabaseIDModel.get_or_create_current_database_id(),
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/morango/models.py”, line 68, in get_or_create_current_database_id
return cls.objects.get(current=True)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/models/manager.py”, line 122, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/models/query.py”, line 381, in get
num = len(clone)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/models/query.py”, line 240, in len
self._fetch_all()
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/models/query.py”, line 1074, in _fetch_all
self._result_cache = list(self.iterator())
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/models/query.py”, line 52, in iter
results = compiler.execute_sql()
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/models/sql/compiler.py”, line 848, in execute_sql
cursor.execute(sql, params)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/utils.py”, line 95, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/utils/six.py”, line 685, in reraise
raise value.with_traceback(tb)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/usr/local/lib/python3.5/dist-packages/kolibri/dist/django/db/backends/sqlite3/base.py”, line 323, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.DatabaseError: database disk image is malformed

Hello @William, we are sorry you are experiencing issues with Kolibri.

Did you try the steps recommended in our User Guide to repair the malformed database?
https://kolibri.readthedocs.io/en/latest/manage/get_support.html#malformed-database

I just noticed that my colleague replied to you with the same recommendation in another topic.

I’m going to close this one, please open just one post per question you want the support for, thank you!