Open Lawkss opened 3 months ago
You did not fill out the issue template. Any chance you have the optional social
app installed?
Most likely the same as https://github.com/nextcloud/server/issues/45033
I added apps and config. It did NOT work for me applying the patch of #45033
Since your nextcloud resides in a subdirectory:
additionally to adding trailing slashes to the redirects, did you also patch apps/settings/lib/SetupChecks/CheckServerResponseTrait.php
as well?
https://github.com/nextcloud/server/issues/45033#issuecomment-2095742325
The patch fixes the webfinger error but introduces two new errors for CalDAV and CarDAV
changing the redirect from remote.php/dav
to remote.php/dav/
with a / at the end fixes all errors.
The documentation does not mention / at the end only at the beginning for vhost configs. (I am on apache)
Can the patch be changed so it works without / at the end? Or is that a bad thing?
I experience the exact same issue (plus others) on 29.0.1.
I don't have social installed
I don't have nextcloud setup in a subdirectory (nextcloud root is host's root)
This is no fixed in NC 29.0.2
You still need to apply this patch after updating:
https://github.com/nextcloud/server/issues/45033#issuecomment-2095742325
I can confirm this issue exactly, Nextcloud Hub 8 (29.0.6) on Archlinux:
kernel: 6.10.8-arch1-1
Apache: 2.4.62 (Unix)
OpenSSL: 3.3.1
PHP: 8.2.23
This issue appeared some time ago with upgrade to Nextcloud 28 if I recall correctly. It was never there before from at least Nextcloud 25 - 27.
Browsing to https://my.domain.tld/.well-known/webfinger
redirects to https://my.domain.tld/nextcloud/index.php/.well-known/webfinger
with the raw output being:
{"message":"webfinger not supported"}
I'm not sure the [Closed] tag is warranted.
⚠️ This issue respects the following points: ⚠️
Bug description
When upgrading from NC28 to NC29 the following error appeared:
Your web server is not properly set up to resolve
.well-known
URLs, failed on:/.well-known/webfinger
However going to
mydomain.tld.com/.wellknown/webfinger
correctly redirects to/myNCsubdir/.wellknown/webfinger
My config has not changed from NC28 and worked for many main releases of NC:
This what I have been using in the apache conf. Only webfinger is reported as failed.
Using RewriteRule in .htaccess as per documentation does not solve the problem. Using RewriteRule in vhost as per documentation with additional ^/\ does not solve the problem.
Steps to reproduce
Expected behavior
I would expect it to detect it is working.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
29
Operating system
RHEL/CentOS
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response