topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 6:22 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: True shared updatable calendar access for all, and (almost) free  (Read 20049 times)

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
When I first looked into setting this up, I was fairly confident that I would quite easily find a way to create a simple shared calendar and todo list for my company. After all, it’s such a basic requirement.

But it did not take long to find that it’s actually quite a messy business. For a start, we have a very open IT policy. All our staff are pretty IT savvy and they can install and use anything that they feel is best for them as long as it's licensed correctly. Consequently we have a mix of Thunderbird and Outlook clients. This kind of ruled out Exchange as an option, although there are Thunderbird plug-ins to allow connection.

Failed / Rejected:
  • BackPack from 37 Signals – this web-based calendar has two massive drawbacks.

1)   You cannot add, update or delete events from within your client. You have to connect to their website.
2)   When you do add an event, it can take literally hours to be propagated to your desktop calendars. Are they kidding?

  • SabreDAV – never could get this going at all.

  • ownCloud – almost worked. I could add events to the online calendar, but I could NOT get Thunderbird to sync. A lot of people seemed to have the same issue.

  • Google Calendar –it’s just me, I don’t like Google’s services. I don’t like clouds either. For several reasons, our data needs to be on a server that we control.

But anyway, eventually I came across Radicale – a very lightweight CalDAV server written in Python.  Installation was extraordinarily simple, and it just works! Right away!

And here’s how…

