“Failed to run setup checks” Issue

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • nginx/1.26.3
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx/1.28.0
  • PHP version (e.g, 8.3):
    • PHP 8.4.11
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • since yesterday i installed the server
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

When navigating to Administration → Overview → Security & setup warnings, the message “Failed to run setup checks” is displayed.

Steps to replicate it (hint: details matter!):

  1. Log in to Nextcloud as an administrator.
  2. Open Settings → Administration → Overview → Security & setup warnings.
  3. Observe the error banner “Failed to run setup checks”.

Log entries

Nextcloud

none

Web Browser

[ERROR] settings: Failed to load setup checks 
Object { app: "settings", uid: "Tealk", level: 2, error: {…} }
index.mjs:54:17
    log index.mjs:54
    error index.mjs:72
    y AdminSettingsSetupChecks.vue:51

Web server / Reverse Proxy

none

Configuration

Nextcloud

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "hub.fedi.camp"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.2.2",
        "overwrite.cli.url": "http:\/\/hub.fedi.camp",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 1,
            "timeout": 1.5
        },
        "app_install_overwrite": [],
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "PLAIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtptimeout": 30,
        "maintenance": false,
        "data-fingerprint": "6d1a6f63b76dcfd8a316231f9030d03d",
        "loglevel": 2
    }
}

Apps

Enabled:
  - activity: 5.0.0-dev.0
  - app_api: 32.0.0
  - bruteforcesettings: 5.0.0-dev.0
  - calendar: 6.1.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - collectives: 3.3.0
  - comments: 1.22.0
  - contacts: 8.1.0
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - forms: 5.2.2
  - groupfolders: 20.1.4
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notes: 4.12.3
  - notifications: 5.0.0-dev.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - photos: 5.0.0-dev.1
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - richdocuments: 9.0.1
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - support: 4.0.0-dev.0
  - survey_client: 4.0.0-dev.0
  - systemtags: 1.22.0
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_nextcloud_notification: 6.0.0-dev.0
  - twofactor_totp: 14.0.0
  - twofactor_webauthn: 2.4.1
  - updatenotification: 1.22.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Disabled:
  - admin_audit: 1.22.0
  - encryption: 2.20.0
  - files_external: 1.24.0
  - mail: 5.5.15 (installed 5.5.15)
  - suspicious_login: 10.0.0-dev.0
  - user_ldap: 1.23.0

Hello

had the same issue while having 32.0.1 behind a nginx proxy.

occ setupchecks -vvv reported

✓ Overwrite CLI URL: The “overwrite.cli.url” option in your config.php is set to “https://” which is a correct URL. Suggested URL is “https://localhost”.

Could solve the issue in the web interface by changing overwrite.cli.url

FROM

‘overwrite.cli.url’ => ‘https://’,
TO
‘overwrite.cli.url’ => ‘https://localhost’,

Now I get expected output as well within the web interface.

Thanks, that worked on one of two servers.

On another server I saw upstream timeouts in nginx error log. Therefor I increase timeouts.

Here my config in nginx

proxy_connect_timeout 360s;
proxy_send_timeout 360s;
proxy_read_timeout 360s;

Timeouts are already set to 900

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.