ground-android icon indicating copy to clipboard operation
ground-android copied to clipboard

[Data sync] Sync status stuck on "Syncing media" for some items

Open gino-m opened this issue 1 year ago • 2 comments

@jo-spek @n-clinton @jabramowitz5 have reported sync stuck or data potentially being lost. Potentially related to #2738.

gino-m avatar Sep 20 '24 19:09 gino-m

@jabramowitz5 is this still reproducible with the latest changes? version 0.1.10

jcqli avatar Sep 25 '24 14:09 jcqli

In conversation with data collector and checking the data entries synced to web app, it seems like the error was in the app not indicating the data was successfully synced, rather than an actual error with the data not syncing. Bashara indicated that the entries data collectors had that were showing as "syncing" or "media syncing" were actually already synced and available for download in the web version. So I am thinking it is a sync status (messaging?) issue rather than data actually being lost.

This was before the update to 0.1.10 for users, because these data collectors were delaying update for fear of losing data showing as "syncing"

jabramowitz5 avatar Sep 25 '24 16:09 jabramowitz5

@jabramowitz5 There was an issue when the sync failed before the status could be updated - I've posted a fix in https://github.com/google/ground-android/pull/2844 to force these to complete. This workaround will only work once @rfontanarosa cuts a new release, data collectors install the release, and open the app main home screen (the map).

gino-m avatar Nov 17 '24 16:11 gino-m