Skip to content

[Bug]: Webdav broken after update Nextcloud 30.0.6 to 31 - plus Workaround - Solved by removing "emlviewer" #51138

@tobefrank1

Description

@tobefrank1

⚠️ This issue respects the following points: ⚠️

Bug description

After updating Nextcloud from 30.0.6 to 31.0. Webdav stopped working.

There is a new setup errors warning:

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 Web server can connect to itself. Therefore, it must be able to resolve and connect to at least one of its trusted_domains or the overwrite.cli.url. This failure may be the result of a server-side DNS mismatch or outbound firewall rule.
Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/caldav For more details, see the documentation ↗.

The point is that Webdav and caldav were working in 30.0.6 without a problem, now they are broken.
I have no clue what to do, as Google tell that in older problems only "Wait for the new update" was the solution.

Workaround:
The Nextcloud desktop app is working. Trying to mount Webdav with Mountain Duck (proprietary for Win) fails, but using Mountain Duck in Nextcloud mode works.

Steps to reproduce

  1. Update to Nextcloud 31

Expected behavior

Webdav - Caldav - working.
Update with no errors.

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Nginx

Database engine version

MariaDB

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

Upgraded to a MAJOR version (ex. 31 to 32)

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": [
            "https:\/\/cloud.server.com",
            "localhost",
            "127.0.0.1",
            "cloud.server.com",
            "192.168.188.160",
            "192.168.188.0"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.0.18",
        "overwrite.cli.url": "https:\/\/cloud.server.com",
        "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***",
        "activity_expire_days": 14,
        "allow_local_remote_servers": true,
        "auth.bruteforce.protection.enabled": true,
        "forbidden_filenames": [
            ".htaccess",
            "Thumbs.db",
            "thumbs.db"
        ],
        "cron_log": true,
        "default_phone_region": "NL",
        "enable_previews": true,
        "preview_max_filesize_image": "5",
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI"
        ],
        "filesystem_check_changes": 0,
        "filelocking.enabled": "true",
        "htaccess.RewriteBase": "\/",
        "integrity.check.disabled": false,
        "knowledgebaseenabled": false,
        "log_rotate_size": "104857600",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "loglevel": 2,
        "logtimezone": "Europe\/Berlin",
        "maintenance_window_start": 1,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "overwriteprotocol": "https",
        "preview_max_x": 1024,
        "preview_max_y": 768,
        "preview_max_scale_factor": 1,
        "profile.enabled": false,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0.5,
            "dbindex": 1
        },
        "quota_include_external_storage": false,
        "share_folder": "\/Freigaben",
        "skeletondirectory": "",
        "trashbin_retention_obligation": "auto, 7",
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "ail_domain": "sherart.com",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "app_install_overwrite": [],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "data-fingerprint": "1a23d33daba1b5f12b4e13440a1c17"
    }

List of activated Apps

Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - assistant: 2.4.0
  - bookmarks: 15.1.0
  - calendar: 5.1.2
  - circles: 31.0.0-dev.0
  - cloud_federation_api: 1.14.0
  - collectives: 2.16.1
  - comments: 1.21.0
  - contacts: 7.0.1
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - emlviewer: 1.0.11
  - end_to_end_encryption: 1.17.0
  - event_update_notification: 2.6.1
  - federatedfilesharing: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 4.2.2
  - nextcloud_announcements: 3.0.0
  - notes: 4.11.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0-dev.1
  - previewgenerator: 5.8.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - richdocuments: 8.6.2
  - richdocumentscode: 24.4.1204
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - systemtags: 1.21.1
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webapppassword: 25.2.0
  - workflowengine: 2.13.0
Disabled:
  - bruteforcesettings: 4.0.0 (installed 4.0.0)
  - context_chat: 4.1.0 (installed 4.1.0)
  - deck: 1.15.0 (installed 1.15.0)
  - encryption: 2.19.0
  - external: 6.0.1 (installed 6.0.1)
  - extract: 1.3.6 (installed 1.3.6)
  - federation: 1.21.0 (installed 1.14.0)
  - files_accesscontrol: 2.0.0 (installed 2.0.0)
  - files_fulltextsearch: 30.0.0 (installed 30.0.0)
  - files_inotify: 0.2.2 (installed 0.1.15)
  - fileslibreofficeedit: 2.0.1 (installed 2.0.1)
  - firstrunwizard: 4.0.0 (installed 2.13.0)
  - fulltextsearch: 31.0.0 (installed 31.0.0)
  - fulltextsearch_elasticsearch: 31.0.0 (installed 31.0.0)
  - geoblocker: 0.5.15 (installed 0.5.15)
  - groupfolders: 19.0.3 (installed 19.0.3)
  - openotp_auth: 1.30.5 (installed 1.30.5)
  - ownershiptransfer: 1.1.0 (installed 1.1.0)
  - side_menu: 4.0.1 (installed 4.0.1)
  - spreed: 21.0.0 (installed 21.0.0)
  - support: 3.0.0 (installed 1.7.0)
  - survey_client: 3.0.0 (installed 1.12.0)
  - suspicious_login: 9.0.1
  - translate: 2.2.0 (installed 2.2.0)
  - user_ldap: 1.22.0
  - user_migration: 7.0.1 (installed 7.0.1)
  - webhook_listeners: 1.2.0 (installed 1.1.0-dev)
  - whiteboard: 1.0.5 (installed 1.0.5)
  - workflow_script: 2.0.0 (installed 2.0.0)

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions