repairing a calendar

Wolfgang Breyha wbreyha at gmx.net
Wed Dec 20 14:54:00 EST 2017


On 20/12/17 17:35, Ken Murchison wrote:
> Try:
> 
> dav_reconstruct <userid>

Oh sorry, didn't find that one... but doing so removes the <userid>.dav
file without generating a new one. So I assume that something happend
XFERing that mailbox destroying important information about DAV mailboxes.

strace shows that dav_reconstruct unlinks the DB and scans mailboxes.db
afterwards. And then it ends without further steps.

Looking at a ctl_mboxlist dump...
$ ctl_mboxlist -d|grep user.<brokenuid>
user.<brokenuid>.#addressbooks  0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#addressbooks.Default  0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars     0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars.Default     0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars.Inbox       0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars.Outbox      0 part18 <brokenuid>    lrswipkxtecdan

compared to a working one...
user.<gooduid>.#addressbooks    64 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#addressbooks.Default    64 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars       32 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars.Default       32 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars.Inbox 32 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars.Outbox        32 part06 <gooduid>     lrswipkxtecdan

I guess there are missing important flags on those DAV folders. Most likely
"lost in translation^WXFER". Should I file a bug?

BTW....(ab)using dav_reconstruct with user.<userid> instead of <userid>
causes a SIGSEGV.

Greetings, Wolfgang
-- 
Wolfgang Breyha <wbreyha at gmx.net> | http://www.blafasel.at/
Vienna University Computer Center | Austria


More information about the Info-cyrus mailing list