<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi, I have an Ubuntu phone and it use syncevolution as backend
for the contacts. I use command lines to have my CardDav contacts
on my phone. But since I switched from self signed certificate to
letsencrypt (related or not), I have tons of errors.</p>
<p><br>
</p>
<p>$ syncevolution owncloud contacts<br>
[WARNING] owncloud: ignoring username , it is not needed<br>
[INFO] @default/9frfrenchholiday: inactive<br>
[INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive<br>
[INFO] @default/addressbook: inactive<br>
[INFO] @default/calendar: inactive<br>
[INFO] @default/memo: inactive<br>
[INFO] @default/todo: inactive<br>
[WARNING] owncloud: ignoring username , it is not needed<br>
[INFO @owncloud] target side of local sync ready<br>
[INFO @owncloud] @owncloud/addressbook: inactive<br>
[INFO @owncloud] @owncloud/calendar: inactive<br>
[INFO @owncloud] @owncloud/memo: inactive<br>
[INFO @owncloud] @owncloud/todo: inactive<br>
[INFO @owncloud] @owncloud/contacts: using configured
database=<a class="moz-txt-link-freetext" href="https://cloud.influence-pc.fr/remote.php/carddav/addressbooks/Vincent/contacts">https://cloud.influence-pc.fr/remote.php/carddav/addressbooks/Vincent/contacts</a><br>
[INFO @owncloud] @owncloud/contacts: starting slow sync, two-way
(peer is server)<br>
[INFO @owncloud] @owncloud/contacts: slow sync done unsuccessfully<br>
<b>[ERROR @owncloud] @owncloud/contacts: local, status 20048</b><br>
<b>[ERROR @owncloud] error code from Synthesis engine local,
status 20048</b><br>
<br>
<b>Synchronization failed, see
/home/phablet/.cache/syncevolution/target_+config@owncloud-2017-04-19-10-34-a/syncevolution-log.html
for details.</b><br>
<br>
Changes applied during synchronization (@owncloud):<br>
+---------------|-----------------------|-----------------------|-CON-+<br>
| | @owncloud | @default |
FLI |<br>
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR |
CTS |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| contacts | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 |<br>
| slow, 0 KB sent by client, 0 KB
received |<br>
| unexpected slow sync (local, status
22000) |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| start Wed Apr 19 10:34:14 2017, duration
0:01min |<br>
| unexpected slow sync (local, status
22000) |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
<b>First ERROR encountered: local, status 20048</b><br>
<br>
Doing a slow synchronization may lead to duplicated items or<br>
lost data when the server merges items incorrectly. Choosing<br>
a different synchronization mode may be the better alternative.<br>
Restart synchronization of affected source(s) with one of the<br>
following sync modes to recover from this problem:<br>
slow, refresh-from-server, refresh-from-client<br>
<br>
Analyzing the current state:<br>
syncevolution --status target-config@owncloud contacts<br>
<br>
Running with one of the three modes:<br>
syncevolution --sync
[slow|refresh-from-remote|refresh-from-local]
target-config@owncloud contacts<br>
[ERROR] error code from SyncEvolution unexpected slow sync (local,
status 22000): failure on target side @owncloud of local sync<br>
[INFO] @default/contacts: inactive<br>
[ERROR] @default/contacts: aborted on behalf of user (local,
status 20017)<br>
[INFO] creating complete data backup after sync (enabled with
dumpData and needed for printChanges)<br>
<br>
<b>Synchronization failed, see
/home/phablet/.cache/syncevolution/owncloud-2017-04-19-10-34/syncevolution-log.html
for details.</b><br>
<br>
Changes applied during synchronization:<br>
+---------------|-----------------------|-----------------------|-CON-+<br>
| | @default | @owncloud |
FLI |<br>
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR |
CTS |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| contacts | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 |<br>
| unexpected slow sync (local, status
22000) |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| start Wed Apr 19 10:34:13 2017, duration
0:02min |<br>
| unexpected slow sync (local, status
22000) |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
<b>First ERROR encountered: local, status 20048</b><br>
<br>
Doing a slow synchronization may lead to duplicated items or<br>
lost data when the server merges items incorrectly. Choosing<br>
a different synchronization mode may be the better alternative.</p>
<p><br>
</p>
<p><br>
</p>
<p>So I decided to try some things I don't remember exactly (like
forcing sync with refresh from local/remote) and changed the end
of previous log by:</p>
<p><b>First ERROR encountered: local, status 20048</b><br>
<br>
Doing a slow synchronization may lead to duplicated items or<br>
lost data when the server merges items incorrectly. Choosing<br>
a different synchronization mode may be the better alternative.<br>
Restart synchronization of affected source(s) with one of the<br>
following sync modes to recover from this problem:<br>
slow, refresh-from-server, refresh-from-client<br>
<br>
Analyzing the current state:<br>
syncevolution --status owncloud contacts<br>
<br>
Running with one of the three modes:<br>
syncevolution --sync
[slow|refresh-from-remote|refresh-from-local] owncloud contacts</p>
<p><br>
</p>
<p><br>
</p>
<p>Then:</p>
<p>Data modified @default during synchronization:<br>
*** @default/calendar ***<br>
<b>Comparison was impossible.</b><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Since this step, I'm not able anymore to delete contact from my
phone and make it sync on the server (to delete the contact on the
server itself), instead the contact is just "cleared" (any
information disappear but the contact is still here and keep
firstname and lastname). I can sync contact created on the server
on my phone and send contacts created on my phone on the server. <br>
</p>
<p>It seems the backup database is corrupted but I'm not able to
reset completely my config. I just wanted to start by zero but I
can't find any way to do this. :'(<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>phablet@ubuntu-phablet:~$ syncevolution --print-sessions owncloud<br>
/home/phablet/.cache/syncevolution/owncloud-2017-04-20-11-04-b<br>
+---------------|-----------------------|-----------------------|-CON-+<br>
| | LOCAL | REMOTE |
FLI |<br>
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR |
CTS |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| contacts | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
0 |<br>
| two-way, 0 KB sent by client, 0 KB
received |<br>
| item(s) in database backup: 2 before sync, 2 after
it |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| start Thu Apr 20 11:04:51 2017, duration
0:05min |<br>
| synchronization completed
successfully |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
<br>
/home/phablet/.cache/syncevolution/owncloud-2017-04-20-11-05<br>
+---------------|-----------------------|-----------------------|-CON-+<br>
| | LOCAL | REMOTE |
FLI |<br>
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR |
CTS |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| contacts | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
0 |<br>
| two-way, 0 KB sent by client, 0 KB
received |<br>
| item(s) in database backup: 2 before sync, 2 after
it |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| start Thu Apr 20 11:05:24 2017, duration
0:05min |<br>
| synchronization completed
successfully |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
phablet@ubuntu-phablet:~$ syncevolution --restore
/home/phablet/.cache/syncevolution/owncloud-2017-04-20-11-05
--before owncloud contacts<br>
[INFO] 9frfrenchholiday: inactive<br>
[INFO] 9rd2q8ps5e2r48skvidunfkoms8: inactive<br>
[INFO] addressbook: inactive<br>
[INFO] calendar: inactive<br>
[INFO] memo: inactive<br>
[INFO] todo: inactive<br>
[INFO] contacts: restore from backup<br>
Data changes to be applied locally during restore:<br>
*** contacts ***<br>
<b>Comparison was impossible.</b><br>
<br>
[INFO] contacts: started<br>
[INFO] contacts: restore done successfully<br>
[INFO] Item changes that were applied locally during restore:<br>
[INFO]
+---------------------------------------|-----------------------------+<br>
[INFO] | |
LOCAL |<br>
[INFO] | Source | NEW | MOD | DEL |
ERR |TOTAL|<br>
[INFO]
+---------------------------------------+-----+-----+-----+-----+-----+<br>
[INFO] | contacts | 0 | 0 | 0
| 0 | 2 |<br>
[INFO]
+---------------------------------------+-----+-----+-----+-----+-----+<br>
[INFO] The same incremental changes will be applied to the server
during the next sync.<br>
[INFO] Use -sync refresh-from-client to replace the complete data
on the server.<br>
phablet@ubuntu-phablet:~$ syncevolution --sync=refresh-from-client
owncloud contacts<br>
[WARNING] owncloud: ignoring username , it is not needed<br>
[INFO] @default/9frfrenchholiday: inactive<br>
[INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive<br>
[INFO] @default/addressbook: inactive<br>
[INFO] @default/calendar: inactive<br>
[INFO] @default/memo: inactive<br>
[INFO] @default/todo: inactive<br>
[WARNING] owncloud: ignoring username , it is not needed<br>
[INFO @owncloud] target side of local sync ready<br>
[INFO @owncloud] @owncloud/addressbook: inactive<br>
[INFO @owncloud] @owncloud/calendar: inactive<br>
[INFO @owncloud] @owncloud/memo: inactive<br>
[INFO @owncloud] @owncloud/todo: inactive<br>
[INFO @owncloud] @owncloud/contacts: using configured
database=<a class="moz-txt-link-freetext" href="https://cloud.influence-pc.fr/remote.php/carddav/addressbooks/Vincent/contacts">https://cloud.influence-pc.fr/remote.php/carddav/addressbooks/Vincent/contacts</a><br>
[INFO @owncloud] @owncloud/contacts: starting first time sync from
client (peer is server)<br>
[INFO @owncloud] @owncloud/contacts: sent 2/2<br>
[INFO] @default/contacts: starting slow sync from client (peer is
client)<br>
[INFO] creating complete data backup of datastore contacts before
sync (enabled with dumpData and needed for printChanges)<br>
@default data changes to be applied during synchronization:<br>
*** @default/contacts ***<br>
<b>Comparison was impossible.</b><br>
<br>
[INFO] @default/contacts: deleting "test estse"<br>
[INFO] @default/contacts: deleting "Gvv"<br>
[INFO] @default/contacts: deleting 2/2<br>
[INFO] @default/contacts: started<br>
[INFO] @default/contacts: adding "test estse"<br>
[INFO] @default/contacts: adding "Gvv"<br>
[INFO] @default/contacts: received 2<br>
[INFO @owncloud] @owncloud/contacts: started<br>
[INFO] @default/contacts: slow sync done successfully<br>
[INFO @owncloud] @owncloud/contacts: first time sync done
successfully<br>
<br>
Synchronization successful.<br>
<br>
Changes applied during synchronization (@owncloud):<br>
+---------------|-----------------------|-----------------------|-CON-+<br>
| | @owncloud | @default |
FLI |<br>
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR |
CTS |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| contacts | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
0 |<br>
| refresh-from-local, 0 KB sent by client, 0 KB
received |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| start Thu Apr 20 11:24:17 2017, duration
0:04min |<br>
| synchronization completed
successfully |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
[INFO] creating complete data backup after sync (enabled with
dumpData and needed for printChanges)<br>
<br>
Synchronization successful.<br>
<br>
Changes applied during synchronization:<br>
+---------------|-----------------------|-----------------------|-CON-+<br>
| | @default | @owncloud |
FLI |<br>
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR |
CTS |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| contacts | 2 | 0 | 2 | 0 | 0 | 0 | 0 | 0 |
0 |<br>
| refresh-from-remote, 0 KB sent by client, 0 KB
received |<br>
| item(s) in database backup: 2 before sync, 2 after
it |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
| start Thu Apr 20 11:24:17 2017, duration
0:04min |<br>
| synchronization completed
successfully |<br>
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+<br>
<br>
Data modified @default during synchronization:<br>
*** @default/contacts ***<br>
<b>Comparison was impossible.</b><br>
<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<p><b><span style="font-family:'Arial','sans-serif';
color:#00A1E6; border:none windowtext 1.0pt; padding:0cm">Vincent
Lambert</span></b><span
style="font-family:'Arial','sans-serif'; color:#646464"></span><span
style="font-size:10.0pt;
font-family:'Arial','sans-serif';color:#646464; border:none
windowtext1.0pt; padding:0cm"><br>
Développeur informatique</span><span
style="font-family:'Arial','sans-serif';color:#646464"></span></p>
</div>
</body>
</html>