-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: "Error occurred while checking server setup" on 29.0.6.1 #47907
Comments
This comment was marked as resolved.
This comment was marked as resolved.
That issue affects I'll check it anyway, I just wait the next minor release. |
This means there is something fishy with your server software (php-fpm or nginx) this is unrelated to Nextcloud. |
Can you check your browser logs (dev tools) and also the network tab? |
I thought the same but I switched from nginx 1.22.1 to 1.25.5 and is the same; on nextcloud 28, and till 29, I never had this issue while the rest was the same (nginx and php 8.2). PS: I'm a developer so you can ask me to do whatever tech stuff PS: nothing is visible with |
when I access https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview ... |
When I open any of these links in another browser tab: |
https://adrhc.go.ro/nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json works and is very similar (as URL) to https://adrhc.go.ro/nextcloud/ocs/v2.php/cloud/groups/details which doesn't (I'm not sure if it should) - this means that most probably my environment is fine (i.e. nginx, php, fpm). Besides, the problems are only with https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview, any other page has no issue (in browser's Developer tools) hence it's hard to believe there's something wrong with my setup. https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview takes about 4-5s to execute and based on those 6 or 12 nginx crashes behind scene I guess it tries about 6 paths and it fails; if I remember correcly, URLGenerator -> getAbsoluteURL is generating about that amount (i.e. 6) of paths (see also #47880) -> but does this really matters? even with |
I'm not sure those nginx crashes matter; when I run |
fyi: There are other reports in the forum that look similar. Apparently all affected users use Nextcloud in a subfolder. https://help.nextcloud.com/t/many-could-not-check-on-security-and-setup-warnings/201840 |
@susnux with 29.0.7 my nginx has less crashes, only 2, but I get these:
Somehow the nginx rewrites I used to "help"
|
This should be fixed with Nextcloud 29.0.8 the fix was merged today, so you would have to wait for the next maintenance release, sorry! But in your case: If apps like viewer, text or forms work. Then you can ignore those errors. They will vanish with that next release. |
@susnux is it possible to link the PR with the fix ? I have the same issue, but with a nextcloud not in a subfolder of the domain and I would like to see if the fix will also solve my issue. [Edit: issue was coming for a too big nextcloud.log file on my test environment - I should check my logrotate config] |
Bug description
The https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview page is showing the message:
but the command
occ setupchecks -vv
executes correctly; I use some rewrites, only on the http (port 80) server, on my nginx 1.25.5, to help it:These are the main issues reported because indeed, I don't have /.well-known/webfinger:
In my nginx error log I see around 6 or 12 lines like below, no matter whether the well-known check is performed:
The same happens for nginx 1.22.1 and 1.27.1; it doesn't happen though for nextcloud 28; on nextcloud 28 https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview worked fine; I migrated from 28 to 29 and now I stumble on this issue.
I use Nextcloud in a subdir of the NGINX webroot setup with a slight variation:
I added the nginx
root
declaration (e.g.root /var/www
) insidelocation ^~ /nextcloud
declaration because I want to have anotherroot
for my nginx global configuration.Steps to reproduce
Expected behavior
I expect the
occ setupchecks -vv
output to be displayed by https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview page instead of the "Error occurred while checking server setup" message.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. 28 to 29)
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
Additional info
my nextcloud server is working fine with no errors, not in its logs or Ubuntu's logs (files or systemd) or nginx logs (other than for https://adrhc.go.ro/nextcloud/index.php/settings/admin/overview page)
The text was updated successfully, but these errors were encountered: