Why I’m moving from Baikal to Radicale (CalDav & CardDav)

Saber/Dav which is a core component of Baikal is looking for maintainer (full story here)

It’s been some time now that I moved from Google Calendar service to self-hosted, open source solution.

I never notice any down sides with accessibility – maybe my need were simple enough 🙂

 

I’m not saying that Baikal is dead, if your are interested in Baikal fell free to lookup those posts (installation, updating)

 

As for me I started noticing one minor issue I had with Baikal, that is complicated calendar sharing setup – it IS possible to share calendars but its more complicated than it should be, it was announce that sharing will be added later after big code rewrite and I waited (because I wouldn’t even be able to contribute to php7.0+silex anyway), but here I found new solution… Radicale, it also don’t support sharing calendars via web-panel, but for me it got one BIG advanted in sharing zone, user rights, and with one little ACL list I was able to share whatever I wanted.

None of both solution support migration tools for this process so It was a bit of pain (as for now I wasn’t able to find too that would migrate my ‘Tasks’ from calendar, but I never used it as much and migration was done by hand with me clicking 2 buttons on each of 20 tasks I had left)

 

If you are interested, here are links related to process of installing, configure and migrate data from one solution to other:

  • Links coming soon
Facebooktwittergoogle_plusreddit

Baikal – Updating

Updating Baikal looks the same as almost all web-application.

We need to download newest package from GitHuba

We need to make backup of baikal old folder, especially we need this folder:

 

Now we can make this in two ways: first is that we overwrite entire baikal folder with new version without ‘Specific’ folder, or we can make clean install to empty folder and copy our ‘Specific’ folder from backup.

After that was done you need to finish upgrade process with login in baikal admin panel and click button that will execute database upgrade.

Facebooktwittergoogle_plusreddit

Baikal – own calendar with ToDo list (CalDav) and address book (CardDav)

Using own CalDav and CardDav server can help you with creating private platform to synchronize event and contacts between multiply devices and other services like webmails.

First let us download latest baikal version from http://baikal-server.com/  to /var/www/dav.example.com

Next extract it

Move files to destination ex. /var/www/dav.example.com

Create vhost config file for Apache

or you could use more advance config file that use SSL (razem z Let’sEncrypt) + php5_fastcgi :

Now we enable required apache modules and restart it:

Let us change files ownership (depending on what user runs Apache default would be ex. www-data):

Create file so baikal will enable installation panel:

Depending which vhost file we use we enter baikal via web browser

On first page setup everything the way you like, and on the next one you will be able to configure database backend, so you can pick sqlite or mysql/mariadb.

 

So now we go up and running dav platform for you private data.

 

Updating:

Even if you use latest version from page, I would suggest update it to newest one from git page

For example currently the newest on git is 0.4.2 baikal version.

It is recommended to make backup of your database if you started already to use baikal.

Download newest baikal to same directory where you install the 0.2.7 version:

Extract it

Change ownership for extracted baikal and move every file outside excluding  ‘Specific‘ folder.

Enter administration panel ex. dav.example.com and you will see warning like this:

After login in baikal will update the database and you will be ready to use it once again.

 

Difference between 0.2.x and 0.4.x is in URL we tend to use card.php and cal.php are now  dav.php, and both still works but are deprecated so eventually they will stop working. I recommended to use dav.php.

Good practice would also be adding DNS record:

This way autodiscover function when setting up account on your device will find your proper configuration faster.

 

Example use:

Thunderbird:

 

Thunderbird + Cardbook

Add address book > Remote

 

Android + DavDroid:

 

Facebooktwittergoogle_plusreddit