pimutils / vdirsyncer

📇 Synchronize calendars and contacts.

Home Page:https://vdirsyncer.pimutils.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nextcloud imported calendar not found

Jocomol opened this issue · comments

  • vdirsyncer version 0.19.2
  • Nextcloud 25.0.6
  • Your Python version
  • arch linux
  • Config
  • Debug File

A few weeks ago I imported a calendar twice into my personal calendar on my own nextcloud. This didn't change any behaviour of vdirsyncer with the exact same config on my work machine. Recently I set up my private machine pretty much the same as my work machine, even the vdirsyncer config is the same. But unfortunately I get this error:

Syncing work_calendar/FLDPRFX_2F5BE02AFF824F0C85025B10B9D838E9
Syncing work_calendar/FLDPRFX_044E92173CDC4152A28AC14E8754D351
Syncing calendars/contact_birthdays
Syncing calendars/imported-horaireics
Syncing calendars/imported-horaire1ics
Syncing calendars/personal
Syncing calendars/default
error: Unknown error occurred for calendars/imported-horaire1ics: Not Found
error: Use `-vdebug` to see the full traceback.

This makes it impossible to sync my calendar.

Now I have tried to somehow ignore these calendars in vdirsyncer, delete them in the local copy of vdirsyncer or delete them on the nextcloud but everything failed.

I was able to fix it by changing

[storage nc_calendar]
type = "caldav"
url = "https://nextcloud.mynextcloud.com/nextcloud/remote.php/dav/principals/users/Jocomol/"
username = "Jocomol"
password = ""

To

[storage nc_calendar]
type = "caldav"
url = "https://nextcloud.mynextcloud.com/nextcloud/remote.php/dav/principals/users/Jocomol/$NAMEOFCALENDAR"
username = "Jocomol"
password = ""

Where $NAMEOFCALENDAR is the actual name of the calendar I wanted to import. It imported: personal, contact_birthdays and default.