Skip to content
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]: False alarm for Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken. #48593

Closed
5 of 8 tasks
catarse-natural opened this issue Oct 7, 2024 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug feature: settings needs info

Comments

@catarse-natural
Copy link

catarse-natural commented Oct 7, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

Since migrating to NC29.0.0 there have been several new issues with Security & setup warnings since the mechanism changed for extenal checks. I followed all upgrade documentation for migration here Upgrade to Nextcloud 28 — Nextcloud latest Administration Manual latest documentation 99.

Having that said, I am having since 29.0.7 (also tested on 29.0.8RC1) a red error message:
Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url.

I checked my config.php and actually I use a domain (no subfolder) with apache in the front.

Steps to reproduce

  1. Just check Security & setup warnings.

Expected behavior

No warning or a more descriptive reason for the error.

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

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": [
            "my.domain.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.8.0",
        "overwrite.cli.url": "https:\/\/my.domain.org",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "BE",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "0"
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "maintenance_window_start": 2,
        "updater.release.channel": "beta"
    }
}

List of activated Apps

I belive not relevant.

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No errors in the last days.

Additional info

No response

@catarse-natural catarse-natural added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 7, 2024
@joshtrichards
Copy link
Member

What does the output of the following (executed from the server itself) return?

 curl -i -X PROPFIND https://my.domain.org/remote.php/webdav

It should be either a 401 or a 207.

@catarse-natural
Copy link
Author

catarse-natural commented Oct 7, 2024

@joshtrichards I see a strange result since from outside and from the browser my certificate is perfectly valid issued by Let's Encrypt.

curl -i -X PROPFIND https://my.domain/remote.php/webdav
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

I did not find in the documentation any new requirements for how certificates should be generated. Am I missing something?

@joshtrichards
Copy link
Member

Nextcloud doesn't have anything to do with certificate generation (nor HTTPs configuration) unless you're using an AIO deployment.

You'll have to debug your infrastructure. Perhaps post a query on the help forum - https://help.nextcloud.com

Wild guess: I have no idea where you're terminating your HTTPS, but make sure my.domain resolves to the same thing (DNS) when queried from your actual server where you ran the curl command as it does from the outside world.

@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug feature: settings needs info
Projects
None yet
Development

No branches or pull requests

3 participants