Nextcloud: Your web server is not properly set up to resolve “/ocm-provider/” "/ocs-provider/"

anyone else getting this message with the nextcloud 1.9.0 package?

There are some warnings regarding your setup.

  • Your web server is not properly set up to resolve “/ocm-provider/”. This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in “.htaccess” for Apache or the provided one in the documentation for Nginx at it’s documentation page. On Nginx those are typically the lines starting with “location ~” that need an update.
  • Your web server is not properly set up to resolve “/ocs-provider/”. This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in “.htaccess” for Apache or the provided one in the documentation for Nginx at it’s documentation page. On Nginx those are typically the lines starting with “location ~” that need an update.

Perhaps it could be the same like here:

He does only a link to the right directory.

I updated the server, I also get this warning

NextCloud 19.0.0
Provides NextCloud for NethServer
1.12.0

Solution, delete lines in /etc/httpd/conf.d/default-virtualhost.inc

Redirect 301 /ocm-provider /nextcloud/ocm-provider
Redirect 301 /ocs-provider /nextcloud/ocs-provider

but this one does not change the NethServer settings template
these lines return over time

@support_team
Can someone help?

I have the same problems

There are some warnings regarding your setup.

  • Your web server is not properly set up to resolve “/ocm-provider/”. This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in “.htaccess” for Apache or the provided one in the documentation for Nginx at it’s documentation page. On Nginx those are typically the lines starting with “location ~” that need an update.

  • Your web server is not properly set up to resolve “/ocs-provider/”. This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in “.htaccess” for Apache or the provided one in the documentation for Nginx at it’s documentation page. On Nginx those are typically the lines starting with “location ~” that need an update.

  • 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.

How can we fix this, if we cannot modify zz_nexcloud.conf derectly?

Solution, delete lines in /etc/httpd/conf.d/default-virtualhost.inc

…is not valid

the weird thing is, when i help with testing new nexcloud packages the packages from the testing repository don’t have the errors.

These warnings persist in Nextcloud 21. Is there no solution for this?

Hello please read Other Problems with nextcloud since June 2021 Update