You are not logged in.
Hi, I am trying to use vdirsyncer to synchronize my nextcloud calendar with radicale (old version) calendar, I am having several issues, but let me start with the "biggest" one in the sense that it would imply there is something wrong in the only official documentation available, or the syntax has changed between the version we have for archlinux and the latest upstream version, and we have no way of finding the correct syntax for the archlinux version.
So here is the problem. I have the following configuration file for vdirsyncer
[general]
status_path ="~/.vdirsyncer/status/"
[pair my_contacts]
a = "my_contacts_local"
b = "my_contacts_remote"
collections = ["calendar"]
[storage my_contacts_local]
type = "singlefile"
path = "/var/lib/radicale/collections/myusername/%s.ics"
[storage my_contacts_remote]
type = "caldav"
# We can simplify this URL here as well. In theory it shouldn't matter.
url = "URLofmyNextCloudServer"
username = "xxxx"
password = "yyyy"
This one "works", although I am having some problems about which I will be making posts later.
With this configuration, I can synchronize my local ics file which is
/var/lib/radicale/collections/myusername/calendar.ics
with the calendar on NextCloud whose name is
calendar
Obvious problem with this approach is that I may want to to synchronize calendars with different names on two sides,
and according to vdirsyncer manual for the version 0.16.8.dev0+gdcf5f70.d20180719
I should be sync
/var/lib/radicale/collections/myusername/calendar1.ics
with
calendar2
on NextCloud by putting
collections = ["cal","calendar1","calendar2"]
However, if I do this, I get
No collection "cal" found for storage my_contacts_local.
Should vdirsyncer attempt to create it? [y/N]:
So my question is, is the above syntax for collections supposed to be valid for the archlinux version of vdirsyncer?
Last edited by kde35 (2019-01-09 16:52:08)
Offline
As can be found here, the correct syntax is [["cal","calendar1","calendar2"]], and not ["cal","calendar1","calendar2"] as one may believe by reading the relevant section of the !full configuration manual".
Offline