Unable to Update Channel Through Command-Line Interface (CLI)

Summary

Unable to update a channel through the Kolibri CLI.

Terminal output screenshot:

Kolibri UI on browser, confirming that a new version is available:

Description

I uploaded a channel through CSV Workflow on Studio. The commands importchannel and importcontent ran perfectly fine when I first imported the channel. But after updating the channel to later versions through CSV Workflow, and running the two commands again, I get the warning on CLI and thus it doesn’t update the channel to the latest version. I can also verify on the browser that a new version is available.

Weirdly, the commands worked when updating channel from version 1 to version 2, but not working now. The commands seem to be working nondeterministic.

Technical details

  • Kolibri version: 0.19.3
  • Operating system: Microsoft Windows [Version 10.0.19045.6466]
  • Browser: Microsoft Edge

Technical details pt. 2

  • Kolibri version: 0.19.3
  • Operating system: Ubuntu 24.04.4 LTS
  • Browser: Brave

Hi @essa,

Thanks for your report. It seems you’ve found a bug in our importchannel command. I’ll create a task to track this bug with the development team so we can release a fix in a future version of Kolibri.

For now, the available alternatives are:

  • Import the channel directly from the browser,

  • Or you can delete the file located in $KOLIBRI_HOME/content/databases/[CHANNEL_ID].sqlite3, replacing it with your configured $KOLIBRI_HOME path and the channel_id you are importing (e.g., /Users/my_user/.kolibri/content/databases/abcdefghabcdefghabcdefghabcdefgh.sqlite3), and then run the importchannel command again.

I hope this helps. If you have any further questions, please let us know.

Alex.