6.0.0-git
2024-04-25
Last Modified 2011-11-23 by Guest

Ical HowTo using Sunbird or Thunderbird/Lightning

Note: This is not an official Horde document. There is no write support in Horde 3.1/Kronolith 2.1


This document is intended to help administrators configure various parts of horde to link a calendar application with Kronolith. Please feel free to fill in any gaps or to clarify any existing information presented here.


Document Standards

In this document, we assume the following:

  • The latest stable version of Horde and Kronolith.
  • A working version of Horde and Kronolith.
  • A working version of Sunbird or Thunderbird/Lightning extension.

On debian

  • Install php pear package as follow:

apt-get install php4-pear

You can also use php5 package.

HTTP_WebDAV_Server

Then to make sure pear is working:

pear config-show

You now need to install the pear HTTP_WebDAV_Server package

pear install HTTP_WebDAV_Server-beta

  • Adjust your apache config if necessary.

We found that Sunbird was taking roughly 20 seconds to download the ics file over webdav and that even downloading the file in a browser had the same lag. On investigation it turned out Kronolith was taking about 3 seconds to generate the file and Sunbird was waiting 15 seconds for the connection to close after downloading the file. Turning off KeepAlive in apache.conf (or setting it to a very small value) solved this issue. The default is 15 seconds.

Test it

Launch your Sunbird or Lightning application.

  • Go to calendar
  • New ->
  • On the Network -> iCalendar

https://yourhost/yourhordepath/rpc.php/kronolith/YOUR-HORDE-USERNAME.ics

15/05/08: Starting with Horde Webmail 1.1 RC4, and as pointed out in that thread, this URL has to be changed like below:
https://yourhost/yourhordepath/rpc.php/kronolith/YOUR-HORDE-USERNAME/YOUR-HORDE-USERNAME.ics

It should ask you for user and password.

Then you should see you calendar and be able to edit events in both Sunbird/Lightning and Kronolith.

I can read my calendar perfectly but not publish. My apache returns a 404 or 403.

Then it should work according to this:
http://lists.horde.org/archives/kronolith/Week-of-Mon-20060130/005859.html

Check also, whether the Apache config allows the PUT method. You should have something similar to

        <Directory /home/www/cal>
          <LimitExcept GET POST OPTIONS PROPFIND PUT>
            Order deny,allow
            deny from all
          </LimitExcept>
        </Directory> 

where /home/www/cal would be the directory under which horde is installed, in your Apache config.

26/03/08: With Lightning v0.7 and Horde Webmail 1.1RC3, reading and publishing works correctly with a remote calendar as described on this page.

This does work very nicely with sunbird 0.7 and kronolith 2.2, you must select ical (not webdav) but you do get two way editing.

2011-11-23: Using SME Server 8b6, with smeserver-kronolith and kronolith-h3 installed (kronolith v2.3), and the pear additions from above, works fine with Thunderbird 8.0 and Lightning 1.0 -- paul dot warren at wollemisystems dot com