[Bug] account synchronization doesn't work anymore

asked 2014-11-05 09:52:42 +0200

updated 2014-11-05 09:56:45 +0200

Hey guys,

as I already had that issue twice and already saw other users with this problem, I want to share this solution with you.

The problem:

You have one ore more accounts configured (the issue has been experienced with E-Mail (IMAP), Facebook and CalDAV accounts already) which should be synchronized automatically. But this doesn't work anymore for one or more of your accounts. If you wanna check for example your mails now, you have to do it manually in the mail client or via the cover action. I also had the problem, that I couldn't set a new synchonization period in the account settings.

If you have installed the terminal or connected via SSH to the phone, switch to super user via devel-su and run journalctl -f you'll get something like that (you may have to wait for the sync daemon):

Nov 04 08:43:26 jolla [1005]: [W] Buteo::ProfileManagerPrivate::parseFile:1096 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/syncemail-8.xml"
Nov 04 08:43:26 jolla [1005]: [W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "syncemail-8"

The reason:

The problems is, that those caching files are empty. The sync daemon currently can't handle this. So he can't parse the files which "disables" your automatic synchronization. This can happen because of several reasons, for example full file system, unexpected reboots and so on.

The solution:

It's easy. Delete the files which can not be parsed. In the example above:

rm /home/nemo/.cache/msyncd/sync/syncemail-8.xml

The real solution would be to patch the synchronization daemon to overwrite empty caching files.

PS: Thanks to Juuba for the logs. ;-)

edit retag flag offensive close delete

Comments

Happy to help :)

Juuba ( 2014-11-05 10:05:58 +0200 )edit