This sounds very weird. Especially your 2nd point: So you're saying youre completely re-uploading the database from scratch, then don't do any more changes to it, and then - all of the sudden - the app downloads some database again from the Cloud and duplicates appear?
I'll do the following now:
- create a new entry on a blank database for today
- delete the Diarium folder from Google Drive, then sync-upload the data
- change the date from that one entry from today to yesterday
- do another sync-upload
I will now wait for tomorrow to see if anything changed, but I can't imagine that it will...
By the way, you seem to be using outdated Diarium versions, please try to update them.
You also wrote that you have two devices, but you didn't mention on what device you are doing what changes or if you did changes on both devices or only one of them.
Please also check your system clock on both devices and maybe re-calibrate it. Diarium does get NTP time for comparing timestamps, but some routers can block those NTP packages, then Diarium has to rely on system time only. It could be that in that case, Diarium sees differences in timestamps and therefore does a Sync merge