We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Carddav partial sync

asked 2017-10-25 00:29:48 +0200

rtr2001 gravatar image

updated 2017-10-25 09:31:24 +0200

jollac, SFOS 2.1.2.3

I have a Baikal server in my home network. I'm using it for testing.

Steps:

  • I have removed all CardDAV accounts from the phone, restarted.
  • I have created a new account on the baikal server (test3). This is the only CardDAV account (no other contact syncing profile)
  • I have created a CardDAV account on the phone for test3, with automatic sync disabled, manual sync
  • Synchronised manually.

Instead of 100+ address from the local contacts, it uploaded two of the recently created accounts . Updated some other accounts (dummy changes) resync, no change.

In the past I have uploaded the whole address book, but I have removed since that CardDAV account account from the phone. I expect the new and only account (test3) to sync all the local contacts.

Is there anything to do for CardDAV to consider all the contacts as "to be sync-ed"?

edit retag flag offensive close delete

Comments

CalDav is made for calendars, CardDav for address books...

Olsen ( 2017-10-25 00:49:54 +0200 )edit

Currently, the CardDAV plugin does not support separated addressbooks. This is a known issue which we will resolve once we update the backend to support the new QtContacts API (which includes separated addressbooks and addressbook metadata as a top-level API concept).

chris.adams ( 2017-10-25 04:41:56 +0200 )edit

Instructions on collecting sync logs can be found at https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs

chris.adams ( 2017-10-25 04:44:33 +0200 )edit

@Olsen : my bad, it's all about CardDAV. I have corrected the post.

rtr2001 ( 2017-10-25 09:33:23 +0200 )edit

@chrisadams:

Currently, the CardDAV plugin does not support separated addressbooks.

There is only one CardDAV account on the phone, test3. All previously used CardDAV accounts are removed. It should have synced all, shouldn't it? Unless the contacts remain flagged as part of a sync profile even after removing that profile...

new QtContacts API

Is this worked on ?

sync log

I have them. Should I upload here? they're pretty long ? Mail them to you?

rtr2001 ( 2017-10-25 09:39:28 +0200 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2017-12-15 18:08:30 +0200

deepblue17 gravatar image

Same problem here: Sony Xperia X, SF 2.1.3.7

I created a new CardDAV Account with server URL: https://carddav.web.de/

Only roughly 25% percent of my contacts were synced.

Could anybody more precisely define what "separated addressbooks" mean? From my point of view, I guessed that I have only one addressbook, but which was created on different devices and with different software. So not clear to me now, if it is still seen internally as "seperated".

edit flag offensive delete publish link more

Comments

Did you find a solution? I have the same problem with firmware version 2.2.0. I've just added a Carddav account (never used it before on my Jolla phone) and synced. Only 20% of my contacts were uploaded to the server.

rweickelt ( 2018-06-21 16:16:54 +0200 )edit

There is an still open bug report https://bugs.merproject.org/show_bug.cgi?id=1863

And the push request was not yet accepted.

deepblue17 ( 2018-06-22 15:13:11 +0200 )edit
0

answered 2017-12-27 21:22:32 +0200

Matze444 gravatar image

updated 2017-12-27 21:24:03 +0200

Hi, I had the same problem but i fixt it.

My Problem was wrong UIDs in my Contacts. example from exported vcf files open with notepad ++

Right: UID:0f60e460-18b4-4b04-8a01-be99a4a8be4b

Wrong: UID:20131227T174016.6594127d76@owncloud.xxxx

My way to fix: 1) I exported all Contacs in one big VCF-File and delete all Contacts from my Owncloud 8.1 Server

2) Backup the VCF-File, if this didn´t work und lost all of your Numbers

3) Delete all Lines with the UIDs and safe this with a new name

4) Import the new VCF-File in my Owncloud Server ( Owncloud set news UID´s )

5) Sync my Xperia with owncloud

6) All Contacts are there

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2017-10-25 00:29:48 +0200

Seen: 374 times

Last updated: Dec 27 '17