pi@raspberrypi:~ $ kolibri start --foreground #stop existing kolibri
WARNING:root:No C Extensions available for this platform.
INFO Running Kolibri with the following settings: kolibri.deployment.default.settings.base
INFO:kolibri.core.apps:Running Kolibri with the following settings: kolibri.deployment.default.settings.base
INFO Running update routines for new version…
INFO:kolibri.utils.cli:Running update routines for new version…
0 static files copied to ‘/home/pi/.kolibri/static’, 386 unmodified.
Operations to perform:
Apply all migrations: admin, auth, content, contenttypes, device, exams, kolibriauth, lessons, logger, morango, sessions
Running migrations:
No migrations to apply.
Installed 2 object(s) from 1 fixture(s)
INFO Running ‘kolibri start’ in foreground…
INFO:kolibri.utils.cli:Running ‘kolibri start’ in foreground…
INFO Kolibri running on:
INFO:kolibri.utils.cli:Kolibri running on:
http://192.168.100.109:8080/
http://127.0.0.1:8080/
INFO Attempting a ping.
INFO:kolibri.core.analytics.management.commands.ping:Attempting a ping.
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/backends/sqlite3/base.py”, line 328, 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/lib/python3.5/threading.py”, line 914, in _bootstrap_inner
self.run()
File “/usr/lib/python3/dist-packages/kolibri/utils/server.py”, line 100, in run
call_command(“ping”)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/core/management/init.py”, line 131, in call_command
return command.execute(*args, **defaults)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/core/management/base.py”, line 330, in execute
output = self.handle(*args, **options)
File “/usr/lib/python3/dist-packages/kolibri/core/analytics/management/commands/ping.py”, line 46, in handle
data = self.perform_ping(server)
File “/usr/lib/python3/dist-packages/kolibri/core/analytics/management/commands/ping.py”, line 60, in perform_ping
instance, _ = InstanceIDModel.get_or_create_current_instance()
File “/usr/lib/python3/dist-packages/kolibri/dist/morango/models.py”, line 125, in get_or_create_current_instance
InstanceIDModel.objects.filter(current=True).update(current=False)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/models/query.py”, line 647, in update
rows = query.get_compiler(self.db).execute_sql(CURSOR)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/models/sql/compiler.py”, line 1204, in execute_sql
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/models/sql/compiler.py”, line 899, in execute_sql
raise original_exception
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/models/sql/compiler.py”, line 889, in execute_sql
cursor.execute(sql, params)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/utils.py”, line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/utils/six.py”, line 685, in reraise
raise value.with_traceback(tb)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/usr/lib/python3/dist-packages/kolibri/dist/django/db/backends/sqlite3/base.py”, line 328, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.DatabaseError: database disk image is malformed
INFO Started new MESSAGEPROCESSOR thread ID#uranus-minnesota-winner-cola
INFO:iceqube.common.utils.MESSAGEPROCESSOR[uranus-minnesota-winner-cola]:Started new MESSAGEPROCESSOR thread ID#uranus-minnesota-winner-cola
INFO Started new SCHEDULER thread ID#emma-angel-south-angel
INFO:iceqube.common.utils.SCHEDULER[emma-angel-south-angel]:Started new SCHEDULER thread ID#emma-angel-south-angel
INFO Started new WORKERMESSAGEHANDLER thread ID#idaho-tennessee-crazy-london
INFO:iceqube.common.utils.WORKERMESSAGEHANDLER[idaho-tennessee-crazy-london]:Started new WORKERMESSAGEHANDLER thread ID#idaho-tennessee-crazy-london
INFO:cherrypy.error:[11/Oct/2018:14:22:26] ENGINE Bus STARTING
INFO:cherrypy.error:[11/Oct/2018:14:22:26] ENGINE Serving on http://0.0.0.0:8080
INFO:cherrypy.error:[11/Oct/2018:14:22:26] ENGINE Bus STARTED