Problem creating multiple calendars for the same user
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have calendarserver v. 2.4 (from the repos) running on Ubuntu 12.04 The default calendar (http://servername:8008/calendars/users/myname/calendar) operates correctly. I'd like to add other calendars for myname (e.g. http://servername:8008/calendars/users/myname/workcal), but I'm having problems. I've looked extensively and can't see any reference to a solution. I can't add these using a client. It won't create the new directory in the manner that it creates the original calendar directory. I've also tried manually adding a directory alongside the calendar directory and changing ownership and permissions to match the other. If I do that, I can only connect to the directory intermittently, and though I can write to it, Lightning will not let me read anything, and Evolution reads only events created in Evolution. (If I go to the directory as root, I can see all the events are there.) Is 2.4 capable of supporting multiple calendars per user? Or is there simply something I've missed? Thanks in anticipation Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP3qWsAAoJEERzSJEx033jDXgH/R/R712UEkGGCZAfdbJI/fLV SkrsFnO35OjTF/HiLLszh61qWVkKvyMRVw6Jv2K+byMB2uQZ4V+Yjbm9KYzBSffo ws8ropZ9sw/8GnVOvZI3YcthJTDpZz3J2ebGuU013NSgDXzLCc1MRZjyKfXI2cdf 2NS9qwdRINfdR7/dBOIN+TL/NQntuSdic2TGIFqF9xdbYP/majYxfTS3UbKnHepl 3OUEExReZITYf2l56obt3zii29oUTknLHRbgEe386rJ5OhbqR1huIRCliph3GE29 ykhNgC+iQmldGFVTA3BmP2RJqlC4+juDZuBvU2cziWetjT/aBCsAJYmlIsW4zQs= =Jvt4 -----END PGP SIGNATURE-----
Le Jun 17, 2012 à 8:51 PM, Jane Atkinson a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I have calendarserver v. 2.4 (from the repos) running on Ubuntu 12.04
2.4 may be the most recently packaged version from Ubuntu, but it is _super_ old. We've been working with the Debian maintainer (on this very list!) to try to get a more recent version packaged; maybe they can help you out.
The default calendar (http://servername:8008/calendars/users/myname/calendar) operates correctly.
I'd like to add other calendars for myname (e.g. http://servername:8008/calendars/users/myname/workcal), but I'm having problems. I've looked extensively and can't see any reference to a solution.
I can't add these using a client. It won't create the new directory in the manner that it creates the original calendar directory.
What is "a client"? How are you attempting to add it?
I've also tried manually adding a directory alongside the calendar directory and changing ownership and permissions to match the other.
Don't do that. The fact that the data store is a filesystem is an accident of implementation, not something you should rely on. (In fact, in less ancient versions of the server, it's a database, instead.)
If I do that, I can only connect to the directory intermittently, and though I can write to it, Lightning will not let me read anything, and Evolution reads only events created in Evolution. (If I go to the directory as root, I can see all the events are there.)
Please file bugs against Evolution and Lightning. Their support for CalDAV could definitely use some improvement.
Is 2.4 capable of supporting multiple calendars per user? Or is there simply something I've missed?
Yes, it is. I suspect that the clients you're attempting to use are simply buggy. Protocol traces (i.e. tcpdumps) of what the clients are doing against the server might be useful, but we won't really be able to do anything about it unless the problem persists in more recent (3.0+) versions of the server. Thanks for reporting the problems though, I hope that your experience gets smoother :). -glyph
I noticed the other day that that a 3.x version was now in the package stream. I've also had problems with the 2.4 package--enough that I just abandoned calendarserver altogether. I will try the new pkg. -- Chris Cleeland On Jun 18, 2012, at 12:46 PM, Glyph <glyph@twistedmatrix.com> wrote:
Le Jun 17, 2012 à 8:51 PM, Jane Atkinson a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I have calendarserver v. 2.4 (from the repos) running on Ubuntu 12.04
2.4 may be the most recently packaged version from Ubuntu, but it is _super_ old. We've been working with the Debian maintainer (on this very list!) to try to get a more recent version packaged; maybe they can help you out.
The default calendar (http://servername:8008/calendars/users/myname/calendar) operates correctly.
I'd like to add other calendars for myname (e.g. http://servername:8008/calendars/users/myname/workcal), but I'm having problems. I've looked extensively and can't see any reference to a solution.
I can't add these using a client. It won't create the new directory in the manner that it creates the original calendar directory.
What is "a client"? How are you attempting to add it?
I've also tried manually adding a directory alongside the calendar directory and changing ownership and permissions to match the other.
Don't do that. The fact that the data store is a filesystem is an accident of implementation, not something you should rely on. (In fact, in less ancient versions of the server, it's a database, instead.)
If I do that, I can only connect to the directory intermittently, and though I can write to it, Lightning will not let me read anything, and Evolution reads only events created in Evolution. (If I go to the directory as root, I can see all the events are there.)
Please file bugs against Evolution and Lightning. Their support for CalDAV could definitely use some improvement.
Is 2.4 capable of supporting multiple calendars per user? Or is there simply something I've missed?
Yes, it is. I suspect that the clients you're attempting to use are simply buggy. Protocol traces (i.e. tcpdumps) of what the clients are doing against the server might be useful, but we won't really be able to do anything about it unless the problem persists in more recent (3.0+) versions of the server.
Thanks for reporting the problems though, I hope that your experience gets smoother :).
-glyph
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/06/12 05:51, Chris Cleeland wrote:
I noticed the other day that that a 3.x version was now in the package stream. I've also had problems with the 2.4 package--enough that I just abandoned calendarserver altogether. I will try the new pkg.
-- Chris Cleeland
On Jun 18, 2012, at 12:46 PM, Glyph <glyph@twistedmatrix.com> wrote:
Le Jun 17, 2012 à 8:51 PM, Jane Atkinson a écrit :
Is 2.4 capable of supporting multiple calendars per user? Or is there simply something I've missed?
Yes, it is. I suspect that the clients you're attempting to use are simply buggy. Protocol traces (i.e. tcpdumps) of what the clients are doing against the server might be useful, but we won't really be able to do anything about it unless the problem persists in more recent (3.0+) versions of the server.
Thanks for reporting the problems though, I hope that your experience gets smoother :).
-glyph
Thanks for your replies. It's well worth my while knowing not to spend any more time trying to make 2.4 work. Version 3.2 has appeared in the Debian Sid repos and also in Ubuntu 12.10 Occasionally, I've been able to get away with manually installing packages from sources other than the version I'm using, but not this time. /usr/bin/twistd crashes. I'm hoping that eventually, the new packages may appear in a PPA. In the meantime, I may install 12.10 on a spare partition and do some bug reporting. Thanks Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP36J6AAoJEERzSJEx033jcbkH/3GdKcE8uMsiHjrsckIyzmaF b6TkkDKSMOUfpot+7MZXf2lhvbh4g5o0FpZht8skEqmLe1LCGSWGitOuTb2WqUgz 4yvIcSB2Ild46gQ7Cwo1hfoldOaeYyWK6VdoFrqKD27IR5Q3OBYmHuAA3SAdlBG5 B5DB7beV/LwDr14XQrCHG+6WjdY2A7CxPOz3SRneXL9zYARYgwuaZietPtIa6l2h SXEQv//0qLkeav8IKz9OBbz4ngUYiOLRCS9fSLvomJfiO3ZZv2uEB6yI8tqj73e+ m8OsEEtuA9Cb0RcnCgy3e/SX6WrB2AvNF55GskP4f7gdlSKtMqL8Y7dYpIJZSDI= =/AJU -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/06/12 09:49, Jane Atkinson wrote:
On 19/06/12 05:51, Chris Cleeland wrote:
I noticed the other day that that a 3.x version was now in the package stream. I've also had problems with the 2.4 package--enough that I just abandoned calendarserver altogether. I will try the new pkg.
-- Chris Cleeland
Thanks for your replies. It's well worth my while knowing not to spend any more time trying to make 2.4 work.
Version 3.2 has appeared in the Debian Sid repos and also in Ubuntu 12.10
Occasionally, I've been able to get away with manually installing packages from sources other than the version I'm using, but not this time. /usr/bin/twistd crashes.
An update on this, that might be useful for others running Ubuntu 12.04: The version of python-sqlparse in the Precise repos doesn't work with calendarserver 3.2 I got around this by manually installing python-sqlparse 1.4 from the Quantal repos (packages.ubuntu.com). Then calendarserver can be compiled from source. Alternatively, get calendarserver 3.2 and python-pycalendar from the Quantal repos. Install all the dependencies from the Precise repos, then install these two packages manually. I know that this is a bit of a kludge, but so far it's worked well. Thanks very much to everyone who's replied. I've now got a post-deluvian version running on my main Precise install, and it's doing what I originally wanted it to do. Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP5mBlAAoJEERzSJEx033jzM0IAIg6YlmBKR+rkqOfXxiNXf/O 20tfeaYGZf8YL+J0nq4XAYdjuEBiW5Gi9T3pU7uLcYEFb6ltTlFc46+KIv06Gp/I VzYI4XEDj7aFiEkdM/uxZQRJOXXkfApxFYGo6MfvbNZDFpl2AGYGzaigq4zCLCIh 8xLWQqPTY+GE2JYxQZxQZTGf84vg06BcbntPoklAUsyvFMnaRzZzeVQEnm7dqkVR lBHCGnvnW96rtmL+IWeFjmF+EDsv0BpHS9gMuCtvW4h9dguF8UI2Xl1kGYRWki8D ZGN9dfgnC2XbECfCiFMYWCer+14atMiMWYFxpIFcLj9qrp2XZdq6yXzg1sZHdys= =/Lwu -----END PGP SIGNATURE-----
I am running the latest git pull of the Darwin CalendarServer. Is there way to disable to change the default calendars created,"calendar" and "tasks" in CalDAV and CardDAV respectively? Greg Day
Le Jun 27, 2012 à 1:49 PM, Greg Day <gregday@airwaterunix.org> a écrit :
I am running the latest git pull of the Darwin CalendarServer. Is there way to disable to change the default calendars created,"calendar" and "tasks" in CalDAV and CardDAV respectively?
What about them would you like to change? -glyph
Just the names really. On 6/27/2012 7:42 PM, Glyph wrote:
Le Jun 27, 2012 à 1:49 PM, Greg Day <gregday@airwaterunix.org> a écrit :
I am running the latest git pull of the Darwin CalendarServer. Is there way to disable to change the default calendars created,"calendar" and "tasks" in CalDAV and CardDAV respectively? What about them would you like to change?
-glyph
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/06/12 05:46, Glyph wrote:
Le Jun 17, 2012 à 8:51 PM, Jane Atkinson a écrit :
I'd like to add other calendars for myname (e.g. http://servername:8008/calendars/users/myname/workcal), but I'm having problems. I've looked extensively and can't see any reference to a solution.
I can't add these using a client. It won't create the new directory in the manner that it creates the original calendar directory.
What is "a client"? How are you attempting to add it?
By this, I mean using either Lightning or Evolution to define a calendar that doesn't exist yet. When calendarserver 2.4 is first set up, the calendar directory doesn't exist yet. Attempting to connect to the default calendar using Evolution or Lightning triggers the creation of the directory. I thought the same thing might happen with a second calendar, but it doesn't. Evolution and Lightning no doubt are buggy, but they are all that I have. If anyone can tell me of a better one (Linux compatible) I'd be interested.
I've also tried manually adding a directory alongside the calendar directory and changing ownership and permissions to match the other.
Don't do that. The fact that the data store is a filesystem is an accident of implementation, not something you should rely on. (In fact, in less ancient versions of the server, it's a database, instead.)
At the risk of sounding like an ignorant newb, I'm going to ask, what is the correct (or best) way to add a new calendar? Command line is OK. I suspect that once the calendars are added correctly, Lightning/Evolution will find them. Thanks Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP4PMZAAoJEERzSJEx033jugQH/jy1IMbR/KPr4fMB0/C0wZxA qRmBrAohPlRKAEUnxUGfSIVTqEpNNwQPJze2NeTEVmd4rDjuVhFXCST9KYch5jXP uikLLd2pth6Zg6i9RfmfGKb+kcgA4DhM1xaV1k8uwDZm68N1gKNafXPCSh0Fbuk2 sukOPhtpygBpOw9AOCC4Mym19r0KUJ2koZQZZez8FBCXpC08qyh5Uass2xYUVeKB kkqeXW7GE9Xgg0DOB9WtTDWuV3a5J9v025ucGly+59KLxUFOeeXGIybUHDjMM98+ hQ6uFTtXJf6bIZeU+YIg0d/WWW3zNlFfv59HbwB8FvXxIs481QwFzAU0Hh6jRuw= =CYmX -----END PGP SIGNATURE-----
Le Jun 19, 2012 à 2:46 PM, Jane Atkinson <jea62q@xtra.co.nz> a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19/06/12 05:46, Glyph wrote:
Le Jun 17, 2012 à 8:51 PM, Jane Atkinson a écrit :
I'd like to add other calendars for myname (e.g. http://servername:8008/calendars/users/myname/workcal), but I'm having problems. I've looked extensively and can't see any reference to a solution.
I can't add these using a client. It won't create the new directory in the manner that it creates the original calendar directory.
What is "a client"? How are you attempting to add it?
By this, I mean using either Lightning or Evolution to define a calendar that doesn't exist yet.
When calendarserver 2.4 is first set up, the calendar directory doesn't exist yet. Attempting to connect to the default calendar using Evolution or Lightning triggers the creation of the directory. I thought the same thing might happen with a second calendar, but it doesn't.
Evolution and Lightning no doubt are buggy, but they are all that I have. If anyone can tell me of a better one (Linux compatible) I'd be interested.
If you can set up Calendar Server 3.0+, I'd be happy to help you diagnose the bad 'create' behavior on the part of these clients. But, for all I know, it's a bug in the old version of calendar server, and when you try a newer version, it might just work. (These clients aren't going to get any better unless people use them and report bugs against them though, so please do that too.)
I've also tried manually adding a directory alongside the calendar directory and changing ownership and permissions to match the other.
Don't do that. The fact that the data store is a filesystem is an accident of implementation, not something you should rely on. (In fact, in less ancient versions of the server, it's a database, instead.)
At the risk of sounding like an ignorant newb, I'm going to ask, what is the correct (or best) way to add a new calendar? Command line is OK. I suspect that once the calendars are added correctly, Lightning/Evolution will find them.
Creating a calendar is best accomplished via a client, the way you've been doing it. You could try using a Mac as your client, since it's pretty likely that iCal will do something that Calendar Server 2.4 will understand. You could also try doing a DAV request, a MKCOL with an appropriate DAV:resourcetype via something like curl, but if it isn't immediately obvious to you how to do that you probably don't want to bother with it -glyph
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/06/12 05:24, Glyph wrote:
Le Jun 19, 2012 à 2:46 PM, Jane Atkinson <jea62q@xtra.co.nz> a écrit :
Evolution and Lightning no doubt are buggy, but they are all that I have. If anyone can tell me of a better one (Linux compatible) I'd be interested.
If you can set up Calendar Server 3.0+, I'd be happy to help you diagnose the bad 'create' behavior on the part of these clients. But, for all I know, it's a bug in the old version of calendar server, and when you try a newer version, it might just work.
I've installed calendarserver 3.2 (from the repo) on Ubuntu 12.10, and I'm still having the same problem. I.e. I can create the default calendar without difficulty, but other calendars don't work. I've just been using the default "admin" account for testing; I've made no changes to any config files. Maybe there is further setting up that needs to be done.
(These clients aren't going to get any better unless people use them and report bugs against them though, so please do that too.)
Once I find out what's going on, I'll be happy to report bugs. Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP4u7FAAoJEERzSJEx033j5MQH/RAKoKuhP9v7oFSIjxKuWLDY fQWLZYvbBvdJyl3fcAR3DqTqtw4ChaayyA8IX0+hc1emRHfxT3r+nxcr1EfqX6EU XWXA+L7FSZJ400osLejfizeauZ80iPIy+YPfJWisfNckewazwBaYrRhwb6zASmsU AeHZuU04y9/45w76/EmgjjnTfx2SKQxw82EO/pO6L8jPPH60uQMXRVOtb8/EUR8A BjuyeMkZwyEAjdf90yhg2yzwm4mDFmyfp9C5oGKvyCTW3Nu9YLtLF459XH/VQIQm nOW1GnofU+s31bd4Y4QbZukgdNN+LLUo7elULmSwaaEa5iUpo6/Quktvh/Og3bk= =FWmM -----END PGP SIGNATURE-----
Hi Jane, --On June 21, 2012 9:52:18 PM +1200 Jane Atkinson <jea62q@xtra.co.nz> wrote:
If you can set up Calendar Server 3.0+, I'd be happy to help you diagnose the bad 'create' behavior on the part of these clients. But, for all I know, it's a bug in the old version of calendar server, and when you try a newer version, it might just work.
I've installed calendarserver 3.2 (from the repo) on Ubuntu 12.10, and I'm still having the same problem. I.e. I can create the default calendar without difficulty, but other calendars don't work.
I've just been using the default "admin" account for testing; I've made no changes to any config files. Maybe there is further setting up that needs to be done.
Calendars are not automatically created beyond the very first one when a user first accesses their account. To create a calendar a client must use an HTTP request. If your clients do not offer a way to do that for CalDAV accounts, then they are arguably deficient. You can use the curl command to create a new calendar like this: curl -X MKCALENDAR -u user01 https://yourhost:8443/calendars/users/user01/newcalendar/ where 'user01' is the user id of the person who is creating the calendar. The command will prompt for a password. Make sure you include a trailing slash on the end of the URI. -- Cyrus Daboo
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/06/12 02:16, Cyrus Daboo wrote:
Hi Jane,
--On June 21, 2012 9:52:18 PM +1200 Jane Atkinson <jea62q@xtra.co.nz> wrote:
If you can set up Calendar Server 3.0+, I'd be happy to help you diagnose the bad 'create' behavior on the part of these clients. But, for all I know, it's a bug in the old version of calendar server, and when you try a newer version, it might just work.
I've installed calendarserver 3.2 (from the repo) on Ubuntu 12.10, and I'm still having the same problem. I.e. I can create the default calendar without difficulty, but other calendars don't work.
I've just been using the default "admin" account for testing; I've made no changes to any config files. Maybe there is further setting up that needs to be done.
Calendars are not automatically created beyond the very first one when a user first accesses their account.
To create a calendar a client must use an HTTP request. If your clients do not offer a way to do that for CalDAV accounts, then they are arguably deficient. You can use the curl command to create a new calendar like this:
curl -X MKCALENDAR -u user01 https://yourhost:8443/calendars/users/user01/newcalendar/
where 'user01' is the user id of the person who is creating the calendar. The command will prompt for a password. Make sure you include a trailing slash on the end of the URI.
Thanks for the suggestion. Unfortunately, the command failed. curl -X MKCALENDAR -u admin http://192.168.1.67:8008/calendars/users/admin/newcalendar/ Enter host password for user 'admin': <html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1><p>You are not authorized to access this resource.</p></body></html> (Yes, the command was all on one line; the email wrapped it. And I don't have https set up yet - should that make a difference?) Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP47DHAAoJEERzSJEx033jEpwIALfg/FjwZyn503jOXkXECOWd /7XfRM3YNauW5U7pRBjznnfRkSvQ/D0dMJL7TJOoKCmnot79/ZnQn3yBAEqwfyeZ WPQPnMw80M3MPQDFrvMuz2GVZFAXpZpvCX2rUC/9YccObbS+VoO6ehUn0mr5CWnv UjRDySKf8xLDu/8QJlSr9OVp8Km/OnEBX/OgxoGFxuRU4c1H+HsKfr6JR36RVKnK UNKHHGTkPhNB1aNvPypuEuRoj24M7DTl6eC1pTsZ+Vhe5s8vPfUt2AAyCPIV4iTb Dq5JnUW+wz3yQsZT39l1D3Cr4ui0XEiCk77X/Q1XrIrCGzE3E/lrMuMt55zr/UQ= =anDf -----END PGP SIGNATURE-----
hi jane, it created several calendars by using http://trac.calendarserver.org/wiki/CalDAVClientLibrary http://trac.calendarserver.org/wiki/CalDAVClientLibrary from the cl i run:
./runshell.py --server http://localhost:8008 navigated to the users directory and typed mkcal newCalName
maybe this helps, emport [calendarserver (version: 2.4.dfsg-6) / ubuntu (oneiric - 11.10)] -- View this message in context: http://old.nabble.com/Problem-creating-multiple-calendars-for-the-same-user-... Sent from the Calendar Server - Users mailing list archive at Nabble.com.
Le Jun 21, 2012 à 2:52 AM, Jane Atkinson <jea62q@xtra.co.nz> a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 21/06/12 05:24, Glyph wrote:
Le Jun 19, 2012 à 2:46 PM, Jane Atkinson <jea62q@xtra.co.nz> a écrit :
Evolution and Lightning no doubt are buggy, but they are all that I have. If anyone can tell me of a better one (Linux compatible) I'd be interested.
If you can set up Calendar Server 3.0+, I'd be happy to help you diagnose the bad 'create' behavior on the part of these clients. But, for all I know, it's a bug in the old version of calendar server, and when you try a newer version, it might just work.
I've installed calendarserver 3.2 (from the repo) on Ubuntu 12.10, and I'm still having the same problem. I.e. I can create the default calendar without difficulty, but other calendars don't work.
OK. Thanks for doing that. Glad to hear that 12.10 is going to have a post-deluvian version :).
I've just been using the default "admin" account for testing; I've made no changes to any config files. Maybe there is further setting up that needs to be done.
No. Creating calendars should just work.
(These clients aren't going to get any better unless people use them and report bugs against them though, so please do that too.)
Once I find out what's going on, I'll be happy to report bugs.
What does the server's access log / error log look like around the time you create a new calendar in the client? Is there any traffic at all? -glyph
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/06/12 05:21, Glyph wrote:
What does the server's access log / error log look like around the time you create a new calendar in the client? Is there any traffic at all?
Here's what I've been able to find so far. Note: dcs is running on 192.168.1.67 Thunderbird/Lightning and Evolution are running on 192.168.1.65 The calendar is named "dcsadmin2" and the location chosen was "http://192.168.1.67:8008/calendars/users/admin/cal2" access.log shows: 192.168.1.65 - - [22/Jun/2012:09:03:45 +1300] "PROPFIND /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 Lightning/1.5.1" i=1 t=80.0 or=1 error.log shows: 2012-06-22 09:03:45+1200 [-] [caldav-1] [PooledMemCacheProtocol,client] [twistedcaldav.method.propfind#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> I was running Thunderbird remotely via ssh X11 forwarding. I found this message in the terminal window: Warning: There has been an error reading data for calendar: dcsadmin2. However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_NOT_DAV. Description: The resource at http://192.168.1.67:8008/calendars/users/admin/cal2 is either not a DAV collection or not available - --- Evolution shows almost identical messages. access.log shows: 192.168.1.65 - - [22/Jun/2012:09:36:41 +1300] "OPTIONS /calendars/users/admin/cal2/ HTTP/1.1" 401 141 "-" "Evolution/3.2.3" i=1 t=17.0 or=1 192.168.1.65 - - [22/Jun/2012:09:36:50 +1300] "OPTIONS /calendars/users/admin/cal2/ HTTP/1.1" 401 141 "-" "Evolution/3.2.3" i=1 t=16.6 or=1 192.168.1.65 - admin [22/Jun/2012:09:36:50 +1300] "OPTIONS /calendars/users/admin/cal2/ HTTP/1.1" 200 0 "-" "Evolution/3.2.3" i=0 t=16.5 or=1 192.168.1.65 - admin [22/Jun/2012:09:36:50 +1300] "PROPFIND /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Evolution/3.2.3" i=0 t=17.9 or=1 192.168.1.65 - - [22/Jun/2012:09:36:50 +1300] "REPORT /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Evolution/3.2.3" i=1 t=12.7 or=1 192.168.1.65 - - [22/Jun/2012:09:36:50 +1300] "REPORT /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Evolution/3.2.3" i=0 t=12.2 or=1 error.log shows: 2012-06-22 09:36:50+1200 [-] [caldav-0] [PooledMemCacheProtocol,client] [twistedcaldav.method.propfind#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> 2012-06-22 09:36:50+1200 [-] [caldav-1] [HTTPChannel,10,192.168.1.65] [twistedcaldav.method.report#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> 2012-06-22 09:36:50+1200 [-] [caldav-0] [HTTPChannel,10,192.168.1.65] [twistedcaldav.method.report#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> Trying to add an event to dcsadmin2 in Evolution causes this: access.log 192.168.1.65 - - [22/Jun/2012:09:56:11 +1300] "OPTIONS /calendars/users/admin/cal2/ HTTP/1.1" 401 141 "-" "Evolution/3.2.3" i=1 t=37.0 or=1 192.168.1.65 - admin [22/Jun/2012:09:56:11 +1300] "OPTIONS /calendars/users/admin/cal2/ HTTP/1.1" 200 0 "-" "Evolution/3.2.3" i=0 t=39.5 or=1 192.168.1.65 - admin [22/Jun/2012:09:56:11 +1300] "PROPFIND /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Evolution/3.2.3" i=1 t=46.1 or=1 192.168.1.65 - - [22/Jun/2012:09:56:12 +1300] "REPORT /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Evolution/3.2.3" i=0 t=33.8 or=1 192.168.1.65 - - [22/Jun/2012:09:56:12 +1300] "REPORT /calendars/users/admin/cal2/ HTTP/1.1" 404 229 "-" "Evolution/3.2.3" i=1 t=26.7 or=1 error.log 2012-06-22 09:56:11+1200 [-] [caldav-1] [PooledMemCacheProtocol,client] [twistedcaldav.method.propfind#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> 2012-06-22 09:56:12+1200 [-] [caldav-0] [HTTPChannel,18,192.168.1.65] [twistedcaldav.method.report#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> 2012-06-22 09:56:12+1200 [-] [caldav-1] [HTTPChannel,25,192.168.1.65] [twistedcaldav.method.report#error] Resource not found: <Calendar Collection Resource '38eae584-2b75-582b-a058-018391d1003f':'cal2' Non-existent> My guess is that a more detailed log is going to be needed. What is the command for restarting calendarserver at a higher loglevel? Jane Atkinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP47HeAAoJEERzSJEx033jiP8H/39P2NiHjckNR2SixwFGTAJg ae30+ffSbxqeUl02fEiI65ULqxtbNBBgfxYHGpKbQagZMxzjAtKgIZGzrIvibfKs HwCtWrYCy2+iED8GLBpqrLJuEjYItDK3FZTn/4nox+C3L2zW4EkyTmuoyAi10gyc a2qpQmGYbwvzAJpRZxYvvyasLJPGNjrtf1Re4PiFAFaGDB7jH/MpHPTUZdaVFrEK TvptKEoPZ1tNl1BT9qUr1xvvffyEKmgbDYn2c7V+u3XuSe+lJ8LnF6ysNbrXI18C f7lQQXZhj0mV66+X9UAkQ3YCH2X3O8TM2/Ra4n/vfk8ZagkoaTRSGSvnwsPtD6g= =YGEI -----END PGP SIGNATURE-----
Found some spare time to read .on that thread... And giving some coments on your discussion: using ubuntu you can try the package ... ehm... davical? -> check on davical.org Creating new calendars (for a user) from lighting is as i remember not supported...(thats a lighting bug) evolurion should work... Maybe you try some background-reading o the davical.org-wiki a really nice place to see some how implementations work greets Mike -----Ursprüngliche Nachricht-----
Von: Glyph <glyph@twistedmatrix.com> An: jea62q@xtra.co.nz Cc: calendarserver-users@lists.macosforge.org Gesendet: 20.6.'12, 19:24
Le Jun 19, 2012 à 2:46 PM, Jane Atkinson <jea62q@xtra.co.nz> a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 19/06/12 05:46, Glyph wrote:
Le Jun 17, 2012 à 8:51 PM, Jane Atkinson a écrit :
I'd like to add other calendars for myname (e.g. http://servername:8008/calendars/users/myname/workcal), but I'm having problems. I've looked extensively and can't see any reference to a solution.
I can't add these using a client. It won't create the new directory in the manner that it creates the original calendar directory.
What is "a client"? How are you attempting to add it?
By this, I mean using either Lightning or Evolution to define a calendar that doesn't exist yet.
When calendarserver 2.4 is first set up, the calendar directory doesn't exist yet. Attempting to connect to the default calendar using Evolution or Lightning triggers the creation of the directory. I thought the same thing might happen with a second calendar, but it doesn't.
Evolution and Lightning no doubt are buggy, but they are all that I have. If anyone can tell me of a better one (Linux compatible) I'd be interested.
If you can set up Calendar Server 3.0+, I'd be happy to help you diagnose the bad 'create' behavior on the part of these clients. But, for all I know, it's a bug in the old version of calendar server, and when you try a newer version, it might just work.
(These clients aren't going to get any better unless people use them and report bugs against them though, so please do that too.)
I've also tried manually adding a directory alongside the calendar directory and changing ownership and permissions to match the other.
Don't do that. The fact that the data store is a filesystem is an accident of implementation, not something you should rely on. (In fact, in less ancient versions of the server, it's a database, instead.)
At the risk of sounding like an ignorant newb, I'm going to ask, what is the correct (or best) way to add a new calendar? Command line is OK. I suspect that once the calendars are added correctly, Lightning/Evolution will find them.
Creating a calendar is best accomplished via a client, the way you've been doing it. You could try using a Mac as your client, since it's pretty likely that iCal will do something that Calendar Server 2.4 will understand.
You could also try doing a DAV request, a MKCOL with an appropriate DAV:resourcetype via something like curl, but if it isn't immediately obvious to you how to do that you probably don't want to bother with it
-glyph
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
participants (7)
-
Chris Cleeland
-
Cyrus Daboo
-
emport
-
Fresel Michal - sysangels e.U.
-
Glyph
-
Greg Day
-
Jane Atkinson