I can’t imagine that this problem is caused by DAVdroid. So I’ll mark this as solved until there are reasonable hints how DAVdroid could be related to this.
Hi! I just upgraded from 0.9.1.3 to 22.214.171.124, hoping to solve this problem which I had ever since I got this phone, but unfortunately it prevails. I have a Baikal server on my webspace, which I use to synchronise and backup my calendar and contacts. Contact synchronisation appears to work, but the calendar is not synchronised. The calendar is correctly displayed in the DAVdroid app, which also appears to synchronise it, but when I check the account page in the general system settings, only the contacts are synchronised and the whole entry is marked with “synchronisation error”. I’m using Jorte as calendar application, and my Baikal calendar is not displayed there. The problem must be somewhere in my phone, as calendar entries from Thunderbird are synchronised to Baikal without any problems.
Please provide steps to reproduce and debug info. It’s impossible to provide reasonable help without the required information.
I tried synchronising my calendar and it did not synchronise my calendar.
Synchronising the same calendar between Thunderbird on my PC and the server works. The server is Baikal 0.4.4. DAVdroid managed however to obtain calendar name and description from the server, and contact synchronisation works.
I had the same problem in both versions, 0.9.1.3 and 126.96.36.199. The problem only occurred on this phone, on the Motorola Moto G2 running Cyanogenmod I had before, everything worked fine.
Debug info: https://paste.fedoraproject.org/371955/46447787/
There’s no notification, so it must be a soft error, probably I/O error. Get logs for further information.
This is what I got: https://paste.fedoraproject.org/372238/54941914/
@Bernhard Thanks for the logs. These are only the logs for an address book sync, and they show (as you said) no error.
Do you have any idea why the calendar might not sync?
The calendar and the address book are both correctly displayed in the app, even with their server-side descriptions. I synchronised them simultaneously, at least that’s what it looked like in the app, and this is the log.
@Bernhard As you can see, the log contains only an address book synchronization. Maybe it’s in another file, or the logging was not exactly active when you did a calendar synchronization.
There is another file. Could this be the log for the calendar sync?
2016-05-29 21:12:16 0 [App$ReinitLoggingReceiver] Received broadcast: re-initializing logger
So I tried logging again. The process generated 2 .txt files and 2 .txt.lck files. 3 of them are empty. This is the file with content: https://paste.fedoraproject.org/372332/58144146/
@Bernhard Again, these are only contact sync logs. You can see it in the first line:
2016-05-29 23:40:00 7 [syncadapter.SyncAdapterService$SyncAdapter] Sync for com.android.contacts has been initiated
How did you initiate a calendar sync? It seems like it’s just not initiated. You can try to
I tried synchronising calendar and contacts from within the DAVdroid-app. The calendar is not displayed in the Android-settings, only the address book shows up there. The account is also marked with a red circle and the words “synchronisation error”.
@Bernhard If the calendars are not shown, they can of course not be synchronized. However, in this case the red circle would then have to apply to the contacts sync, but those seem to work. Can you post screenshots? It’s just difficult to reproduce this problem here or to get an idea of the actual problem.
This is what I tried to describe: http://imgur.com/a/oGR7a
@devvv4ever Do you have any idea what might cause this problem?
Please help me! Do you need any further information?
I’m sorry that we can not help you. Did you try another server or do you have another Android device where everything is working fine?
@devvv4ever I tried using another server as well, but the problem was the same. Both times DAVdroid got the calendar name, description and even colour, but the calendar didn’t synchronise. Both servers synchronise with Thunderbird/Lightning.