First, gather your software:
•   Radicale (http://radicale.org/)
•   Python (http://www.python.org/getit/)
•   A web server (we use IIS)
•   XYNTService (hard to find – contact me if you need a version)

What to do:
The following steps are the ones I had to take to get a Windows server up and running. I would expect a Linux system to be comparable or perhaps even easier, since you will not need XYNTService at all.

1.   Install Python (if you’re on Linux, you can skip this step). I used the msi installer and it took just a few moments to get all set up automatically.

2.   Install Radicale. This is even easier. Create a folder, and then download and unzip the archive into it. We’re using 0.6.4.

3.   At this point, I recommend testing it from the command line. Open a command prompt, cd to the Radicale server and type
Code: Text [Select]
  1. C:\Radicale> python radicale.py

All being well, Radicale will start up, and open port 5232. You may of course need to configure your firewall to allow this port to be used.

Using your mail client (I used Thunderbird for my testing and it does seem to be the easiest way) you can create a new calendar on your server:

New.JPGTrue shared updatable calendar access for all, and (almost) free

Make sure you say it's on the network:
NetworkCal.JPGTrue shared updatable calendar access for all, and (almost) free

And it's connecting to a CalDAV server:
setup.JPGTrue shared updatable calendar access for all, and (almost) free

The address to use is as follows:
Code: Text [Select]
  1. http://<your server>:5232/<yourname>/calendar

If everything goes according to plan, you will see Thunderbird sync, and on the server side, you should see a new calendar file appear. You can find this in your user folder. In my case it’s

Code: Text [Select]
  1. C:\Documents and Settings\Tim\.config\radicale\calendars


since we still use Windows Server 2003 for this stuff.

4.   If everything is working well, there’s only one thing left to do, which is to get the Radicale script to run permanently. If you’re on a Linux or Unix server this is easy since you guys have nohup.

For Windows, it’s only one step more work. Unzip your XYNTService files into the same folder as your Radicale script, and edit the XYNTService.ini file.

This is mine:
Code: Text [Select]
  1. [Settings]
  2. ServiceName=CalDAV
  3. CheckProcessSeconds=30
  4. [Process0]
  5. CommandLine="c:\python32\python c:\radicale\radicale.py"
  6. WorkingDir="c:\radicale"
  7. UserInterface=Yes
  8. Restart=Yes
  9. PauseStart=1000
  10. PauseEnd=9000

You’ll need to specify your own path names in lines 5 and 6, depending on where you installed Python and Radicale.

Then install the service by using the command
Code: Text [Select]
  1. c:> XYNTService –i

Finally, fire up the services control panel, and start your new service.  Open up the Task Manager and make sure you can see ‘python.exe’ running.  If so,  you’re all done!

Further reading:
I recommend you take a look at the Radicale documentation (http://radicale.org/user_documentation/) especially if you would like to make any changes to the basic configuration. There’s also some good information in there about private and public calendars.

Clients supported (and there are probably more)
•   Evolution
•   Mozilla Calendar (Mozilla Lightning & Mozilla Sunbird)
•   Postbox Postbox and its Postbox Lightning add-on, working very well. (It's paid)
•   Mulberry
•   Chandler
•   Cadaver
•   Kontact / Akonadi / KOrganizer
•   iCal version 3.0.1 onward from OS 10.5
•   SOHO Organizer
•   Outlook via iCal4OL
•   RemoteCalendar for iPhone
•   iPhone and iPad fully working.
•   CalDAV support for Android
•   eTask (Task app for iPhone)

Why I said (almost) Free:

I switched to Outlook from Thunderbird quite a while ago, and as usual we Outlook users have to pay for everything. Outlook cannot sync with a CalDAV server without some 3rd party help. Fortunately there is a remarkable piece of software called iCal4OL that takes care of this. This software is remarkable for two particular reasons. First is that it seems to be utterly unique - it's literally the only program I can find that offers this facility.

The second remarkable thing about this software is its user interface. I can honestly say I've never seen or used anything quite like it. Prepare yourself for some serious head-scratching when you first set it up. But to its credit, once configured it works beautifully.

In Closing:
I hope you have as much luck with Radicale as I did. We have a bunch of shared calendars set up and so far the only issue seems to be someone who's on an old Sunbird installation. I think an update to Lightning will solve that.

Troubleshooting:

  • Radicale script does not appear to be running:
  • Check that you have set up your XYNTService.ini file correctly

  • Cannot get the calendar to be created / updated in my client:
  • If Radicale seems to be running, check your firewall  - it’s likely that port 5323 is being blocked

« Last Edit: March 18, 2012, 01:30 PM by timns »

bob99

  • Supporting Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 345
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #1 on: March 14, 2012, 10:40 PM »
Yes please  :greenclp:

erikts

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 224
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #2 on: March 14, 2012, 11:09 PM »
I am interested.  :-*

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #3 on: March 15, 2012, 12:52 AM »
me three! :D

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #4 on: March 15, 2012, 02:40 AM »
What, four?

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #5 on: March 15, 2012, 12:59 PM »
Well in zat case I will be delighted to do a little write-up over the weekend. Thanks for your interest.  :Thmbsup:

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #6 on: March 15, 2012, 02:34 PM »
High five!  :graduate:

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #7 on: March 15, 2012, 04:22 PM »
Must be a sexy topic?   :)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #8 on: March 15, 2012, 07:55 PM »
I will be delighted to do a little write-up over the weekend.
Seventh heaven!

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,061
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #9 on: March 15, 2012, 08:03 PM »
*Burp*

Sorry, I ate it.... :(

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,192
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #10 on: March 15, 2012, 08:09 PM »
Ninth gate.......first thing that came to mind  :-\

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #11 on: March 15, 2012, 09:06 PM »
Ninth gate.......first thing that came to mind

9th gate? it's such a stinker.. :D

@timns: thanks!

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,192
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #12 on: March 15, 2012, 09:14 PM »
Ninth gate.......first thing that came to mind

9th gate? it's such a stinker.. :D

@timns: thanks!

Nine Inch Nails  :P

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #13 on: March 15, 2012, 09:27 PM »
Ok, 10-4 on that

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #14 on: March 16, 2012, 12:02 AM »
That's on the 11th hour!



Who's gonna be the 12th man?

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #15 on: March 16, 2012, 02:28 PM »
That doesn't bear thinking about...

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #16 on: March 18, 2012, 01:21 PM »
I updated the first post with the article. I hope it's helpful to someone out there.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #17 on: March 18, 2012, 03:11 PM »
I updated the first post with the article. I hope it's helpful to someone out there.
Thanks for taking the trouble to write this up, and so comprehensively too!
 

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,192
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #18 on: March 18, 2012, 03:40 PM »
Thank you timns  :Thmbsup:

bob99

  • Supporting Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 345
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #19 on: March 20, 2012, 08:16 AM »
Thank you timns! 

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #20 on: March 21, 2012, 02:58 AM »
Thank you, timns! Bookmarking and filing this.. 8)

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: True shared updatable calendar access for all, and (almost) free
« Reply #21 on: March 21, 2012, 10:10 AM »
Great to hear some feedback. And if anyone needs a working instance in order to test anything, just let me know. I have a little private setup which I can leave in place.