Suddenly CardDAV Entries Create Several Duplicates

REPRODUCIBILITY: Already when typing this text
OS VERSION: Sailfish OS 4.5
HARDWARE: Sony Xperia 10 III
UI LANGUAGE: English
REGRESSION:

DESCRIPTION:

CardDAV entries that have been added on the phone during the last months suddenly get duplicates on a daily (?) base. However, those duplicates do only exist on the server, but not on the phone.

PRECONDITIONS:

CardDAV entries have been added via Sailfish GUI in address book app.

STEPS TO REPRODUCE:

Nothing to do - “works” automatically and creates duplicates.

EXPECTED RESULT:

No (!) duplicates should be created.

ACTUAL RESULT:

Address book is getting spammed with duplicate entries.

MODIFICATIONS:

No patches, no custom entries, etc.

ADDITIONAL INFORMATION:

Just imagine a

Please try collecting logs using

1 Like

It happened to me as well, recently. Eventually I had hundreds of duplicated entries in Nextcloud for each new contact I created on the phone.
Since the sync daemon seemed to be busy by duplicating those entries it also stopped syncing my calendar.

I couldn’t find anything useful in the logs and didn’t find any hints to fix this.
So I deleted the account in settings. Deleted the duplicated contacts in my desktop app.
Then I recreated my Nextcloud account and syncing works again.

1 Like

Hi
I deleted duplicates on a regular basis, until I would take time to investigate the problem.
I found your solution and tried, deleting duplicates and nextcloud account before recreating it: it seems to work very well !

I had some contacts data not syncronized at all, names or phones number not updated etc. I just checked a edited name, it synced !
I’m happy, thank you very much

Had the same already in the previous relase. Xperia 10 II. Didn`t suspect Sailfish to be the cause.

I had this issue as well (with Xperia I), quite a while ago. I thought as well, that this is more a Nextcloud issue than a Sailfish OS issue. However, I have no prove for that.
Since I am now using an Xperia III, I haven’t set up CardDAV, yet. Once I come over that, I will try to get some logs…

Hi! I just found this bugreport. There is a thread about this in General and I posted my findings there:

I did some digging in the log. Maybe it helps?