after updating Nextcloud to version 29 I get the error-message:
Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/caldav
I searched for this error allready. I found that the .htaccess has to be changed. I did that with the result that my nextcloud wasn’t reachable anymore. Only a restore of a backup got me back to business.
What is the right way to solve this issue?
Required Information
DietPi version
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=4
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’
Distro version
bookworm
Kernel version
Linux DietPi 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
EDIT: Okay, known bug, a fix has been basically found and will likely be merged with next Nextcloud update. There is also a webserver config change required currently, but probably the check can be relaxed, as I guess it is stricter than the Nextcloud handler itself.
I had the same problem after updating to 29. In my case, what worked was editing /etc/apache2/conf-enabled/dietpi-dav_redirect.conf and adding a " / " at the end of those two lines.
So from this:
Not sure if after Nextcloud sends the next update it will have to be removed (I don’t know the why it is needed now or if it is needed going forward) but for now it removes the warning for me.