[CalendarServer-users] how to update ?

Mark Cockfield mark.cockfield at gmail.com
Tue Nov 11 09:29:16 PST 2008


Jean,

I was just glancing down your log and this caught my eye:

2008-11-11 00:04:01+0100 [-] [memcached] can't run as root without the -u
switch
> 2008-11-11 00:04:08+0100 [-] [memcached] can't run as root without the -u
> switch
> 2008-11-11 00:04:09+0100 [-] [caldav-8009]  [-] AMP connection established
> (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd-pydir.sock'))
> 2008-11-11 00:04:09+0100 [-] [caldav-8009]  [-] Starting factory
> <twistedcaldav.memcachepool.MemCacheClientFactory object at 0x18f6c10>
> 2008-11-11 00:04:09+0100 [-] [caldav-8009]  [Uninitialized]
> [twistedcaldav.memcachepool.MemCacheClientFactory#error] MemCache connection
> failed: [Failure instance: Traceback (failure with no frames): <class
> 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by
> other side: 61: Connection refused.
> 2008-11-11 00:04:09+0100 [-] [caldav-8009] ]
> 2008-11-11 00:04:09+0100 [-] [caldav-8009]  [Uninitialized]
> <twisted.internet.tcp.Connector instance at 0x18fe878> will retry in 2 seconds
> 2008-11-11 00:04:09+0100 [-] [caldav-8009]  [Uninitialized] Stopping factory
> <twistedcaldav.memcachepool.MemCacheClientFactory object at 0x18f6c10>

This would seem to point to a problem with your memcache configuration. What
happens if you disable memcache?

Mark

On 11/10/08 6:08 PM, "jean" <jduffas1 at free.fr> wrote:

> here is the exact copy of the terminal when error occure :
> 
> 
> ...snip...
> 
> 
> 
> You have mail in /var/mail/jduffas
> mac-mini-de-jean-duffas-4:CalendarServer jduffas$
> 
> 
> at the end, I quited the server with a "ctrl" c.
> 
> jean
> 
> 
> 
> Le 10 nov. 08 à 23:28, jean a écrit :
> 
>> perhaps the problem comes from my acocunts.xml file... :
>> here is one exemple of user, could the <guid>demo</guid> be the cause ? (on
>> holder version, this file works) :
>> 
>>   <user>
>>     <uid>demo</uid>
>>     <guid>demo</guid>
>>     <password>demo</password>
>>     <name>Test User</name>
>>     <cuaddr>">">mailto:testuser at example.com</cuaddr>
>> <mailto:testuser at example.com>  <mailto:testuser at example.com>
>>   </user>
>> 
>> jean
>> 
>> Le 10 nov. 08 à 23:08, jean a écrit :
>> 
>>> I tried the diff,
>>> changed only what needed to be change,
>>> and I still have the same error :
>>> 
>>> 2008-11-10 23:06:56+0100 [-] [caldav-8010]  [-]
>>> [twistedcaldav.directory.xmlaccountsparser#error] Invalid GUID in accounts
>>> XML: 'jean'
>>> 
>>> do you have any idea ?
>>> 
>>> jean
>>> 
>>> 
>>> Le 10 nov. 08 à 22:28, Mark Cockfield a écrit :
>>> 
>>>> After the upgrade did you change the run script to use your config file?
>>>> Also, since you are using a Mac, you may want to have a look at the builtin
>>>> Diff program. Open up the terminal and type "man diff" to see instructions
>>>> on how to use. ZsCompare is a commercial product, and if you don't do a lot
>>>> of development, save yourself a few...um, francs, euros? Anyway, good luck.
>>>> 
>>>> Mark
>>>> 
>>>> On 11/10/08 4:12 PM, "jean" <jduffas1 at free.fr> wrote:
>>>> 
>>>>> yes, but the calendars still exists,
>>>>> only the "new" version of calendarsserver doesn' t see them.
>>>>> If I come back to the hold version, it see them again.
>>>>> and I did copy back all the conf files.
>>>>> so perhaps it come from the fact I didn't made a diff
>>>>> I use a mac too, so I will try ZsCompare.
>>>>> 
>>>>> thank you.
>>>>> 
>>>>> jean
>>>>> 
>>>>> 
>>>>> Le 10 nov. 08 à 22:05, Mark Cockfield a écrit :
>>>>> 
>>>>>> Jean,
>>>>>> 
>>>>>> Diff is just comparing two files to identify the differences between
>>>>>> them.
>>>>>> Depending on your platform there are a number of tools that are very
>>>>>> helpful. I use a Mac and have used "zsCompare" and now use the SVN
>>>>>> tools
>>>>>> within Eclipse. Eclipse is an IDE or Integrated Development
>>>>>> Environment. If
>>>>>> you are not going to be doing any development, it probably would be
>>>>>> overkill. As far as the GUID errors, I believe you will see those
>>>>>> when a
>>>>>> calendar does not exist for an account; and, if I'm not mistaken the
>>>>>> message
>>>>>> also indicates the the server will be provisioning the calendar
>>>>>> collection.
>>>>>> 
>>>>>> Mark
>>>>>> 
>>>>>> On 11/10/08 3:46 PM, "jean" <jduffas1 at free.fr> wrote:
>>>>>> 
>>>>>>> hello,
>>>>>>> 
>>>>>>> I have also created my own config files (caldav.plist and
>>>>>>> accounts.xml) and have moved my calendars out of the default
>>>>>>> location .
>>>>>>> I have also after upgrade, put back conf files.
>>>>>>> but I didn' t do any "diff"
>>>>>>> how do you do that ?
>>>>>>> and what is Eclipse project ?
>>>>>>> 
>>>>>>> when upgrading, I got a GUID error...
>>>>>>> 
>>>>>>> jean
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Le 10 nov. 08 à 21:30, Mark Cockfield a écrit :
>>>>>>> 
Hi Jean,

I have also learned to avoid overwriting the "conf" directory as
well.

Before I setup the CalendarServer as an Eclipse project I would save
a copy
of the calendar and config directories. Then after upgrading I would
copy
the calendar directory back and do a diff on my config file and the
new
default config file as new attributes are often added.

Now that I am in Eclipse with the SVN feature installed I can just
do an SVN
"update" to merge in the latest changes from the development
repository.
Then the next time I execute the "run" script it makes sure all
other
dependencies are up-to-date. I should also mention that I have
created my
own config files (caldav.plist and accounts.xml) and have moved my
calendars
out of the default location so they do not get touched by the
update.
Although moving the calendar directory wouldn't be necessary as long
as you
are not using the default accounts.

Hope this helps.

Regards,

Mark

On 11/10/08 4:29 AM, "jean" <jduffas1 at free.fr> wrote:

how tp update Darwin CalendarServer without deleting all
calendars ?


jean
_______________________________________________
calendarserver-users mailing list
calendarserver-users at lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users


>>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> calendarserver-users mailing list
>>> calendarserver-users at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
>>> 
>> 
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20081111/6f1ad9a8/attachment.html>


More information about the calendarserver-users mailing list