question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CalDav Synchronization with Nextcloud not working

See original GitHub issue

Your Environment

  • Version used: superProductivity_7.6.0_amd64.deb
  • Operating System and version: Linux Mint 20.2
  • Desktop Environment: Cinnamon
  • Browser Name and version:

Expected Behavior

Adding a new project, selecting CalDav Sync, filling the base dav url, the Nextcloud user name and password and the calendar name should successfully show you the list of tasks.

Current Behavior

Adding a new project, selecting CalDav Sync, filling the base dav url, the Nextcloud user name and password and the calendar name returns an error of failed synchronization.

Steps to Reproduce (for bugs)

  1. Add New Project
  2. Select “Configure CalDav Integration”
  3. Fill the fields: baseURL: “https://mycloud.example.org/remote.php/dav”; CalDav resource: “accademia” (in my case); user and password
  4. Save
  5. Click on the Sync button to check if the synchronization works

Console Output

Error: Not able to get rev for WebDAV
    at t._getRevFromMeta (web-dav-sync.service.ts:116)
    at t.<anonymous> (web-dav-sync.service.ts:48)
    at Generator.next (<anonymous>)
    at o (main.0726891bcbe9eeb4eb61.js:1)
    at l.invoke (zone.js:372)
    at Object.onInvoke (core.js:28672)
    at l.invoke (zone.js:371)
    at t.run (zone.js:134)
    at zone.js:1276
    at l.invokeTask (zone.js:406)

Error Log (Desktop only)

[2021-10-09 14:30:03.002] [error] Frontend Error: { HANDLED_ERROR_PROP: 'Caldav: Error: CALENDAR NOT FOUND: accademia' } undefined
[2021-10-09 14:30:03.008] [error] Frontend Error Stack:

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
krillin666commented, Apr 4, 2022

I know this was done with Nextcloud in mind, however I can’t setup this also for Vikunja using its caldav link I get: global-error-handler.class.ts:33 GLOBAL_ERROR_HANDLER {HANDLED_ERROR_PROP: "Caldav: Error: CALDAV NETWORK ERROR: TypeError: Cannot read properties of null (reading 'split')"}

The CalDav link for vikunja is in the form of my.vikunja.instance/dav/principals/MyUsername

1reaction
alacechocommented, Mar 12, 2022

Hello! Same issue for me. Debian testing with Appimage 7.10.1, and deb package. Alex.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nextcloud 20.0.4.0 SSL issues with CalDAV on iOS 15.4.1
1 we are not able to use the CalDAV anymore. It seem it is an SSL issue. We tried ports 8443, 443 and...
Read more >
Solved - DAVx5 Android not syncing to CALDAV after updates
When I go to the calendar app in Nextcloud webpage and click “Copy primary caldav link” I get an error saying “CalDAV link...
Read more >
Calendar Sync with CalDAV not working (Outlook)
Hi there, i have the exact same Problem like in this post (Can't create/delete calendar entry in shared calendar via CalDAV) with Outlook...
Read more >
CalDav-Sync via nextcloud/DavX5 (Android) stopped working
Dear Community,. I have been using OwnCube to sync my five CalDav-Calendars for years succesfully. Syncing devices are: Two Android Phones ...
Read more >
Nextcloud won't sync with Davx5 - ℹ️ Support
Hi,. It's still a problem without google. I write a new post here : DAVx5: Couldn't find CalDAV or CardDAV service - #4...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found