Home > management, software > Calendar Server

Calendar Server

Some things just don’t work very well. For me this has been keeping track of all my addresses, and meetings, and events in one single place but being able to access them on all my machines (macbook, ubuntu, my crapy nokia N7mini and so on).
I’ve been struggling with this issue for years [sic] and after moving from funambol(SyncML) to google calendar (CalDAV’ish) i am now trying something new – http://trac.calendarserver.org/. That is basically the open source version of apple’s ical-server which supports the CalDAV protocol (Calendar over WebDAV) and CardDAV (addresses). This is what I had to do to get it working:

vim /etc/fstab
    # add the "user_xattr" option to root
    # / ... errors=remount-ro,user_xattr ...
sudo apt-get build-dep postgresql
sudo apt-get install python-setuptools python-xattr python-twisted subversion curl libsasl2-dev libsqlite3-dev
mkdir CalDAV
cd CalDAV
svn co http://svn.macosforge.org/repository/calendarserver/CalendarServer/trunk CalendarServer
cd CalendarServer
./run -s

Fingers crossed that everything compiles as expected. Say yes to copying the test configuration if asked. The test definition can be found in ./conf/caldavd-dev.plist and the user definition in ./conf/auth/accounts-test.xml. A user named admin with the passwort admin is already included. Now you can point your iCal, Safari, Firefox or simillar to port 8443 of your system to test the server. The run script features a -d for the deamon mode and an -i for installation as a real system service that can be enabled at boot time. It might be a godd idea to start the server in a screen session and then run the ./testserver and the ./test script in another one to check if everything works as expected. In my case a few tests failed, so i will update the svn export from time to time to see if this got fixed. As I do want to run this as a service and to keep a snapshot of this working version I did a self sustained installation with

./run -b /dst/dir

I still have to create a configuration that fits my needs but regarding the features this application provides i’m in cheerful spirits 😉

Categories: management, software Tags: , , ,
  1. niki
    June 17th, 2011 at 00:01 | #1

    a friend of mine told me that you need special mount options on the root device of the installed system. is that true?

  2. June 17th, 2011 at 00:11 | #2

    kind of.
    You will need the extended attributes “user_xattr” being set. If you have an ext3/ext4 this is easily done with the flag “user_xattr” in your /etc/fstab and a remount of your / file-system (mount / -o remount)

  3. Hermann
    June 26th, 2011 at 14:52 | #3

    Y u no use “sudo apt-get install calendarserver”?

  4. June 27th, 2011 at 01:31 | #4

    nope – i wanted to test the new address-book feature which is afaik not part of the versions available via the official sources

  5. July 6th, 2011 at 13:57 | #5

    Hast du schonmal mit Shared-Addressbooks oder Shared-Calendars rumgespielt?

  6. August 19th, 2014 at 06:14 | #6

    Nice answer back in return of this question with solid arguments and telling all about that.

  1. No trackbacks yet.