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.

Android App - App stops syncing with the server

See original GitHub issue

Observed behavior

After installing the app and importing learners it gets synced with the server but then after completing some of the assigned lessons/quizzes I have to manually restart the app to get it synced. This worked for some period of time and then it completely stopped syncing and restarting the app or the server is not solving the issue. I do see a django.db.utils.OperationalError: database is locked error in the Android logs so this could be the cause - attaching both the Android and Ubuntu logs and DBs.

Steps to reproduce the issue

  1. Install the following Android build: https://buildkite.com/learningequality/kolibri-android-installer/builds/3637
  2. Launch the app and login as a Learner
  3. Interact with the app by completing a lesson/quiz and observe the sync status on the server at the Coach>Class>View learners page

Additional information

2021-12-15_18-37-42

Logs and DB files:

UbuntuLogsAndDB.zip AndroidLogsAndDB.zip

Usage Details

  • OS: Android 7, Samsung S7

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
pcenovcommented, Dec 17, 2021

Yup, also no issues with syncing while testing on this build today with 3 learners imported to the same device. To answer @rtibbles question: the symptom of stopping syncing was that data was actually no longer showing up in the server and newly assigned lessons not showing on the learner’s device.

0reactions
radinamaticcommented, Dec 17, 2021

Closing this as not extant anymore on the latest assets from the 0.15 branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix account sync issues - Android Help - Google Support
Manually sync your Google Account. Open your phone's Settings app. Tap About phone And then Google Account And then Account sync. If you...
Read more >
Android app no syncing for weeks : r/NextCloud - Reddit
The Android app has not been syncing for weeks and I have to manually upload each image. Like everyone else with the same...
Read more >
Why Did Email Stop Syncing on Android? 8 Ways to Fix It
2. Perform a Manual Email Sync · Open the Settings app on your phone and select Accounts. · Choose the email account where...
Read more >
Android App Still Not Syncing and Crashing! - ownCloud Central
Installed NEW beta just now. When running Owncloud on Android the app still crashes and also does not auto sync new pictures.
Read more >
App frequently hangs upon syncing and occasionally crashes ...
In case it is helpful, this is the logcat from my tablet. You can clearly see messages about the application not being responsive...
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