• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Nextcloud Your web server is not properly set up to resolve

kimharding

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.56 Update #4, last updated on Nov 8, 2023 06:27 AM
I have installed a Nextcloud instance using the Plesk installer. Everything seemed to set up smoothly, I logged in to Nextcloud, when to the Administration Overview where I found the following error messages

There are some warnings regarding your setup.
  • Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation ↗.
  • Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation ↗.
  • 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 ↗.
I followed the link to the documentation and applied the recommended changes to the .htaccess, but that didn't solve the problem. Trying to use caldav from Thunderbird comes up with a 404 error. So somewhere the required redirect is not happening. As Plesk installed that Nextcloud instance, I don't know what the file path should be. How do I sort this out? Clearly, Plesk is not configuring the path correctly on set up.
 
Found solution, just add this:
Code:
rewrite ^/.well-known/host-meta$ /public.php?service=host-meta permanent;
rewrite ^/.well-known/host-meta.json$ /public.php?service=host-meta-json permanent;
rewrite ^/\.well-known/carddav$ /remote.php/dav permanent;
rewrite ^/\.well-known/caldav$ /remote.php/dav permanent;
rewrite ^/\.well-known/webfinger$ /index.php/.well-known/webfinger permanent;
rewrite ^/\.well-known/nodeinfo$ /index.php/.well-known/nodeinfo permanent;
to Additional nginx directives at plesk
 
Back
Top