Synthesis AG - SyncML Discussion Forum  

Go Back   Synthesis AG - SyncML Discussion Forum > Synthesis SyncML Products (english) > SyncML Clients for Android

Reply
 
Thread Tools Display Modes
  #1  
Old 2014-02-02, 14:08
Al_ Al_ is offline
Junior Member
 
Join Date: 2013-04
Posts: 4
Default Occasionally all contacts are lost after sync

Hi

Occasionally, after sync'ing contacts with SyncML between a phone and the server, most/all contacts are deleted on both sides (luckily, the contacts are still available on other devices, so the server can be reloaded; a subsequent SyncML reload of the initially affected client restores the contacts).

Looking at the log file on the server side (in part attached), I have to conclude that SyncML did not send any contact items but claims that all contacts on the client had been previously deleted. This is not true; there were appr. the same number of entries on the client device prior to the sync as on the server.

Prior to repairing the server database by updating from another device, I saved the relevant folders (~/.local/share/evolution and ~/.config/syncevolution), in the hope that this will help to locate the issue. I also have the log files of the server.

Setup:
- server: syncevo-http-server, running on Ubuntu precise (12.04.2 LTS)
- most recently affected client: Samsung GT-S5360 (Android 2.3.6), running SyncML STD 2.8.6, SyncML engine Version V3.4.0.68
- two Ubuntu machines running evolution and syncevolution (neither ever had an issue, so far)
- one android (version 3.2) device with SyncML lite
- one android (version 4.) device with SyncML STD
- one iOS device (version 6.1.3) with SyncML lite.

How can I fix this issue?

Best

Al_
Attached Files
File Type: txt syncevo-log.txt (3.5 KB, 2 views)
Reply With Quote
  #2  
Old 2014-02-07, 12:36
bfo's Avatar
bfo bfo is offline
Synthesis AG
 
Join Date: 2006-06
Posts: 261
Default Re: Occasionally all contacts are lost after sync

Hello Al

the Android device has not just one addressbook, but several of them. The Synthesis app allows to configure which of them will be synced. Also the current number of entries will be shown. This might be helpful to locate entries.

If for any reason one of these addessbooks will be switched off, the next sync will remove them on the server as well, as they are out of the scope for the sync. However switching it on again will make them visible on the server again after the next sync.

The server log files does not contain any relevant info however.

Best Regards
Beat
__________________
Beat Forster, Synthesis AG
Reply With Quote
  #3  
Old 2014-02-11, 22:48
Al_ Al_ is offline
Junior Member
 
Join Date: 2013-04
Posts: 4
Default Re: Occasionally all contacts are lost after sync

Hi Beat

Thanks for the explanations. Although I do not deliberately switch of the addressbook where I keep almost all contacts (I store just a few phone/provider specific on the SIM card), this might somehow have happened accidentally.

If this is the cause of the described issue then it should not occur, if the number of contacts displayed by SyncML prior to starting the sync is correct, i.e., plausible. I will pay attention to that number and get back to this forum in case the issue reappears nevertheless.

Best

Al_
Reply With Quote
  #4  
Old 2014-02-12, 16:27
bfo's Avatar
bfo bfo is offline
Synthesis AG
 
Join Date: 2006-06
Posts: 261
Default Re: Occasionally all contacts are lost after sync

Hi AI_

thanks for the confirmation so far.
These settings shouldn't get lost of course.
It might be worth to update to V2.9.0

And yes, ... keep us updated !

Best Regards
Beat
__________________
Beat Forster, Synthesis AG
Reply With Quote
  #5  
Old 2014-05-13, 15:46
carl carl is offline
Junior Member
 
Join Date: 2014-05
Posts: 1
Default Re: Occasionally all contacts are lost after sync

Greetings,
I was using the memotoo web service to sync with version 3.0.1 of synthesis, i then decided to abort - and then cancel and exit the application on the device while it was still running - My contacts then fully had disappeared on the memotoo server... I am really not sure if this was a server issue or a synthesis issue... The good news is that the data was backed up on the server so it could be easily restored...

Anyways, just to let you know...
Device: HP Slatebook x2, running 4.2.2
Synthesis version: 3.0.1
SyncML Engine: 3.4.0.72

Best regards,
Carl Eric Codere
Reply With Quote
  #6  
Old 2014-05-13, 15:59
bfo's Avatar
bfo bfo is offline
Synthesis AG
 
Join Date: 2006-06
Posts: 261
Default Re: Occasionally all contacts are lost after sync

Hi Carl

thanks for your feedback

Do you remember what operation was in progress ?
(you can find this in the log menu of the Synthesis app)

Was it a "reload server" or update server operation ?
Or a sync from an empty Android account ?

A slow/normal sync usually will not remove items on the server, even if connection is broken or canceled. A "reload server" will remove all items in a first step however. If you cancel it right there, the server's addressbook will be empty of course.

Best Regards
Beat
__________________
Beat Forster, Synthesis AG
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 01:49.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.