Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
CalDav http 403 & Object not found (CLI UID duplicate check) #6987
Dear tine20 team,
Sabre\DAV\Exception\NotFound Object not found
I could live with the missing object. But how can I rebuild the tine20 cache so the client does not try to sync this one?
----- debug log of the vdirsyncer I am using on ubuntu:
Okay, I found a duplicate entry in tine20sql for this specific date. I deleted the second one and I was able to sync with no restriction. I guess there has been a copy/paste event by the user, creating a duplicate and yielding the 403 Client Error. Going for the URL, I was not able to find it on the browser with the tine20sql instance either.
I'm not sure if this was really a duplicate event. it would be great to see the tine20.log for the request (maybe with DEBUG level). I'm not aware of any problems in the calendar that could be solved by a nightly cleanup job.
yep, sounds like a good idea!
we already have some sanity/repair functions in the CLI frontends (for example in https://github.com/tine20/tine20/blob/master/tine20/Calendar/Frontend/Cli.php - deleteDuplicateEvents).
Waiting for feedback
Feb 18, 2019
@pschuele same seems to apply for contacts, too. After checking the calendar, I am currently checking a few thousand contacts. I came across the UID here, too. I ended up truncating addressbook and addressbook_* related entries in mysql, did an almost similar sanity check on duplicates and UIDs and did a clean import. I guess that those sanity/health checks are good to run on both, calendar and contacts.