Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: steelsnake on April 03, 2012, 07:24:14 PM

Title: Workaround to CalDAV+OwnCloud sync issues
Post by: steelsnake on April 03, 2012, 07:24:14 PM
Everyone who's tried to get the roundcube caldav calendar plugin to work with ownclouds calendar storage probably knows already: Owncloud uses an old SabreDAV backend and the caldav calendar plugin won't download events.

Well, here's a temporary workaround.

1. Log in to your owncloud account
    * go to your calendar, click on the calendar button in the top right
    * right-click on the download link for your calendar and copy the URL
       (it'll generally look like this: http://your.server.here/apps/calendar/export.php?calid=1 - the number is the relevant part)
    * retrieve the CalDAV URL by clicking on the globe icon
       (generally in the form http://your.server.here/apps/calendar/caldav.php/calendars/[yourusername]/default%20calendar )
2. Log in to your roundcube account
    * Go to Settings->Calendar and add the CalDAV URL (with your credentials of course)
    * Set the default view to "All Calendars"
    * Go to Calendar Feeds and add the download link you got, but modify it a little:
       http://[yourusername]:[yourpassword]@your.server.here/apps/calendar/export.php?calid=1

Caveat: The feed only seems to reload when specifically forced to, clicking the replication button won't actually replicate the feed. Toggling the feed off and back on (by clicking the "Switch Feed" button) does update it. Logging out and back in also does, though that's IMO less convenient.
Title: Re: Workaround to CalDAV+OwnCloud sync issues
Post by: heinerbremer on November 13, 2012, 08:40:41 AM
hi steelsnake!

thanks for your workaround. unfortunately it doesn't work for me as it seems i can't add calendar feeds. i click on the "+" sign, add the address but when i save, the feed is deleted.

does anyone know how to setup roundcube's carddav with the latest owncloud (4.5.1) version? any help is greatly appreciated!

regards, heiner
Title: Re: Workaround to CalDAV+OwnCloud sync issues
Post by: dcrobertson01 on January 05, 2013, 04:17:54 AM
Quote from: steelsnake on April 03, 2012, 07:24:14 PM
Everyone who's tried to get the roundcube caldav calendar plugin to work with ownclouds calendar storage probably knows already: Owncloud uses an old SabreDAV backend and the caldav calendar plugin won't download events.

Hi - could you tell me which plugin you are referring to? And give me a link to it?

Because I do not get any 'Calendar Feeds' setting in the settings

Quote from: steelsnake on April 03, 2012, 07:24:14 PM
2. Log in to your roundcube account
    * Go to Settings->Calendar and add the CalDAV URL (with your credentials of course)
    * Set the default view to "All Calendars"
    * Go to Calendar Feeds and add the download link you got, but modify it a little:
       http://[yourusername]:[yourpassword]@your.server.here/apps/calendar/export.php?calid=1

I have been fiddling about with this for ages - but just do not get the option above.

Cheers,
Don