iCal server migration stops with exception on a directory
Hello,
I've updated my Snow Leoparc server mac mini to Lion server. But the ical service don't manage to migrate my user from diskfiles to postgres.
when I look in the /var/log/caldavd/error.log, I find this that seems revelent:
2011-10-29 23:48:39+0200 [-] [txdav.common.datastore.util.UpgradeDatabaseSchemaService#warn] Database schema check complete, launching database service.
2011-10-29 23:48:39+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Beginning filesystem -> database upgrade.
2011-10-29 23:48:39+0200 [-] [txdav.common.datastore.util.UpgradeToDatabaseService#warn] Migrating calendar UID '4C33B718-6499-456A-A01D-18B5EBFFBBF8'
2011-10-29 23:48:39+0200 [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.
]
2011-10-29 23:49:02+0200 [-] Unhandled error in Deferred:
2011-10-29 23:49:02+0200 [-] Unhandled Error
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/internet/defer.py", line 388, in errback
self._startRunCallbacks(fail)
.... ..... ....
File "/usr/share/caldavd/lib/python/txdav/caldav/datastore/file.py", line 682, in retrieve
protocol.dataReceived(self._path.getContent())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/filepath.py", line 140, in getContent
fp = self.open()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/filepath.py", line 519, in open
return open(self.path, mode + 'b')
exceptions.IOError: [Errno 21] Is a directory: '/Library/Server/Calendar and Contacts/Documents/calendars/__uids__/4C/33/4C33B718-6499-456A-A01D-18B5EBFFBBF 8/dropbox/000C17BD-F74F-43AE-B69F-5F20BAFBB2FE.dropbox'
And when I look at this users, he has a lot of empty directories (with .dropbox suffix") in the dropbox directory.
I've try to stop the calendar with 'serveradmin stop calendar' , remove all the directories in the dropbox, and restart to relaunch the migration. But the empty directories automagically reappears, and the migration fail the same way.
Is someone has a clue on how I can force the migration ?
Regards,
Marc