Re: repairing a calendar

Wolfgang Breyha <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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 <[email protected]> | http://www.blafasel.at/
Vienna University Computer Center | Austria
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.