Baikal, CardDAV, CalDAV and Raspberry Pi

… so I gave it another try, and Baikal runs quite well, much better than radicale. The only drawback is that you can’t share calendars in the sense, that you cannot give read-only access of your calendar to another user. So basically that means that my wife and I have each one calendar, have them each added both on our cellphones in DAVDroid and have full access on each others calendar. Which is ok. Hope she won’t mess with my appointments 🙂

Again, my setup is: Raspberry runs local in my home-network, hence not much security, no SSL or other shenanigans.

Here in short the installation:

Install Lighttpd, php5, sqlite:

sudo apt-get install lighttpd
sudo apt-get install php5-common php5-cgi php5
sudo apt-get -y install sqlite3
sudo apt-get install php5-sqlite
sudo lighttpd-enable-mod fastcgi fastcgi-php

Download Baikal:

sudo -i
cd /var/www
cd baikal
touch Specific/ENABLE_INSTALL
cd Specific
mkdir db

Set rights for www-directory:

chown -R www-data:www-data /var/www/baikal
cd /etc/lighttpd/
vim lighttpd.conf

set root folder for www in config-file:

server.document-root = "/var/www"
sudo service lighttpd force-reload

Point your browser to


create admin, create (at least one new user)
For the USERNAME-field I recommend not to take an email address, since the
resulting URL for the calendar will be simpler

Now for DAVDroid:
Create new account, user „Use URL and username“. The URL is:


For login, the username is the chosen USERNAME-field and password.

DAVDroid will scan and find the resulting addressbok. After enabling, giving rights to
DAVDroid and syncing, the calendar will show up in the Android calendar app. Same for the Android Contacts app.

For Thunderbird, install Lightning, and use the same URL as above. When questioned for the login, user same data as above.

To sync contacts in Thunderbird, install the SoGo Connector addon from here:

Tools -> Adressbook
Then File-> New -> Remote Adressbook. URL is


username and password for login as above.


Happy syncing. If you would like to create backups (e.g. via cronjob), the database is in



Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

Du kommentierst mit Deinem Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s

%d Bloggern gefällt das: