Closed Sprinterfreak closed 5 months ago
The particular check that triggers that error is this one:
It's a little different than the install time check (the one you found).
Also, in v29 all these checks are server-side now and they check every one of your configured trusted_domains
and the overwrite.cli.url
value.
In this case, that check only comes up positive if it's getting a 200
(OK) response from one of those URLs.
Can you check what accessing https://[each of your domains]/[
datadirectory]/.ocdata
via curl
(or equivalent) from your Nextcloud server itself returns (container not host, if using containers)?
So I tested every IP and every fqdn possible, http and https.
http just redirects (301) to https like configured.
https results either in 403 nginx error-page or the front-controller rendering a 404 Page not found.
I mean, the data directory resides outside the webroot. I can't imagine how nginx should be able to get to it.
There is no symlink to the data directory in the webroot either. Even tested with curl --head
like the check does - no difference, can't get 200 anywhere.
I'am not using containers.
Ah wait. I hacked a debug print into the response check. The affected $dataURL reads "//var/nc-data/.ocdata" which gets read from filesystem directly. I guess thats not anticipated to happen?
@kesselb You are right. Closing this because of duplicate of #45087
⚠️ This issue respects the following points: ⚠️
Bug description
On IDN instances, the check falsely reports
My guess is, that https://github.com/nextcloud/server/blob/49c42c36aedf69ea8393c6cbc4387e04adc84761/lib/private/legacy/OC_Util.php#L883 fails to tetch the url if the domain contains umlauts, which corrupts the test condition.
Steps to reproduce
Expected behavior
The check should not be displayed if there is no issue
Installation method
Community Manual installation with Archive
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MySQL
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?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response