Archive

Posts Tagged ‘caldav’

Calendar Server

June 14th, 2011 6 comments

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
./run

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: , , ,