caldav with Mailfence?

asked 2018-01-31 01:04:14 +0300

henris42 gravatar image

updated 2018-02-03 19:57:58 +0300

Hi,

Any mailfence.com users here?

Email works fine, as well as carddav. But I've not been able to get caldav to sync the calendar no matter what I do. It seems to log in, sync goes through - but I get no events back from the server, the calendar stays empty.

Happy to debug it over ssh, it someone tells me what to do.. :)

Edit: added logfile: caldav_log.txt

edit retag flag offensive close delete

Comments

You'll find every thing you need to know how to get a log from sync processes in this wiki page.

Don't hesitate to report here parts of the logs you consider relevant for your issue.

Damien Caliste ( 2018-01-31 10:18:24 +0300 )edit

Hi, redacted log added. I cannot see anything obvious.

henris42 ( 2018-02-03 19:59:13 +0300 )edit

Sorry, for the delay. I'm looking at your log and as @chris.adams mentioned, this is not the initial sync log. But anyway, it's strange nothing is visible in the calendar app. So let's try to debug this:

  • your log is fine (at least for CalDAV stuff) and shoz that there is at least 5 events in your calendar.
  • to verify the obvious, doing devel-su -p sqlite3 .local/share/system/privileged/Calendar/mkcal/db "SELECT * FROM Components WHERE Notebook = '9f7f9b20-565f-46b8-84d0-e0959d7dfb77'" should return at least five events, some with IDs like 9653E5A7-9C6A-4A01-8830-221D2ECC5386 or 005D3D22-A101-4017-8FD0-723E1FFCED2A.
  • for the returned events, check that the start date and time are correct (use date --date=@timestamp to convert timestamps to human readable date and time) and check that in the app there is no event at that day. Can you also check the status of the events (replace the * in the SQL query by status)? It is an integer that should be 0.
  • You can check also the flags of this calendar doing devel-su -p sqlite3 .local/share/system/privileged/Calendar/mkcal/db "SELECT Flags FROM Calendars WHERE Notebook = '9f7f9b20-565f-46b8-84d0-e0959d7dfb77'". The significance of the flags is in mkcal sources.
  • Finally, you can check the settings for this account, doing devel-su -p sqlite3 .config/libaccounts-glib/accounts.db "SELECT * from Settings WHERE account = 44".

If you have time, please report what you obtain when looking at this. Thank you in advance.

Damien Caliste ( 2018-02-13 00:43:32 +0300 )edit

Did you fix the sync of the calender? Do you have a workaround?

Mottel ( 2018-03-23 04:54:25 +0300 )edit

Sorry, nothing has moved because the log is not the initial one with the failure, so I've no idea what happened at the time.

If you are eager to investigate further, can you try the requests of my above comment?

Damien Caliste ( 2018-03-23 16:51:31 +0300 )edit