Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding resources to lesson can interfere with LoD syncing? #11498

Closed
radinamatic opened this issue Nov 3, 2023 · 1 comment
Closed

Adding resources to lesson can interfere with LoD syncing? #11498

radinamatic opened this issue Nov 3, 2023 · 1 comment
Assignees
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) APP: Learn Re: Learn App (content, quizzes, lessons, etc.) bug Behavior is wrong or broken P0 - critical Priority: Release blocker or regression

Comments

@radinamatic
Copy link
Member

radinamatic commented Nov 3, 2023

Observed behavior

Encountered while testing #11489: after 3 successful resumed syncing upon re-connection of LoD to WiFi, I decided to add resources to lessons that the learner previously completed, and test if they are reaching the LoD. Something did reach the learner device as they could now see the lesson cards marked with In progress instead of Completed, but when the learner opens the lesson, there was no sign of the newly added resource, nor any notification that a resource is incoming. While waiting for something to appear, I made and started a quiz, which was eventually synced to the LoD, but still there was no sign of the newly added resources to each lesson.

LoD Coach
Screenshot_2023-11-03-22-30-27-848_org learningequality Kolibri 2023-11-03_23-02-50

Syncing seems to have been interrupted, I waited close to 20 minutes and no change on either LoD or Coach side. Afterwards I restarted the app, and finally the new resources appeared, one in each lesson. However the syncing did not resume after the app restart, and neither after the LoD reboot or the server kolibri service restart.

Errors and logs

Ubuntu20-server-db-logs.zip
Android13-LoD-logs.zip
db-Android13.zip

Expected behavior

Adding resources to the lesson should not interrupt syncing.

User-facing consequences

...

Steps to reproduce

Context

@radinamatic radinamatic added bug Behavior is wrong or broken P0 - critical Priority: Release blocker or regression APP: Learn Re: Learn App (content, quizzes, lessons, etc.) APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) labels Nov 3, 2023
@bjester bjester self-assigned this Nov 6, 2023
@bjester
Copy link
Member

bjester commented Nov 7, 2023

I've confirmed that adding resources to a lesson does not interfere with syncing. I believe the issue was that a 'database is locked' error occurred, which syncing will be made more robust with fixes from #11469 and #11485

@bjester bjester closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) APP: Learn Re: Learn App (content, quizzes, lessons, etc.) bug Behavior is wrong or broken P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

No branches or pull requests

2 participants