Radicale (carddav/caldav)

From SME Server
Jump to navigationJump to search







radicale (carddav
Radicale-logo.png
radicale (carddav logo
MaintainerStephdl
Urlhttp://radicale.org/
Source: smeserver-radicale (carddav
LicenceGPLv3
Tags CalDAV CardDAV



Radicale for SME Server

Maintainer

stephdl Stéphane de Labrusse AKA Stephdl
kudo to JM LE CORGUILLE, for the idea and the code.

Version

smecontribs-testing 11:
smecontribs 10:
smeserver-radicale
The latest version of smeserver-radicale is available in the SME repository, click on the version number(s) for more information.


stephdl

Description

This contribution for smeserver adds a caldav and a carddav server, the collection is located at /home/e-smith/files/radicale.

Radicale is a caldav/carddav server written in python, smeserver-radicale use pip to install and upgrade it. http://radicale.org/

Requirements

You need to enable the epel and the stephdl repositories.

Installation

yum --enablerepo=smecontribs install smeserver-radicale

nothing more to do on SME 10.

This contrib is currently held in the epel and the stephdl repository, so the following commands will install the contribs on your smeserver.

yum --enablerepo=epel,stephdl install smeserver-radicale

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event radicale-update

or a much more long event

signal-event console-save

Each time you launch this event and 'console-save' you will upgrade radicale and renew the ssl certificate if it is removed of /home/e-smith/files/radicale

Collections

For each user saved in the server-manager you will find a collections that it will own in /home/e-smith/files/radicale/collections. The folder is created at the first login and store all the carddav and caldav entries in two files (calendar.ics & addressbook.vcf).

see them by

ls -la -R /home/e-smith/files/radicale/collections/

Database

# config show radicale
radicale=service
   TCPPort=5232
   access=public
   debug=False   #or True for debugging purpose (logs are in /var/log/radicale/radicale.log)
   status=enabled

after a change, do

signal-event radicale-update

Radicale Client Configuration

Important.png Note:
Keep in mind that there is no frontend, you must use a caldav or a carddav client.


The URL for accessing the radicale server is:

https://<server_domain_name>:5232/USER/calendar.ics
https://<server_domain_name>:5232/USER/addressbook.vcf

Where USER is the sme login for this user. You have no frontend, just a server, you can use lightning for caldav with thunderbird and the plugin sogo-connector for carddav.

Uninstall

yum remove smeserver-radicale

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-radicale component or use this link


IDProductVersionStatusSummary (3 tasks)
12169SME Contribs10.0CONFIRMEDmake cert and key sync with LE when available
12168SME Contribs10.0CONFIRMEDif public make it listen on 0.0.0.0
12140SME Contribs10.0CONFIRMEDupgrade radicale to v3

Changelog

Only versions released in smecontrib are listed here.

smeserver-radicale Changelog: SME 10 (smecontribs)
2022/09/08 Jean-Philippe Pialasse 0.0.3-5.sme
- fix post scriptlet failing [SME: 12167]

2022/08/04 Jean-Philippe Pialasse 0.0.3-4.sme
- import to SME10

- python 3.6
2015/10/18 stephane de labrusse 0.0.3-3
- change path and permissions to collections
2015/10/17 stephane de labrusse 0.0.3-2
- /etc/rc.d/init.d/masq & /etc/services are expanding on radicale-update

2015/10/04 stephane de labrusse 0.0.3-1
- specific ssl certificate is used
- the user/group radicale run the init script

- hosts.allow is used now