I have a relatively new/clean manual install of NC 15.0.4 and I am trying to make my way through the security & setup warnings. This post relates to the following two warnings:
Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the documentation.
Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the documentation.
if I browse to “mynextcloud” I get a functional version of NextCloud (spoiler alert, this is NOT public facing, and is relying on my personal DNS lookup for this).
if I browse to “mynextcloud/remote.php/dav/” I get a page saying “This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.”
if I browse to “mynextcloud/remote.php/dav/” I get a page saying “This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.”
if I browse to “mynextcloud/.well-known/caldav” I get a page saying “The requested URL /.well-known/caldav was not found on this server.”
My suspicion is that the redirect (or lookup for redirect) is not occurring.
Below is part of my “.htaccess” file in apache (this seems to be the relevant portion, if the full file is needed I can provide that).
I have read through a number of other forum posts on this website but most of them either seem to be related to specific quirks in synology (which I’m not using) or recommend changing the .htaccess file to have a specific redirect that does not seem to translate to my case. As I said above, I have a url that seems to work so I do not think a symlink is the correct approach…but if someone can provide a functional symlink, I’ll take it!
I am also having a similar problem. Did you ever find a solution for this @coatmaker618 ?
My htaccess contains the same stuff as yours. But I’m on nginx, while you’re on apache. I don’t know if that makes difference but wanted to note that in case it was pertinent to my issue.
I see a lot of threads commenting on this issue in all of them they seem to indicate that redirect information about the web dav etc are supposed to be held in the apache or nginx configuration directly instead of in the .htaccess of nextcloud? But the .htaccess of nextcloud 16 ships with this information in it’s htaccess so there must be something missing?
Here’s a thread I found that seemed to indicate the issue was related to the apache or nginx settings: Caldav and carddav error resolving
@ thedonquixotic I have not found a solution for this issue I’ve actually gotten distracted with other problems and haven’t looked at this for some time–but I can refresh my memory when I get a chance over the weekend and what I can make of that forum post!
I’ve looked over the nginx configuration you linked and I think I’ve got the necessary well-known/caldav information.
My nextcloud configuration is found /etc/nginx/conf.d/cloud.jackalope.tech and it contains the following information. The information is slightly different in multiple places but mostly it looks the same, and since my nginx was set up via an ansible playbook I’m not honestly sure how much those differences matter or not.