Difference between revisions of "Radicale (carddav/caldav)"

From SME Server
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
=== Version ===
 
=== Version ===
 
{{ #smeversion: smeserver-radicale }}
 
{{ #smeversion: smeserver-radicale }}
 +
[[Version::contrib9|stephdl]][[Has SME9::true| ]]
  
 
=== Description ===
 
=== Description ===
Line 17: Line 18:
  
 
=== Installation ===
 
=== Installation ===
* ONLY for sme9
+
 
 +
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install smeserver-radicale
 +
 
 +
nothing more to do on SME 10.
 +
 
 +
</tab>
 +
<tab name="For SME 9">
 
This contrib is currently held in the [[epel]] and the [[stephdl]] repository, so the following commands will install the contribs on your smeserver.
 
This contrib is currently held in the [[epel]] and the [[stephdl]] repository, so the following commands will install the contribs on your smeserver.
  
Line 30: Line 38:
  
 
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
 
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
 +
 +
</tab>
 +
</tabs>
  
 
===collections===
 
===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.
+
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 it by
+
 
  ll /home/e-smith/files/radicale/collections/
+
see them by
 +
  ls -la -R /home/e-smith/files/radicale/collections/
 +
 
 
=== database===
 
=== database===
 
  # config show radicale
 
  # config show radicale

Latest revision as of 07:35, 3 September 2022


Radicale for SME Server

Maintainer

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

Version

Contrib 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

  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