vdirsyncer icon indicating copy to clipboard operation
vdirsyncer copied to clipboard

Can't delete an event from NC -> Google

Open motoride opened this issue 3 years ago • 1 comments

I'm running vdirsyncer v0.18 on Python 3.7, in a virtual environment on shared hosting.

The sync function works as expected, with one exception. If I create a new event on nextcloud, it will upload to google no problem. But then if I go and delete that event from Nextcloud, it will throw and error next time it syncs saying that it can't find the event in Nextcloud as it's trying to sync the google event.

Unknown error occurred for doublecloud/mygoogle: 400 Client Error: Bad Request for url: https://mynextcloud.com/nextcloud calendar 1/b54fcf03-3dd3-47e7-ab26-004536b109bb.ics error: Use -vdebug to see the full traceback.

The error is resolved by manually deleting the event from google.

This is my config

I've also tried playing with different conflict resolution options, with no success.

[general] status_path = "~/.vdirsyncer/status/" #CALDAV [pair doublecloud] a = "my_nextcloud" b = "my_google" collections = [["mygoogle", "nextcloud calendar 1", "gcal1"],["fbgoogle", "nextcloud calendar 2", "gcal2"]] metadata = ["color"]

[storage my_nextcloud] type = "caldav" url = "https://mynextcloud.com/remote.php/dav" username = "my_username" password = "redacted"

[storage my_google] type = "google_calendar" token_file = "~/vdirsyncer/google_token" client_id = "851472075362-o0g840egsuo4kj9lvahsub765floeh7c.apps.googleusercontent.com" client_secret = "redacted"

motoride avatar Dec 15 '21 20:12 motoride

I believe this being nextcloud being a b*tch about it... :o) Everything in this world is difficult, but I have earlier removed everything in nextcloud database. deleted the status folder, and tried again. This solved this problem.

Sblop avatar Mar 18 '22 14:03 Sblop