Reply to topic

Kontact and Card-/CalDAV with SabreDAV

User avatar timdrub
Registered Member
Posts
7
Karma
0
OS
Hi,

coming from a Windows environment I just recently began using OpenSuse 12.3 with KDE. I really like KDE a lot and I want to use Kontact as my primary PIM.

I run my own server that I am trying to keep as simple as possible and that is one reason why I decided to use SabreDAV as my Cal-/CardDAV server as it does not require a database but its all plain PHP and files.

My SabreDav setup works just fine with all my iOS, Android, and Meego (through snyc-evolution) devices and also Thunderbid is working with Lightning and theSogo-plugins. So I assume my SabreDAV installation is working alright.

So I read that Akonadi supports Cal-/CardDAV natively and I managed to setup accounts without too much hassle although there is not much feedback from the GUI if there is anything happening in the background. So originally I thought it doesn't work at all but then I found out, that it is only a one-way sync going outwards to the server. But there is nothing synced into Kontact from the server. This is true for the address book as well as for the calendar.

As I am quite new I do not really know where to look at (logs, etc.) Anyone can give me a hint? Or maybe SabreDAV is not supported. Kontact is not shown as suported clients for SabreDAV on the website and the SabreDAV devs do not think the best of the KDE WebDAV implementation.

But I really want to get this to fly so any help is highly appreciated.
Thanks.

Regards
Tim
User avatar einar
Administrator
Posts
2279
Karma
5
OS
The SabreDAV information is likely outdated, since it goes to 4.4 days. There's a new implementation, which is the one you're using.
To see whether there are issues, let's start with the simplest check: have a look at ~/.xsession-errors and see if there's anything related to DAV there.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar timdrub
Registered Member
Posts
7
Karma
0
OS
Hi einar,

not that much really. All I can find is this
Code: Select all
akonadi_davgroupware_resource_19(2291): Can't find a configured URL, collection.remoteId() is  "akonadi_davgroupware_resource_19"

I also found out that as long as I create the object in Kontact and do not touch it form another system changes i make in Kontact are still synced to the server. As soon as I edit it form another device Kontact loses the binding to the object and changes are not uploaded nor downloaded anymore.

Looking at the server (lighttpd) access.log I see CardDAV Method "REPORT" (RFC 6352)returning HTTP status code 501. My iOS CardDav client never uses the REPORT method.
Code: Select all
<Source IP> <server> - [19/Apr/2013:21:42:43 +0200] "REPORT /addressbooks/timdrub/default/ HTTP/1.1" 501 357 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_19/4.10.0 Safari/534.34"

Probably should check with the SabreDAV guys if this method is supported, huh?

UPDATE:
Nope, iOS does use the REPORT METHOD but it gets a 207 status back:
Code: Select all
<Source IP> <host> [19/Apr/2013:21:20:37 +0200] "REPORT /addressbooks/timdrub/default/ HTTP/1.1" 207 636 "-" "iOS/6.1.3 (10B329) dataaccessd/1.0"



Tim
User avatar einar
Administrator
Posts
2279
Karma
5
OS
Thanks for providing information. Please post a bug to bugs.kde.org and provide the same information there.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar timdrub
Registered Member
Posts
7
Karma
0
OS
User avatar timdrub
Registered Member
Posts
7
Karma
0
OS
FYI

Issue solved. lighttpd 1.4.30 and later contains a fix. See link to bugs.kde.org for the details.

Regards
Tim
User avatar einar
Administrator
Posts
2279
Karma
5
OS
Thanks for the update. Please mark this topic as solved in case the issue is completely gone. Thanks!


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Dimitrios, drnn1076, Exabot [Bot], Google [Bot], google01103, Hans, Horus, koriun, Majestic-12 [Bot], pbCyanide, pedrorodriguez, random_fan, scummos, SeaJey, Sogatori, Sogou [Bot], TheraHedwig, vascobasque, whatthefunk, Yahoo [Bot], yurchor, z-uo