An error when syncing metadata between two Nextcloud servers
Hello,
I use the Vdirsyncer version 0.19.2. Python 3.12.3, Ubuntu 24.04LTS. I'm synchronizing two Nextcloud servers. Syncing data is always okay. I tried to sync metadata. I choosed color only for test. The Vdirsyncer reads colors without problems: debug: Key: color debug: A: #00FB00FF debug: B: #6ea68f debug: S: #00FB00FF
But after that, there is an error:
Copying color to caldav_nextcloud_ocloud_de/personal
debug: ====================
debug: PROPPATCH https://´zzzzz.ocloud.de/remote.php/dav/calendars/zzzzz/personal/
debug: {'User-Agent': 'vdirsyncer/0.19.2', 'Content-Type': 'application/xml; charset=UTF-8'}
debug: b'\n -vdebug to see the full traceback.
debug: File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/cli/tasks.py", line 156, in metasync_collection
debug: await metasync(
debug: File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/metasync.py", line 50, in metasync
debug: a = await storage_a.get_meta(key)
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/dav.py", line 693, in get_meta
debug: raise exceptions.UnsupportedMetadataError
Here is my config file: (username is replaced with zzzz)
**[general] status_path = "~/.vdirsyncer/status/"
[pair caldav_nextcloud] a = "caldav_nextcloud_ocloud_de" b = "caldav_nextcloud_nextcloud_org" collections = ["from a"] metadata = ["color"] conflict_resolution = "a wins"
[storage caldav_nextcloud_nextcloud_org] type = "caldav" url = "https://zzzzzz.next-cloud.org/remote.php/dav/calendars/zzzzzz/personal/" username.fetch = ["command", "/home/zzzzzz/VdirNextcloudUser.sh"] password.fetch = ["command", "/home/zzzzzz/VdirNextcloudPass.sh"]
[storage caldav_nextcloud_ocloud_de] type = "caldav" url = "https://zzzzzz.ocloud.de/remote.php/dav/calendars/zzzzzz/personal/" username.fetch = ["command", "/home/zzzzzz/VdirNextcloudUser.sh"] password.fetch = ["command", "/home/zzzzzz/VdirNextcloudPass.sh"]
[pair carddav_nextcloud] a = "carddav_nextcloud_ocloud_de" b = "carddav_nextcloud_nextcloud_org" #collections = ["from a"] collections = [["Personal", "contacts", "personal"]] metadata = ["color"] conflict_resolution = "a wins"
[storage carddav_nextcloud_ocloud_de] type = "carddav" url = "https://zzzzzz.ocloud.de/remote.php/dav/addressbooks/users/zzzzzz/contacts/" username.fetch = ["command", "/home/zzzzzz/VdirNextcloudUser.sh"] password.fetch = ["command", "/home/zzzzzz/VdirNextcloudPass.sh"]
[storage carddav_nextcloud_nextcloud_org] type = "carddav" url = "https://zzzzzz.next-cloud.org/remote.php/dav/addressbooks/users/zzzzzz/personal/" username.fetch = ["command", "/home/zzzzzz/VdirNextcloudUser.sh"] password.fetch = ["command", "/home/zzzzzz/VdirNextcloudPass.sh"]
[pair caldav_tabdigital] a = "caldav_nextcloud_ocloud_de" b = "caldav_nextcloud_tabdigital" collections = null metadata = ["color", "displayname"] conflict_resolution = "a wins"
[storage caldav_nextcloud_tabdigital] type = "caldav" url = "https://mia.nl.tab.digital/remote.php/dav/calendars/zzzzzz/personal/" username.fetch = ["command", "/home/zzzzzz/VdirNextcloudUser.sh"] password.fetch = ["command", "/home/zzzzzz/VdirNextcloudPass.sh"]
[pair carddav_tabdigital] a = "carddav_nextcloud_ocloud_de" b = "carddav_nextcloud_tabdigital" collections = null metadata = ["color"] conflict_resolution = "a wins"
[storage carddav_nextcloud_tabdigital] type = "carddav" url = "https://mia.nl.tab.digital/remote.php/dav/addressbooks/users/zzzzzz/contacts/" username.fetch = ["command", "/home/zzzzzz/VdirNextcloudUser.sh"] password.fetch = ["command", "/home/zzzzzz/VdirNextcloudPass.sh"]**