question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check that Kolibri does not fail to start when deleting the home folder contents

See original GitHub issue

Observed behavior

During the testing of Kolibri mac installer I found this issue when deleting the home folder contents will cause an error and kolibri can’t start the server. here’s the issue I reported on mac installer repo

@kollivier has a comment about this issue here https://github.com/learningequality/kolibri-installer-mac/issues/51#issuecomment-582021971:

It turns out that the issue is that when you delete the contents of ~/.kolibri from Finder, it leaves the hidden .data_version file, and Kolibri uses that file to determine when it needs to run migrations

Expected behavior

If Kolibri finds a .data_version file but no database, perhaps it should clear the file?

User-facing consequences

In some situations, user might think they have reset Kolibri but get into a stuck state. I believe if they delete the entire .kolibri folder this would not happen.

Errors and logs

kolibri.txt kolibri-app.txt

Steps to reproduce

Delete all non-hidden files from ~/.kolibri

Context

Tell us about your environment, including:

  • Kolibri version: 0.13
  • Operating system: macOS 10.14.6
  • Browser

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jonboisercommented, Mar 27, 2021

@jonboiser Does this need a proper Gherkin scenario, or the user story above is just a suggestion for a possible fix to implement?

It’s a user story to confirm that this bug still exists or not (Richard seems to have gone through the story himself and found the bug doesn’t exist anymore).

We can just add it to the list of Gherkins, esp. with the proper variations for Windows.

0reactions
rtibblescommented, Apr 5, 2021

Have just posted in #7952 - I was unable to replicate that issue either.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting — Kolibri User Guide - Read the Docs
Open a terminal and change the current working directory to your Kolibri's home folder. · Create a new directory and save the old...
Read more >
Kolibri User Guide - Read the Docs
Kolibri is an open-source educational platform specially designed to ... Delete the ~/.kolibri folder in your user's Home directory if you want to...
Read more >
Import - Export issues - Kolibri - Learning Equality Community
When I import several resources at the same time the Task Manager gets stuck at 100%. Cancelling the import doesn't work. Only after...
Read more >
13.0 beta 7, problem while installing · Issue #6388 - GitHub
I tried to install and uninstall 0.12.9 before installing 0.13.0beta7, but the file /usr/lib/python3/dist-packages/kolibri/plugins/learn/hooks.
Read more >
Manage Kolibri — Kolibri 0.11.0.dev documentation - overtag.dk
To grant permission to another user to manage content channels in Kolibri, that is to import, export and delete them from the device, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found