January 23rd 2018
There are different protocols and many applications available to sync a calendar (and hopefully also contacts and notes) across devices (ArchLinux desktop, Android Kitkat phone).
My requirements are: Open Source, No Google, and remote access.
A tutorial for setting up a caldav/carddav server (skip the webdav chapter) helped me to get started.
It assumes that Radicale is already installed. At first I tried to install with these instructions, but soon realised that I'm better off using the package provided by jessie-backports (the age of the tutorial corresponds to my oldstable setup), so a simple
sudo apt-get install -t jessie-backports radicale
was the way to go.
I edited the two configuration files according to the nginx SSL proxy setup outlined in the previously mentioned tutorial.
Then I created, started and enabled a systemd service according to these instructions.
radicale package comes with a sysvinit startup script, this doesn't work.
A full configuration required also editing
/etc/default/radicale to actually enable the daemon (?)
Then I restarted the nginx server to apply the new settings.
had to install
for secure bcrypt passwords:
python3 -m pip install --upgrade passlib bcrypt - had to install
Linux with systemd system-wide: Create the radicale user and group etc.