# Systemctl error during upgrade to 0.18

**URL:** <https://community.learningequality.org/t/systemctl-error-during-upgrade-to-0-18/3734>\
**Category:** Kolibri\
**Created:** [May 12, 2025, 1:36pm UTC](https://community.learningequality.org/t/systemctl-error-during-upgrade-to-0-18/3734 "2025-05-12T13:36:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrdavidhaag](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/mrdavidhaag/32/2048_2.png) [@mrdavidhaag](https://community.learningequality.org/u/mrdavidhaag)\
**Post date:** [May 12, 2025, 1:36pm UTC](https://community.learningequality.org/t/systemctl-error-during-upgrade-to-0-18/3734/1 "2025-05-12T13:36:41Z")

</div>

Hello Support - hope all is well with you. We built a new VM in Proxmox server to replace a many year old install of Kolibri for ObAnggen School - huge database and recently coaching not functioning well. Decision was to use ubuntu 24 LTS server and all went well with build. However, yesterday on upgrade of linux and kolibri - experienced systemctl errors.

This is server info

> Version: 0.18.0  
> OS: Linux-6.8.0-59-generic-x86\_64-with-glibc2.39  
> Python: 3.12.3  
> Installer: deb kolibri-server - 0.5.0-0ubuntu1  
> Server: nginx/1.24.0 (Ubuntu)  
> Database: /home/kolibri/.kolibri/db.sqlite3  
> Free disk space: 259 GB  
> Server time: Mon May 12 2025 09:28:30 GMT-0400 (Eastern Daylight Time)  
> Server timezone: Etc/UTC  
> Device ID: 7a8e7c7c61bdf59075b3eeed41038eff

Kolibri server upgraded and seems OK but want to ask for you all to please take a look at the journal. After upgrade I did a reboot - so believe the last bit of journal on end is from reboot

```auto
kolibri@kolibri:~$ journalctl -u kolibri.service --since "2 days ago"
May 11 22:26:35 kolibri systemd[1]: Starting kolibri.service - LSB: kolibri daemon, an offline education platform...
May 11 22:26:35 kolibri runuser[9260]: pam_unix(runuser:session): session opened for user kolibri(uid=1000) by (uid=0)
May 11 22:26:36 kolibri kolibri[9261]: /usr/lib/python3/dist-packages/kolibri/dist/requests/ __init__.py:102: RequestsDependencyWarning: urllib3 (1.26.20) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
May 11 22:26:36 kolibri kolibri[9261]: warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
May 11 22:26:36 kolibri kolibri[9261]: /usr/lib/python3/dist-packages/kolibri/dist/magicbus/process.py:9: SyntaxWarning: invalid escape sequence '\ '
May 11 22:26:36 kolibri kolibri[9261]: """A Bus subclass for managing the state of a process.
May 11 22:26:36 kolibri kolibri[9261]: /usr/lib/python3/dist-packages/kolibri/dist/magicbus/plugins/servers.py:1: SyntaxWarning: invalid escape sequence '\ '
May 11 22:26:36 kolibri kolibri[9261]: """
May 11 22:26:37 kolibri kolibri[9261]: WARNING 2025-05-11 22:26:37,413 Default plugin kolibri.plugins.bloompub_viewer not found in configuration. To re-disable it, run:
May 11 22:26:37 kolibri kolibri[9261]: $ kolibri plugin kolibri.plugins.bloompub_viewer disable
May 11 22:26:37 kolibri kolibri[9261]: INFO 2025-05-11 22:26:37,449 Option DEBUG in section [Server] being overridden by environment variable KOLIBRI_DEBUG
May 11 22:26:37 kolibri kolibri[9261]: INFO 2025-05-11 22:26:37,450 Option DEBUG_LOG_DATABASE in section [Server] being overridden by environment variable KOLIBRI_DEBUG_LOG_DATABASE
May 11 22:26:38 kolibri kolibri[9261]: INFO 2025-05-11 22:26:38,860 Running Kolibri with the following settings: kolibri.deployment.default.settings.base
May 11 22:26:42 kolibri kolibri[9261]: INFO 2025-05-11 22:26:42,264 Backed up database to: /home/kolibri/.kolibri/backups/db-v0.17.5_2025-05-11_22-26-39.dump
May 11 22:26:42 kolibri kolibri[9261]: INFO 2025-05-11 22:26:42,264 Version was 0.17.5, new version: 0.18.0
May 11 22:26:42 kolibri kolibri[9261]: INFO 2025-05-11 22:26:42,264 Running update routines for new version...
May 11 22:26:42 kolibri kolibri[9261]: Operations to perform:
May 11 22:26:42 kolibri kolibri[9261]: Apply all migrations: analytics, auth, bookmarks, content, contenttypes, device, discovery, exams, kolibriauth, lessons, logger, morango, notifications, sessions
May 11 22:26:42 kolibri kolibri[9261]: Running migrations:
May 11 22:26:44 kolibri kolibri[9261]: Applying content.0038_alter_localfile_extension... OK
May 11 22:26:45 kolibri kolibri[9261]: Applying content.0039_channelmetadata_ordered_fields... OK
May 11 22:26:45 kolibri kolibri[9261]: Applying exams.0010_add_exam_report_visibility_field... OK
May 11 22:26:46 kolibri kolibri[9261]: Operations to perform:
May 11 22:26:46 kolibri kolibri[9261]: Apply all migrations: analytics, auth, bookmarks, content, contenttypes, device, discovery, exams, kolibriauth, lessons, logger, morango, notifications, sessions
May 11 22:26:46 kolibri kolibri[9261]: Running migrations:
May 11 22:26:46 kolibri kolibri[9261]: Applying content.0038_alter_localfile_extension... OK
May 11 22:26:46 kolibri kolibri[9261]: Applying content.0039_channelmetadata_ordered_fields... OK
May 11 22:26:46 kolibri kolibri[9261]: Applying exams.0010_add_exam_report_visibility_field... OK
May 11 22:26:46 kolibri kolibri[9261]: Operations to perform:
May 11 22:26:46 kolibri kolibri[9261]: Apply all migrations: analytics, auth, bookmarks, content, contenttypes, device, discovery, exams, kolibriauth, lessons, logger, morango, notifications, sessions
May 11 22:26:46 kolibri kolibri[9261]: Running migrations:
May 11 22:26:46 kolibri kolibri[9261]: Applying content.0038_alter_localfile_extension... OK
May 11 22:26:46 kolibri kolibri[9261]: Applying content.0039_channelmetadata_ordered_fields... OK
May 11 22:26:46 kolibri kolibri[9261]: Applying exams.0010_add_exam_report_visibility_field... OK
May 11 22:26:46 kolibri kolibri[9261]: Operations to perform:
May 11 22:26:46 kolibri kolibri[9261]: Apply all migrations: analytics, auth, bookmarks, content, contenttypes, device, discovery, exams, kolibriauth, lessons, logger, morango, notifications, sessions
May 11 22:26:46 kolibri kolibri[9261]: Running migrations:
May 11 22:26:46 kolibri kolibri[9261]: Applying content.0038_alter_localfile_extension... OK
May 11 22:26:46 kolibri kolibri[9261]: Applying content.0039_channelmetadata_ordered_fields... OK
May 11 22:26:46 kolibri kolibri[9261]: Applying exams.0010_add_exam_report_visibility_field... OK
May 11 22:26:46 kolibri kolibri[9261]: Installed 2 object(s) from 1 fixture(s)
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,336 Detected updates to plugins: kolibri.plugins.perseus_viewer, kolibri.plugins.epub_viewer, kolibri.plugins.default_theme, kolibri.plugins.coach, kolibri.plugins.user>
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,343 Running upgrade routines for kolibri.plugins.perseus_viewer, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,343 kolibri.plugins.perseus_viewer successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,344 Running upgrade routines for kolibri.plugins.epub_viewer, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,344 kolibri.plugins.epub_viewer successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,344 Running upgrade routines for kolibri.plugins.default_theme, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,345 kolibri.plugins.default_theme successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,345 Running upgrade routines for kolibri.plugins.coach, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,345 kolibri.plugins.coach successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,346 Running upgrade routines for kolibri.plugins.user_auth, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,346 kolibri.plugins.user_auth successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,347 Running installation routines for kolibri.plugins.bloompub_viewer, installing 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,347 kolibri.plugins.bloompub_viewer successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,347 Running upgrade routines for kolibri.plugins.device, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,347 kolibri.plugins.device successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,348 Running upgrade routines for kolibri.plugins.pdf_viewer, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,348 kolibri.plugins.pdf_viewer successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,348 Running upgrade routines for kolibri.plugins.user_profile, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,348 kolibri.plugins.user_profile successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,349 Running upgrade routines for kolibri.plugins.setup_wizard, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,349 kolibri.plugins.setup_wizard successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,349 Running upgrade routines for kolibri.plugins.slideshow_viewer, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,350 kolibri.plugins.slideshow_viewer successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,350 Running upgrade routines for kolibri.plugins.html5_viewer, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,350 kolibri.plugins.html5_viewer successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,351 Running upgrade routines for kolibri.plugins.facility, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,351 kolibri.plugins.facility successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,351 Running upgrade routines for kolibri.plugins.learn, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,352 kolibri.plugins.learn successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,352 Running upgrade routines for kolibri.plugins.media_player, upgrading from 0.17.5 to 0.18.0
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,352 kolibri.plugins.media_player successfully updated
May 11 22:26:47 kolibri kolibri[9261]: INFO 2025-05-11 22:26:47,366 Starting Kolibri 0.18.0
May 11 22:26:52 kolibri kolibri[9261]: ERROR 2025-05-11 22:26:52,384 There is another Kolibri server running. Please use `kolibri stop` and try again.
May 11 22:26:52 kolibri runuser[9260]: pam_unix(runuser:session): session closed for user kolibri
May 11 22:26:52 kolibri systemd[1]: kolibri.service: Control process exited, code=exited, status=1/FAILURE
May 11 22:26:52 kolibri systemd[1]: kolibri.service: Failed with result 'exit-code'.
May 11 22:26:52 kolibri systemd[1]: Failed to start kolibri.service - LSB: kolibri daemon, an offline education platform.
May 11 22:26:52 kolibri systemd[1]: kolibri.service: Consumed 11.510s CPU time, 1.5M memory peak, 0B memory swap peak.
May 11 22:26:53 kolibri systemd[1]: Starting kolibri.service - LSB: kolibri daemon, an offline education platform...
May 11 22:26:53 kolibri runuser[9477]: pam_unix(runuser:session): session opened for user kolibri(uid=1000) by (uid=0)
May 11 22:26:54 kolibri kolibri[9479]: /usr/lib/python3/dist-packages/kolibri/dist/requests/ __init__.py:102: RequestsDependencyWarning: urllib3 (1.26.20) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
May 11 22:26:54 kolibri kolibri[9479]: warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
May 11 22:26:54 kolibri kolibri[9479]: /usr/lib/python3/dist-packages/kolibri/dist/magicbus/process.py:9: SyntaxWarning: invalid escape sequence '\ '
May 11 22:26:54 kolibri kolibri[9479]: """A Bus subclass for managing the state of a process.
May 11 22:26:54 kolibri kolibri[9479]: /usr/lib/python3/dist-packages/kolibri/dist/magicbus/plugins/servers.py:1: SyntaxWarning: invalid escape sequence '\ '
May 11 22:26:54 kolibri kolibri[9479]: """
May 11 22:26:55 kolibri kolibri[9479]: INFO 2025-05-11 22:26:55,060 Option DEBUG in section [Server] being overridden by environment variable KOLIBRI_DEBUG
May 11 22:26:55 kolibri kolibri[9479]: INFO 2025-05-11 22:26:55,060 Option DEBUG_LOG_DATABASE in section [Server] being overridden by environment variable KOLIBRI_DEBUG_LOG_DATABASE
May 11 22:26:56 kolibri kolibri[9479]: INFO 2025-05-11 22:26:56,441 Running Kolibri with the following settings: kolibri.deployment.default.settings.base
May 11 22:26:56 kolibri kolibri[9479]: INFO 2025-05-11 22:26:56,901 Starting Kolibri 0.18.0
May 11 22:27:01 kolibri kolibri[9479]: ERROR 2025-05-11 22:27:01,919 There is another Kolibri server running. Please use `kolibri stop` and try again.
May 11 22:27:02 kolibri runuser[9477]: pam_unix(runuser:session): session closed for user kolibri
May 11 22:27:02 kolibri systemd[1]: kolibri.service: Control process exited, code=exited, status=1/FAILURE
May 11 22:27:02 kolibri systemd[1]: kolibri.service: Failed with result 'exit-code'.
May 11 22:27:02 kolibri systemd[1]: Failed to start kolibri.service - LSB: kolibri daemon, an offline education platform.
May 11 22:27:02 kolibri systemd[1]: kolibri.service: Consumed 3.490s CPU time, 1.6M memory peak, 0B memory swap peak.
-- Boot 7dd23dbdf4a44818a1c1c8773e92df02 --
May 11 22:45:20 kolibri systemd[1]: Starting kolibri.service - LSB: kolibri daemon, an offline education platform...
May 11 22:45:20 kolibri runuser[874]: pam_unix(runuser:session): session opened for user kolibri(uid=1000) by (uid=0)
May 11 22:45:21 kolibri kolibri[889]: /usr/lib/python3/dist-packages/kolibri/dist/requests/ __init__.py:102: RequestsDependencyWarning: urllib3 (1.26.20) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
May 11 22:45:21 kolibri kolibri[889]: warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
May 11 22:45:21 kolibri kolibri[889]: /usr/lib/python3/dist-packages/kolibri/dist/magicbus/process.py:9: SyntaxWarning: invalid escape sequence '\ '
May 11 22:45:21 kolibri kolibri[889]: """A Bus subclass for managing the state of a process.
May 11 22:45:21 kolibri kolibri[889]: /usr/lib/python3/dist-packages/kolibri/dist/magicbus/plugins/servers.py:1: SyntaxWarning: invalid escape sequence '\ '
May 11 22:45:21 kolibri kolibri[889]: """
May 11 22:45:22 kolibri kolibri[889]: INFO 2025-05-11 22:45:22,587 Option DEBUG in section [Server] being overridden by environment variable KOLIBRI_DEBUG
May 11 22:45:22 kolibri kolibri[889]: INFO 2025-05-11 22:45:22,588 Option DEBUG_LOG_DATABASE in section [Server] being overridden by environment variable KOLIBRI_DEBUG_LOG_DATABASE
May 11 22:45:26 kolibri kolibri[889]: INFO 2025-05-11 22:45:26,975 Running Kolibri with the following settings: kolibri.deployment.default.settings.base
May 11 22:45:27 kolibri kolibri[889]: INFO 2025-05-11 22:45:27,377 Starting Kolibri 0.18.0
May 11 22:45:32 kolibri kolibri[889]: ERROR 2025-05-11 22:45:32,391 There is another Kolibri server running. Please use `kolibri stop` and try again.
May 11 22:45:32 kolibri runuser[874]: pam_unix(runuser:session): session closed for user kolibri
May 11 22:45:32 kolibri systemd[1]: kolibri.service: Control process exited, code=exited, status=1/FAILURE
May 11 22:45:32 kolibri systemd[1]: kolibri.service: Failed with result 'exit-code'.
May 11 22:45:32 kolibri systemd[1]: Failed to start kolibri.service - LSB: kolibri daemon, an offline education platform.
May 11 22:45:32 kolibri systemd[1]: kolibri.service: Consumed 4.074s CPU time, 1.5M memory peak, 0B memory swap peak.
kolibri@kolibri:~$

```

Please let me know if you need more information.

Thank you for your help,  
David

---

<div class="post-metadata">

**Author:** ![blaine](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/blaine/32/479_2.png) [@blaine](https://community.learningequality.org/u/blaine)\
**Post date:** [May 12, 2025, 2:57pm UTC](https://community.learningequality.org/t/systemctl-error-during-upgrade-to-0-18/3734/2 "2025-05-12T14:57:32Z")

</div>

Hi @mrdavidhaag,

Did you run any other Kolibri related commands other than through `systemctl`?

> [@mrdavidhaag](#):
>
> `There is another Kolibri server running. Please use `kolibri stop` and try again.`

Did you perhaps run the above recommendation shown in the journal logs? I recommend these steps in order:

1. Run `kolibri stop`
2. Run `systemctl stop kolibri`
3. Run `systemctl stop kolibri-server`
4. Run `systemctl start kolibri-server`

Since you have `kolibri-server` installed, it should be responsible for running Kolibri with UWSGI.

Regards,  
Blaine

---

<div class="post-metadata">

**Author:** ![mrdavidhaag](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/mrdavidhaag/32/2048_2.png) [@mrdavidhaag](https://community.learningequality.org/u/mrdavidhaag)\
**Post date:** [May 12, 2025, 4:14pm UTC](https://community.learningequality.org/t/systemctl-error-during-upgrade-to-0-18/3734/3 "2025-05-12T16:14:25Z")

</div>

Hi @blaine  
Thank you for taking a look. I did the upgrade through apt update and apt upgrade. I did not run any other Kolibri related commands through systemctl

I ran the commands you recommended in order and all seems to be working well.

Thank you again for your help,  
Kind regards,  
David

---

<div class="post-metadata">

**Author:** ![blaine](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/blaine/32/479_2.png) [@blaine](https://community.learningequality.org/u/blaine)\
**Post date:** [May 12, 2025, 8:11pm UTC](https://community.learningequality.org/t/systemctl-error-during-upgrade-to-0-18/3734/4 "2025-05-12T20:11:19Z")

</div>

Glad to hear that! Thank you for sharing the server info output (from Device \> Info \> Advanced), it was helpful in understanding the issue.
