Tangerine-Community / Tangerine

Digitize your offline data collection. Create your Forms online with Tangerine Editor, conduct them offline with the Tangerine Android App. All results you collect can be exported as a CSV file, easy for processing in a spreadsheet. Tangerine has been used in over 1 million assessments and surveys in over 60 countries and in 100 languages.
http://www.tangerinecentral.org/
GNU General Public License v3.0
50 stars 29 forks source link

Android device communicates with server but can't syncs data to server #3716

Open selectapps opened 4 months ago

selectapps commented 4 months ago

After installing the APK on an Android device, device information syncs to the server and are viewable on server in Tangerine. However, data collected through forms not sync to the server. What might be causing this issue, and how can it be fixed?

The configurations details and images are given here:

Ubuntu Version: Ubuntu Noble 24.04 (LTS) Docker version: 24.0.7, build 24.0.07.0ubuntu4 Tangerine version: v3.32.0-pre-14 Nginx version: 1.24.0 couchdb version: 2.3.1 Configured Godaddy domain and SSL on Server, that works fine.

Deployed Device: Device ID=175650 Screenshot 2024-07-13 175650

Sync Setting: Created Test Form and setup two-way sync Screenshot 2024-07-13 175746

Device Information sync with Server (picture from server) Screenshot 2024-07-13 175837

Sync Details from Android Device: Image2024-07-14at4-41-01PM3 Image2024-07-14at4-41-01PM2 Image2024-07-14at4-41-01PM1

lachko commented 2 months ago

it looks like the tablet synced but there were some errors. Can you check the errors doc for more details as to what the issue is?

There is also no location assigned to the tablet or sync level - not sure if this was redacted on the photo. Sync2 works only whern both device and user profile contain location and configured correctly.