Starting the Client
Lightning
After starting Lightning, click on File
and New Calendar
. Upcoming window asks you about your calendar storage. Chose a calendar On the Network
, otherwise Lightning will use its own file system storage instead of Radicale's one and your calendar won't be remotely accessible.
Next window asks you to provide information about remote calendar access. Protocol used by Radicale is CalDAV
. A standard location for a basic use of a Radicale calendar is http://localhost:5232/user/calendar.ics/
, where you can replace user
and calendar.ics
by some strings of your choice. Calendars are automatically created if needed. Please note that the trailing slash is important.
You can now customize your calendar by giving it a nickname and a color. This is only used by Lightning to identify calendars among others.
If no warning sign appears next to the calendar name, you can now add events and tasks to your calendar. All events and tasks are stored in the server, they can be accessed and modified from multiple clients by multiple users at the same time.
Lightning and Thunderbird cannot access CardDAV servers yet. Also, as of version 17.0.5 the SOGo Connector addon is not fully functionally and will create extra address book entries with every sync.
Evolution
####### Calendars
First of all, show the calendar page in Evolution by clicking on the calendar icon at the bottom of the side pane. Then add a new calendar by choosing in the menu File → New → Calendar
.
A new window opens. The calendar type
is CalDAV
, and the location is something like http://localhost:5232/user/calendar.ics/
, where you can replace user
and calendar
by some strings of your choice. Calendars are automatically created if needed. Please note that the trailing slash is important.
You can fill other attributes like the color and the name, these are only used for Evolution and are not uploaded.
Click on OK
, and your calendar should be ready for use.
####### Contacts
Switch to the contacts page and click File → New → Adress book
. In the new window choose WebDAV
as type
and something like http://localhost:5232/user/addressbook.vcf/
as location. Remember to enter the correct username.
KOrganizer
####### Calendars
Tested with 4.8.3, you need one running on Akonadi for Cal/CarDav support.
The procedure below can also be done trough the sidebar "Calendar Manager". But to ensure it works for everyone this examples uses the menu-bar.
- Click
Settings → Configure KOrganizer
.
- Click on
General → Calendars
.
- Click on
Add
.
- Choose
DAV groupware resource
(and click OK
).
- Enter your username/passord (and click on
Next
).
- Select
Configure the resource manually
(and click on Finish
).
- Fill in a Display name.
- Fill in your Username and Password.
- Click
Add
.
- Choose
CalDav
.
- For remote URL enter
http://myserver:5232/Username/Calendar.ics/
- Click
Fetch
.
- Select desired calendar.
- Hit
OK
.
- Hit
OK
again.
- Close the Configuration Window (Click
OK
).
- Restart Korganizer for the calendar to appear in the "Calendar Manager" sidebar (at least with version 4.8.3.)
Note
After you created a calender in a collection you can also use http://myserver:5232/Username/
as an URL This will then list all available calendars.
####### Contacts
You can add a address book analogously to the above instructions, just choose CardDav and http://myserver:5232/Username/AddressBook.vcf/
in step 10 and 11. Also, if you already have a calendar set up you can add an address book to its "DAV groupware resource" under Configure-Kontact → Calendar → General → Calendars → Modify. This way you don't have to enter username and password twice.
CalendarSync
CalendarSync can be combined with any Android calendar app and can even store the calendars in existing Android calendars which are synced by other sync adapters. Of course it can also create its own calendars.
So, to sync using CalendarSync you will have to:
- start the app,
- press the
Menu
button,
- select
Create WebiCal
,
- choose to start with a guided configuration.
Then enter your URL, Username and Password. As URL please use http(s)://server:port/username/
.
If you can use HTTPS depends on your setup. Please replace username
with the name of your user account.
Press test connection button. If everything signaled as OK then press search calendars button, select the calendars which you want to sync, and press the configure calendar button at the top of the display. Your calendars are now configured.
You can then start the first sync by going back to the main screen of the app an pressing the Process Webicals
button. Of course you can also configure the app at its preferences to sync automatically.
CalDAV-Sync
CalDAV-Sync is implemented as sync adapter to integrate seamlessly with any calendar app and widget. Therefore you have to access it via Accounts & Sync
settings after installing it from the Market.
So, to add new calendars to your phone open Accounts & Sync
settings and tap on Add account
, selecting CalDAV as type. In the next view, you have to switch to Manual Mode. Enter the full CalDAV URL of your Radicale account (e.g. http://example.com:5232/Username/
) and corresponding login data. If you want to create a new calendar you have to specify its full URL e.g. http://example.com:5232/Username/Calendar.ics/
. Please note that the trailing slash is important.
Tap on Next
and the app checks for all available calendars on your account, listing them in the next view. (Note: CalDAV-Sync will not only check under the url you entered but also under http://example.com:5232/UsernameYouEnteredForLogin/
. This might cause strange errors.) You can now select calendars you want to sync and set a local nickname and color for each. Hitting Next
again brings up the last page. Enter your email address and uncheck Sync from server to phone only
if you want to use two-way-sync.
Note
CalDAV-Sync officially is in alpha state and two-way-sync is marked as an experimental feature. Though it works fine for me, using two-way-sync is on your own risk!
Tap on Finish
and you're done. You're now able to use the new calendars in the same way you were using Google calendars before.
CardDAV-Sync
Set up works like CalDAV-Sync, just use .vcf instead of .ics if you enter the URL, e.g. http://example.com:5232/Username/AddressBook.vcf/
.
DAVdroid
DAVdroid is a free and open-source CalDAV/CardDAV client that is available in Play Store for a small fee or in FDroid for free.
To make it working with Radicale, just add a new DAVdroid account and enter https://example.com/radicale/user/
as base URL (assuming that your Radicale runs at https://example.com/radicale/
; don't forget to set base_prefix correctly).
aCal
aCal is a CalDAV client for Android. It comes with its own calendar application and does not integrate in the Android calendar. It is a "CalDAV only" calendar, i.e. it only works in combination with a CalDAV server. It can connect to several calendars on the server and will display them all in one calendar. It works nice with Radicale.
To configure aCal, start aCal, go to the Settings
screen, select Server
, then Add server
. Choose Manual Configuration
and select Advanced
(bottom of the screen). Then enter the host name of your server, check Active
, enter your user name and password. The Simple Domain
of your server is the domain part of your fully qualified host name (e.g. if your server is myserver.mydomain.org
, choose mydomain.org
).
As Simple Path
you need to specify /<user>
where user is the user you use to connect to Radicale. Server Name
is the fully qualified name of your server machine (myserver.mydomain.org
). The Server Path
is /<user>/
.
For Authentication Type
you need to specify the method you chose for Radicale. Check Use SSL
if your Radicale is configured to use SSL.
As the last thing you need to specify the port Radicale listens to. When your server is configured you can go back to the first Settings
screen, and select Calendars and Addressbooks
. You should find all the calendars that are available to your user on the Radicale server. You can then configure each of them (display colour, notifications, etc.).
InfCloud, CalDavZAP & CardDavMATE
Because settings are the same for InfCloud
, CalDavZAP
and CardDavMATE
only InfCloud is used in description below.
####### Radicale configuration
Add/Modify the following section in Radicale main configuration file:
# Additional HTTP headers
[headers]
Access-Control-Allow-Origin = *
Access-Control-Allow-Methods = GET, POST, OPTIONS, PROPFIND, PROPPATCH, REPORT, PUT, MOVE, DELETE, LOCK, UNLOCK
Access-Control-Allow-Headers = Authorization, Content-type, Depth, Destination, If-match, If-None-Match, Lock-Token, Overwrite, Prefer, Timeout, User-Agent, X-Client, X-Requested-With
Access-Control-Expose-Headers = Etag
InfCloud
needs read access for everybody
(including anonymous users) on Radicale's root directory. If using Radicales rights management add the following section to rights file:
# Allow caldavzap, carddavmate and infcloud to work
[infcloud]
user: .*
collection: /
permission: r
Additional you need to change [owner-write]
section to use the same syntax for collection as shown in [public]
section.
# Give write access to owners
[owner-write]
user: .+
# collection: ^%(login)s/.+$ # DOES NOT WORK
collection: ^%(login)s(/.+)?$
permission: rw
####### InfCloud configuration
Inside InfCloud
configuration file config.js
you need to set globalNetworkCheckSettings
like following example:
// href:
// put in here your protocol, host and port where Radicale is listening
// additionalResources:
// put in here a comma separated list of collections you want additionally look at.
// Don't forget '' around each collections name
var globalNetworkCheckSettings={
href: 'https://host.example.com:5232/',
hrefLabel: null,
crossDomain: null,
additionalResources: ['public'],
forceReadOnly: null,
withCredentials: false,
showHeader: true,
settingsAccount: true,
syncInterval: 60000,
timeOut: 30000,
lockTimeOut: 10000,
delegation: false,
ignoreAlarms: false,
backgroundCalendars: []
}
Note
InfCloud
, CardDavMATE
and CalDavZAP
cannot create calendars and/or address books. They need to be created before first login. Each user needs to have minimum of one calendar and/or one adressbook even if only using shared addresses and/or calendars. Client will not login, if the user collections don't exists.
You can easily create them by directly calling the URL's from your browser:
http(s)://host.example.com:5232/user/calendar.ics/
http(s)://host.example.com:5232/user/addresses.vcf/
Replace "http(s)" with the correct protocol, "host.example.com:5232" with you host:port where Radicale is running,
"user" with the correct login name or the shared resource name i.e. 'public',
"calendar.ics" and "addresses.vcf" with the collection names you want to use
and do NOT forget the '/' at line end.
Note
If using self-signed certificates you need to do the following steps before using InfCloud, CardDavMATE
or CalDavZAP
.
With your browser call one of the above URLs.
Your browser warn you that you are trying to access an Insecure
site.
Download and accept the certificate offered by the Radicale server.
After installing and accepting it you should restart your browser.
iPhone & iPad
####### Calendars
For iOS devices, the setup is fairly straightforward but there are a few settings that are critical for proper operation.
- From the Home screen, open
Settings
- Select
Mail, Contacts, Calendars
- Select
Add Account…
→ Other
→ Add CalDAV Account
- Enter the server URL here, including
https
, the port, and the user/calendar path, ex: https://myserver.domain.com:3000/bob/birthdays.ics/
(please note that the trailing slash is important)
- Enter your username and password as defined in your server config
- Enter a good description of the calendar in the
Description
field. Otherwise it will put the whole servername in the field.
- Now go back to the
Mail, Contacts, Calendars
screen and scroll down to the Calendars
section. You must change the Sync
option to sync All events
otherwise new events won't show up on your iOS devices!
Note
Everything should be working now so test creating events and make sure they stay created. If you create events on your iOS device and they disappear after the fetch period, you probably forgot to change the sync setting in step 7. Likewise, if you create events on another device and they don't appear on your iPad of iPhone, then make sure your sync settings are correct
Warning
In iOS 5.x, please check twice that the Sync all entries
option is activated, otherwise some events may not be shown in your calendar.
####### Contacts
In Contacts on iOS 6:
- From the Home screen, open
Settings
- Select
Mail, Contacts, Calendars
- Select
Add Account…
→ Other
→ Add CardDAV Account
- As
Server
use the Radicale server URL with port, for example localhost:5232
- Add any
User name
you like (if you didn't configure authentication)
- Add any
Password
you like (again, if you didn't configure authentication)
- Change the
Description
to something more readable (optional)
- Tap
Next
- An alert showing
Cannot Connect Using SSL
will pop up as we haven't configured SSL yet, Continue
for now
- Back on the
Mail, Contacts, Calendars
screen you scroll to the Contacts
section, select the Radicale server as Default Account
when you want to save new contacts to the Radicale server
- Exit to the Home screen and open
Contacts
, tap Groups
, you should see the Radicale server
Note
You'll need version 0.8.1 or up for this to work. Earlier versions will forget your new settings after a reboot.
OS X
Note
This description assumes you do not have any authentication or encryption configured. If you want to use iCal with authentication or encryption, you just have to fill in the corresponding fields in your calendar's configuration.
####### Calendars
In iCal 4.0 or iCal 5.0:
- Open the
Preferences
dialog and select the Accounts
tab
- Click the
+
button at the lower left to open the account creation wizard
- As
Account type
select CalDAV
- Select any
User name
you like
- The
Password
field can be left empty (we did not configure authentication)
- As
Server address
use domain:port
, for example localhost:5232
(this would be the case if you start an unconfigured Radicale on your local machine)
Click Create
. The wizard will now tell you, that no encryption is in place (Unsecured Connection
). This is expected and will change if you configure Radicale to use SSL. Click Continue
.
Warning
In iCal 5.x, please check twice that the Sync all entries
option is activated, otherwise some events may not be shown in your calendar.
The wizard will close, leaving you in the Account
tab again. The account is now set-up. You can close the Preferences
window.
Important
To add a calendar to your shiny new account you have to go to the menu and select File → New Calendar → <your shiny new account>
. A new calendar appears in the left panel waiting for you to enter a name.
This is needed because the behaviour of the big +
button in the main window is confusing as you can't focus an empty account and iCal will just add a calendar to another account.
####### Contacts
In Contacts 7 (previously known as AddressBook):
- Open the
Preferences
dialog and select the Accounts
tab.
- Click the
+
button at the lower left to open the account creation wizard.
- As
Account type
select CardDAV
.
- Add any
User name
you like.
- The
Password
field can be left empty (if we didn't configure authentication).
- As
Server address
use domain:port
, for example localhost:5232
(this would be the case if you start an unconfigured Radicale server on your local machine).
- Click
Create
. Contacts will complain about an Unsecured Connection
if you don't have SSL enabled. Click Create
again.
- You might want to change the
Description
of the newly added account to something more readable. (optional)
- Switch to the
General
tab in the preferences and select the Radicale server as Default Account
at the bottom of the screen. It probably shows up as `domain:port
or the name you choose if you changed the description. Newly added contacts are added to the default account and by default this will be the local On My Mac
account.
Note
You'll need version 0.8.1 or up for this to work. Earlier versions can read CardDAV contacts but can't add new contacts.
Nokia / Microsoft Windows Phones
- Go to "Settings" > "email+accounts"
- Click "add an account" > "iCloud"
- Enter random email address (e.g. "foo@bar" and "qwerty") > "sign in"
- A new account "iCloud" with the given email address appears on the list. The status is "Not up to date". Click the account.
- An error message is given. Click "close".
- Enter new and "real" values to the account setting fields:
- "Account name": This name appears on the calendar etc. Examples: "Home", "Word", "Sauna reservation"
- "Email address": Not used
- "Sync contacts and calendar": Select the sync interval
- "Content to sync": Uncheck "Contacts", check "Calendar"
- "Your name": Not used
- "Username": Username to your Radicale server
- "Password": Password to your Radicale server
- Click "advanced settings"
- "Calendar server (CalDAV)": Enter the full path to the calendar .ics file. Don't forget the trailing slash. Example:
https://my.server.fi:5232/myusername/calendarname.ics/
Don't forget to add your CA to the phone if you're using a self-signed certificate on your Radicale. Make the CA downloadable to Internet Explorer. The correct certificate format is X509 (with .cer file extension).