Skip to content

Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/webfinger #58459

@monochromec

Description

@monochromec

⚠️ This issue respects the following points: ⚠️

Bug description

.well-known checks on Admin page

Steps to reproduce

  1. Ran extcloud/settings/admin/overview
  2. Got .well-known URLs
    Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/webfinger
    error message:
    {"reqId":"uBjvhhmoOD3PxuwYBvKQ","level":0,"time":"2026-02-20T13:29:13+01:00","remoteAddr":"127.0.0.1","user":"--","app":"serverDI","method":"GET","url":"/nextcloud/index.php/.well-known/webfinger","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Nextcloud Server Crawler","version":"32.0.0.13","data":{"app":"serverDI"}}

Expected behavior

.well-known check passing w/o error

nginx.conf (excerpt):

 location ^~ /.well-known {                                                                                  

                 location = /.well-known/carddav { return 301 /nextcloud/remote.php/dav/; }
                 location = /.well-known/caldav  { return 301 /nextcloud/remote.php/dav/; }

                 location /.well-known/acme-challenge    { root /opt; try_files $uri $uri/ =404; }
                 location /.well-known/pki-validation    { try_files $uri $uri/ =404; }
                 return 301 /nextcloud/index.php$request_uri;
		...
}

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Nginx

Database engine version

SQlite

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "<hostname>",
            "localhost"
        ],
        "overwrite.cli.url": "https:\/\/<hostname>\/nextcloud",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "sqlite3",
        "version": "32.0.0.13",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 1.5,
            "dbindex": 0
        },
        "loglevel": 2,
        "log_type": "file",
        "cron_log": true,
        "log_rotate_size": 0,
        "defaultapp": "files",
        "default_phone_region": "DE",
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "updatechecker": false,
        "logtimezone": "Europe\/Berlin",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "enable_previews": true,
        "preview_max_x": 100,
        "preview_max_y": 100,
        "maintenance_window_start": 1,
        "maintenance": false,
        "theme": "",
        "integrity.check.disabled": true,
        "data-fingerprint": "817381a21dafe9dfaf6f3464f7de5a63"
    }
}

List of activated Apps

Default apps which came with installation.

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions