Skip to content

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

@pcenov

Description

@pcenov

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

video.mp4

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

Metadata

Metadata

Assignees

Labels

APP: Setup WizardRe: Setup Wizard (facility import, superuser creation, settings, etc.)P1 - importantPriority: High impact on UX

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions