Nextcloud Calendar Sync via CalDAV

Nextcloud is the global standard for open-source private cloud storage, contacts, and calendars. LockMyCal delivers native compatibility with Nextcloud Calendar.


1. Finding Your Nextcloud CalDAV URL

  1. Log in to your Nextcloud web dashboard.
  2. In the top navigation bar, open Calendar.
  3. In the lower left corner, click Calendar settings.
  4. In the Primary CalDAV address section or next to a specific calendar, click the three dots ... and choose Copy CalDAV link.

Typical Nextcloud CalDAV URL structures:

https://cloud.yourdomain.com/remote.php/dav/principals/users/USERNAME/

Or for a specific calendar collection:

https://cloud.yourdomain.com/remote.php/dav/calendars/USERNAME/calendar-slug/

For optimal security, avoid using your main user password, particularly if Two-Factor Authentication (2FA) is active on your Nextcloud account:

  1. Click your profile avatar in the upper right corner and select Personal settings.
  2. In the left sidebar, click Security.
  3. Scroll to the Devices & sessions section.
  4. In App name, enter LockMyCal and click Create new app password.
  5. Copy the generated single-use token.

3. Configuring in LockMyCal

  1. In the LockMyCal dashboard, go to Integrations → Calendars → Connect a calendar and choose Nextcloud.
  2. Complete the form:
    • Integration Name: My Nextcloud
    • Server URL: https://cloud.yourdomain.com (calendars are auto-discovered; full CalDAV endpoints work as well)
    • Username: Your Nextcloud username
    • Password / App Password: Your generated app password (LockMyCal explicitly prompts for app passwords with Nextcloud)
  3. Click Discover calendars.
  4. Select which calendars to read for conflict detection and write to for new bookings, then click Save selection.