dietpi-bugreport ID | sed -n 5p /DietPi/dietpi/.hw_model
Upgrade from Nextcloud 15.04 to 15.05
no error messages
Nextcloud -> Settings -> Overview under "Security & setup warnings"
"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."
I realize this is a Nextcloud upgrade issue and not a dietpi issue but the solutions I have found are for Apache/Nginx and/or on remote servers. See here: https://help.nextcloud.com/t/your-web-server-is-not-properly-set-up-to-resolve-ocm-provider/48530
I'm running the default dietpi Nextcloud installation that includes lighttpd webserver on a local server and I can't figure out how I would resolve this error message using my particular configuration and the solutions I've found on the Nextcloud forum. Any help as to what to change would be appreciated. Thank you.

@minnux
Many thanks for your report.
Yes I already recognized the same.
On my Apache server I solved it by adding:
Redirect permanent /ocm-provider /nextcloud/ocm-provider
Redirect permanent /ocs-provider /nextcloud/ocs-provider
On Lighttpd run:
echo '# Redirect OCM/OCS requests to Nextcloud endpoint:
url.redirect = (
"^/ocm-provider" => "/nextcloud/ocm-provider",
"^/ocs-provider" => "/nextcloud/ocs-provider"
)' >> /etc/lighttpd/conf-available/99-dietpi-nextcloud.conf
I will add this to our configs for v6.22.
PR up and ready to test, however solution is quite clear: https://github.com/MichaIng/DietPi/pull/2639
That didn't resolve it. Should the last part be nextcloud.conf and not owncloud.conf?
@minnux
Whoopsie jep of course, copy&paste from wrong install 馃槄. Remove the owncloud.conf again 馃槈.
Nextcloud web interface fails to load now. Here is my current 99-dietpi-nextcloud.conf
$HTTP["url"] =~ "^/nextcloud($|/)" {
setenv.add-environment += (
"PHP_ADMIN_VALUE" => "opcache.memory_consumption=128",
)
}
# Set "Referrer-Policy" = "no-referrer" security header
setenv.add-response-header = ( "Referrer-Policy" => "no-referrer" )
# Redirect OCM/OCS requests to Nextcloud endpoint:
url.redirect = (
"^/ocm-provider" => "/nextcloud/ocm-provider",
"^/ocs-provider" => "/nextcloud/ocs-provider"
)
@minnux
Jep also ran into this issue. url.redirect = ( fails if it is two times inside the configs.
Please change it to url.redirect += (, at best as well in the second occurrence: /etc/lighttpd/conf-enabled/99-dietpi-dav_redirect.conf
It worked! Thanks for the feedback. No more error messages.