KOlibri unclean shutdown

We are using kolibri-server and I tried stopping and starting the kolibri server to turn on profiling in the options.ini file but I am seeing this error when I try to start the kolibri server

When I try to stop it again

This is when I tried to start it

Technical details

  • Kolibri version
  • Operating system
  • Browser

Hi @safi_khan,

When you have installed kolibri-server, care should be taken to ensure that you manage Kolibri through the system service it installs. By running kolibri commands directly, it may not use the correct ‘Kolibri home directory’ and you can run into the issue you observed.

For example, running the following should be used when you’ve installed kolibri-server:

  1. Starting: systemctl start kolibri
  2. Stopping: systemctl stop kolibri

You can take a look at this post for insights into how Kolibri runs the service as a dedicated user, which means it uses a home directory based off that user.

Regards,
Blaine