Dhis2 capture app taking hours to do initial sync

I need help with getting started with the latest update of the DHIS2 CAPTURE app.

I can’t seem to get it done in any number of hours even when my Wi-Fi connection is excellent.

After the entering url and user account login details, the sync just goes on and on and on.

Could somebody please help me resolve this.

Hi @Chali.

The Android App will download everything it might need for working online. This means that if your user has been assigned lot of programs and Organisation Units it will take long time to download. May I suggest you reduce the amount of metadata by assigning only one OU and one program?

The other possibility is that your sync breaks due to an error. In order to check what might be going on you might download the Training App from Github (https://github.com/dhis2/dhis2-android-capture-app/releases) which includes Stetho (https://engineering.fb.com/2015/02/18/android/stetho-a-new-debugging-platform-for-android/) and which allows you to see the requests being made between your device and the server and seeing if something is wrong there.

Please try and let us know

1 Like

Hi @Chali. Did the suggestions help you?