Nextcloud and CalDAV

Ready for testing:


I’m running Nextcloud/Nethservers on about 10-15 Servers for my clients, and one for myself.
All have at least one Mac, I myself use also a few Macs.

All have no problems with NextCloud CalDAV Calendar on Mac or Thunderbird with Lightning.

However, I do have problems with newer Macs and CardDAV (Adressbook).
Mavericks works without any problems using CalDAV and CardDAV. Anything newer will get errors on CardDAV, while CalDAV (Calendar) works great!

CardDAV does work well with iOS, Mac Mavericks, and Thunderbird with the SoGo PlugIn.
CalDAV works well with iOS, Mac OS from Mavericks to the latest and Thunderbird with Lightning.

This is a bit of a problem I’d like to see solved asap… :slight_smile:

My 2 cents

Unless this is a problem of server configuration, I think you should ask directly to Nextcloud forum for such thing.

For make you fell less lonely, I couldn’t get Gnome to work nor with DAV nor with ActiveSync :smiley:



The problem here is ONLY about Nextcloud on Nethserver and CardDAV with OSX after Mavericks. (Sierra, High Sierra and Mojave).

It seems to work on other Nextcloud implementations. There are quite a few hosters out there who provide a Nextcloud instance - and most I’ve tested seem to work.

On other Distros Nextcloud also seems to work out of the box with CardDAV.

I also have one client who insists on using Outlook, both PlugIns there work quite well (CalDAV and CardDAV). This client is using Nethserver / Nextcloud.


Fine, so we need all info to debug the problem, please provide logs and errors.

OK, but will take a day or two (Got to install a Nethserver at a Dr’s place tomorrow…).

1 Like

I didn’t try Gnome, but the KDE Version of Kalendar / Contacts worked well - and was setup without issues…


1 Like


I have the same issue with my Macs, but only on the newer OS. Mavericks does the Calendar and Adressbook without any issues for initial connect and afterwards.

Apple changed some inside stuff on the CardDAV of OSX after Mavericks.
Mavericks works out of the box with both (CardDAV & CalDAV).

But not anything newer for OSX.

iPhones and iPads work without any hassle, except copying the link into the config.
I mail the URL from my Mac to an iOS, then I can copy and paste it into iOS Settings for a new CalDAV or CardDAV connection.
I can’t open Nextcloud, copy the link and paste it into the iOS, it just opens up the link in a browser window.

For those wondering why such an old OSX:
Mavericks is already quite old, but still works ok - and is the last OSX Version where Lightscribe still works. The Mavericks Box (An old iMac 20") is basically my CD/DVD Lightscribe burner… :slight_smile:

My 2 cents

RewriteRule ^\.well-known/carddav /nextcloud/remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /nextcloud/remote.php/dav/ [R=301,L]
RewriteRule /.well-known/carddav /nextcloud/remote.php/dav/
RewriteRule /.well-known/caldav /nextcloud/remote.php/dav/

worked for me too

The R part is for the redirection and the L marks the last rule.

In your case there’s no similar rule so it’s just rewritten which works too.

if the redirect is permanent, 301 is best for SEO. If the redirect is temporary , then sending a 301 header could be disastrous once you go back to using the original URL.

For more information about rewriting:


thanks for pointing out
my rules are
RewriteRule /.well-known/carddav /owncloud/remote.php/dav/ [R=301,L]
RewriteRule /.well-known/caldav /owncloud/remote.php/dav/ [R=301,L]
there was a copy paste problem