[CalendarServer-users] Error in adding attendee to meeting

Corey Scobie corey at scobie.com
Thu Aug 20 02:08:01 PDT 2009

For all those that may be interested it took a little trial and error  
to figure this out but here is the synopsis.

iCal (I assume it is iCal) expects a default calendar with the uid  
"calendar". One that can be found at /calendars/__uids__/username/ 
calendar as a Caldav URL. Apparently this is the default collection  
UID used in collaborative scheduling (inviting another user to a  
meeting). When you set up a new iCal client for the first time, this  
calendar is automatically created on the caldav server. I was (I  
guess) dissatisfied with this calendar name, and instead of renaming  
the default calendar to something else I created a new calendar and  
then deleted "calendar" - thus forcing the server to remove the  
"calendar" uid (directory) under my user. This must have been  
different than my original provisioning process for these accounts and  
therefore broke one account.

To resolve this problem it was not enough to just remove and re-add  
the account in iCal because the existing account data on caldav would  
just repopulate the iCal client. Instead, I followed this procedure.

1. Export each caldav Calendar's contents to an ICS file.
2. Remove the caldav account from my iCal configuration.
3. Stop the caldav server.
4. Remove the data directory (under twistedcaldav/test/data/calendars/ 
__uids__/) for the user in question.
5. Restart the caldav server.
6. Re-create the caldav account in iCal.
7. Rename the default "calendar" calendar in iCal to the name of my  
default calendar for this user (i.e. Personal Events).
8. Import the contents of the ICS file for this calendar back into the  
recreated calendar.
9. Recreate calendars and re-import contents for any additional  

I am sure there must be an easier way to do this, but this process  
definitely works. I have to admit, I do not have a very clear  
understanding of the relationship between the data stored in these  
directories, any meta data on the server, any meta data on the iCal  
client, and who is responsible for the actual file/folder structure on  
the caldav server. I suspect there is some way to force the iCal  
client to look for something other than the "calendar" uid for meeting  
requests, but I couldn't find anything via a thorough Google search.

  Hope this helps others.

corey at scobie.com

On Aug 19, 2009, at 8:41 AM, Cyrus Daboo wrote:

> Hi Corey,
> --On August 19, 2009 8:37:23 AM -0700 Corey Scobie  
> <corey at scobie.com> wrote:
>> Removing and re-adding on the client (yes, it is iCal) or on the  
>> Server?
> Remove and re-add the account in the client (iCal).
> -- 
> Cyrus Daboo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20090820/fec405d1/attachment-0001.html>

More information about the calendarserver-users mailing list