Bug 309481 - CalDAV only syncs on restart
Summary: CalDAV only syncs on restart
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 4.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 15:09 UTC by Tilman Klaeger
Modified: 2012-11-25 15:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Klaeger 2012-11-03 15:09:12 UTC
I use a GroupDAV Resource to sync Kontact / Akonadi with my ownCloud. After adding an event in ownCloud it does not show up in Kontact when refreshing the calendar. I see that a connect in the webserver access logs, but the new event is not transfered and so not also not shown in Kontact.
Restarting Akonadi or (in Akonadi Console) restarting the GroupDAV Resource helps and the event is shown.

Reproducible: Always
Comment 1 Grégory Oestreicher 2012-11-03 21:09:34 UTC
What do you see in the server access log? There should be a 401 immediately followed by a 201 HTTP status.

Also what are the OwnCloud and KDE versions you're using?

Cheers,
Grégory
Comment 2 Tilman Klaeger 2012-11-04 12:06:38 UTC
I´m using KDE 4.9.2 and Owncloud 4.5.1a, both latest stable.

The server logs look like the following, I get the 401, but followed by a 207. Nevertheless my calendar loaded nicely, but as said only on restart of the GroupDAV Agent or Akonadi restart.

- [04/Nov/2012:12:59:36 +0100] "PROPFIND /remote.php/caldav/ HTTP/1.1" 401 4187 "-" "Mozilla/5.0 (X11; Linux 3.6.5-1-ARCH) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_7/4.9.2 Safari/534.34"
tilman [04/Nov/2012:12:59:37 +0100] "PROPFIND /remote.php/caldav/ HTTP/1.1" 207 4587 "-" "Mozilla/5.0 (X11; Linux 3.6.5-1-ARCH) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_7/4.9.2 Safari/534.34"
- [04/Nov/2012:12:59:38 +0100] "PROPFIND /remote.php/caldav/principals/tilman/ HTTP/1.1" 401 4187 "-" "Mozilla/5.0 (X11; Linux 3.6.5-1-ARCH) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_7/4.9.2 Safari/534.34"
tilman [04/Nov/2012:12:59:39 +0100] "PROPFIND /remote.php/caldav/principals/tilman/ HTTP/1.1" 207 4459 "-" "Mozilla/5.0 (X11; Linux 3.6.5-1-ARCH) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_7/4.9.2 Safari/534.34"
- [04/Nov/2012:12:59:39 +0100] "PROPFIND /remote.php/caldav/calendars/tilman/ HTTP/1.1" 401 4187 "-" "Mozilla/5.0 (X11; Linux 3.6.5-1-ARCH) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_7/4.9.2 Safari/534.34"
tilman [04/Nov/2012:12:59:40 +0100] "PROPFIND /remote.php/caldav/calendars/tilman/ HTTP/1.1" 207 8507 "-" "Mozilla/5.0 (X11; Linux 3.6.5-1-ARCH) AppleWebKit/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_7/4.9.2 Safari/534.34"
Comment 3 Grégory Oestreicher 2012-11-05 17:42:24 UTC
Ah, I totally misunderstood the initial message: I thought you were creating the event from Korg, not from OwnCloud. I'll install the same version and test.

Cheers,
Grégory
Comment 4 Grégory Oestreicher 2012-11-22 21:47:03 UTC
Hi,

I've tested with 4.9.3 and OwnCloud 4.5.1 and everything's working fine without the need for a restart. If you've upgraded your KDE install can you test?

Cheers,
Grégory
Comment 5 Tilman Klaeger 2012-11-25 15:51:31 UTC
Seems to be working now with KDE 4.9.3, I can see the REPORT statements every now and then in the log files and not only on restarts.
Before only PROFIND appeared in the logs, which seems not be enough.

Thanks a lot for your efforts!