Calendar and Contact sync using Android app Davdroid worked just fine until I manually upgraded from Nextcloud 10 to NextCloud 11.
I’m using Nginx, and made this change into configuration file after I noticed the sync doesn’t work anymore:
rewrite ^/.well-known/carddav /remote.php/dav/ permanent;
rewrite ^/.well-known/caldav /remote.php/dav/ permanent;
But it did not help.
This line appears in the log:
Sabre\DAV\Exception\NotFound: HTTP/1.1 404 Principal with name users not found
I have read your nginx configuration guide and have searched the forum (and google & duckduckgo), but could not find any solution. Where’s the problem?