learningequality / learningequality/kolibri

[Setup Wizard | LOD]: The app doesn't refresh automatically after importing a learner

Open
#13,675 2 comments 1 reaction 1 assignee View on GitHub

@marcellamaki is already working on this.

Since Aug 26, 2025.

APP: Setup Wizard P1 - important
Dominant language
Python
Stars
1.1k
Forks
972
Avg merge
7d 16h
Merged PRs (30d)
33

Description

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Technical notes

I (@nucleogenesis) replicated this issue and investigated it briefly. It appears that because we set aside the "first imported LOD user" and use that for the superuser during the final steps of provisioning, we run into an issue where that user can have no password which causes things to choke up in the SessionViewSet#create method.

You'll need to be sure you're on ZeroTier or have two kolibris running so that you have users to import to your LOD that you're creating to replicate things.

Observed behavior

When setting up a device through the Group learning > Learn-only device > Import one or more user accounts from an existing facility user flow the Mac app remains stuck at the 'Setting up Kolibri' screen for indefinite period of time. If I manually refresh the page, then I can see that the learner is already imported successfully.
I have double checked that this behavior is not extant in Kolibri 0.18.1 and is therefore a regression in Kolibri 0.18.2

https://github.com/user-attachments/assets/22f0f646-dd22-4f61-ae66-11759de652f6

Expected behavior

If the process of importing the learner is successful then the screen should refresh automatically and the learner should be signed in.

Steps to reproduce the issue

  1. Install Kolibri 0.18.2 (JP: replicated on develop 08/2025)
  2. Go through the Group learning > Learn-only device > Import one or more user accounts from an existing facility user flow

##Logs

LOD logs.zip

Usage Details

Kolibri 0.18.2
Mac OS 15.5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.