Content Inadvertently Removed from Kolibri While Still in Studio

Hi @Andy_Johnson,

Thank you for your patience. I’ve tested a snippet of Python that should help resolve the problem. Here are the steps to resolve your issue importing your channel:

  1. Make a back up of your db.sqlite3 file in your Kolibri home directory, which is ~/.kolibri by default
  2. From a terminal, run kolibri manage shell
  3. Copy and paste the Python code below into the shell:
from django.core.management import call_command
from django.db.models.signals import pre_delete

pre_delete.receivers = []
call_command("deletechannel", "<YOUR CHANNEL ID HERE>")
  1. Close the shell (Ctrl+C) and close the terminal.
  2. Re-import the channel from Studio

We believe your issue originated from a bug that occurred on Kolibri Studio a few months ago, which was resolved but is still plaguing channels that may have been published during that time. This should not occur again.

Let us know if this resolves your issue.

Regards,
Blaine