Skip to content

[Bug]: NC24.0.1 Files and WebDAV doesn't work after update #32609

@Termindiego25

Description

@Termindiego25

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

On monday, my NC showed an available update at the server settings and I tried to install it. First of all, I updated from 23.0.4 to 23.0.5 without errors, and then showed another update to 24.0.1 version, installed withour errors but with some incompatible apps.

Once all was updated, I checked the security controls of the dashboard and it showed that opcache is needed and a “x-download-options” header is missing. I tried to add it without any shown errors and the checks work fine.

When I tried to access to the website with the main domain, it doesn’t works and show a message of an internal error and inviting to check the logs. Then I tried to access with an administrator account and the error is out, but when I tried to access my files, they are not working. Using the website, I can list the folders at the first level of my user files folder, but when I click one the page refreshes without showing the content and showing again the same. Also, trying with WebDAV, Windows or Android client doesn’t work too because they can’t connect to my NC server.

I also tried to remove the “x-download-options” header, repair tree, repair installation, scan folders… with the OCC commands but I could not repair the problem.

Can you help me to solve this problem? Any information you need, do not hesitate to ask for them.
Thank you

Steps to reproduce

(what I have did)

  1. Update from 23.0.4 to 23.0.5, and then to 24.0.1
  2. Add the “x-download-options” to the apache configuration like the Nginx recommended at the config guide (with the noopen)
  3. Add php-opcache package to the system

Expected behavior

Once all is updated and installed, I should be able to access all files and folders in my server using website, and WebDAV, Android or Windows app should be able to connect to the server instead of throw a connection error.
Also, I should be able to login with no administrator users instead of receive an internal error and an invitation to contact an administrator to check logs

Installation method

Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

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": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "termincloud.diegosr.es",
            "192.168.1.118",
            "terminx.diegosr.es",
            "mre.diegosr.es"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.1.1",
        "overwrite.cli.url": "https:\/\/termincloud.diegosr.es",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "ES",
        "memcache.local": "\\OC\\Memcache\\Memcached",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "ocr",
            "pdfdraw",
            "customproperties",
            "files_external_onedrive",
            "camerarawpreviews",
            "documentserver_community",
            "files_3d",
            "imageconverter",
            "hsts"
        ],
        "maintenance": false,
        "theme": "",
        "loglevel": "1",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.3.1
  - camerarawpreviews: 0.7.15
  - cfg_share_links: 2.0.0
  - circles: 24.0.0
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.1.1
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - deck: 1.7.0
  - documentserver_community: 0.1.12
  - extract: 1.3.5
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_automatedtagging: 1.14.0
  - files_downloadactivity: 1.13.0
  - files_external: 1.16.1
  - files_markdown: 2.3.6
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - files_zip: 1.1.1
  - firstrunwizard: 2.13.0
  - forms: 2.5.0
  - hsts: 0.9.0
  - imageconverter: 1.3.2
  - integration_google: 1.0.6
  - integration_onedrive: 1.1.2
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.12.0
  - maps: 0.1.10
  - metadata: 0.16.0
  - ncdownloader: 0.9.33
  - nextcloud_announcements: 1.13.0
  - notes: 4.3.1
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - onlyoffice: 7.3.4
  - password_policy: 1.14.0
  - photos: 1.6.0
  - previewgenerator: 5.0.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - ransomware_protection: 1.13.0
  - recommendations: 1.3.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - side_menu: 2.3.5
  - spreed: 14.0.1
  - support: 1.7.0
  - survey_client: 1.12.0
  - systemtags: 1.14.0
  - tasks: 0.14.4
  - text: 3.5.1
  - theming: 1.15.0
  - theming_customcss: 1.11.0
  - timetracker: 0.0.74
  - transfer: 0.5.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - user_status: 1.4.0
  - video_converter: 1.0.5
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflow_ocr: 1.24.1
  - workflowengine: 2.6.0
Disabled:
  - customproperties: 2.0.4
  - drawio: 1.0.2
  - encryption
  - epubreader: 1.4.7
  - facerecognition
  - files_3d: 0.5.0
  - files_antivirus: 3.2.2
  - music: 1.5.2
  - occweb: 0.1.0
  - ocdownloader: 1.8.0
  - ocr: 6.0.58
  - scanner: 0.2.2
  - signlive: 0.1.11
  - user_ldap

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Link to nextcloud downloaded log: https://www.diegosr.es/nextcloud.log

Additional info

Link to Apache access log
Link to Apache error log

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions