nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.33k stars 3.97k forks source link

[Bug]: Nextcloud 29 - Trying to download folder opens empty tab #45386

Closed rostwald closed 3 days ago

rostwald commented 2 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

After upgrading to Nextcloud 29.0.0 (against common sense....) the 'download' functionality in file manager is broken for folders. It only opens an empty tab.

Steps to reproduce

  1. Open File Manager
  2. klick on the three-dot-menu or mark a random folder
  3. select "download"
  4. empty tab opens

Expected behavior

A download dialogue should open

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Other

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

PostgreSQL

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

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "apps_paths": [
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            },
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps-pkg",
                "url": "\/apps-pkg",
                "writable": true
            }
        ],
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "mynextcloud.tld",
            "nextcloud.mylocaldomain.lan",
            "172.25.51.83",
            "nextcloud.mydomain.tld"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "29.0.0.19",
        "overwrite.cli.url": "http:\/\/nextcloud.mydomain.tld",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "maintenance_window_start": 1,
        "app_install_overwrite": [
            "passman",
            "end_to_end_encryption",
            "files_ebookreader",
            "dropit",
            "ocr",
            "files_reader",
            "twofactor_yubikey",
            "twofactor_totp",
            "epubreader"
        ],
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "PLAIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2,
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "has_rebuilt_cache": true,
        "default_phone_region": "DE",
        "allow_local_remote_servers": true,
        "app.mail.imap.timeout": 20,
        "app.mail.smtp.timeout": 20,
        "app.mail.sieve.timeout": 20,
        "app.mail.verify-tls-peer": true
    }
}

List of activated Apps

Enabled:
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.4
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - cookbook: 0.11.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - drawio: 3.0.2
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_external: 1.21.0
  - files_sharing: 1.21.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - integration_gitlab: 1.0.19
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - music: 1.11.0
  - nextcloud_announcements: 1.18.0
  - notes: 4.10.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - passwords: 2024.5.20
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - tasks: 0.16.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_totp: 11.0.0-dev
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - activity: 2.21.1 (installed 2.20.0)
  - admin_audit: 1.19.0
  - carnet: 0.25.4 (installed 0.25.4)
  - encryption: 2.17.0 (installed 2.16.0)
  - extract: 1.3.6 (installed 1.3.6)
  - files_pdfviewer: 2.10.0 (installed 2.5.0)
  - files_reminders: 1.2.0 (installed 1.0.0)
  - files_rightclick: 1.6.0 (installed 1.6.0)
  - files_trashbin: 1.19.0 (installed 1.10.1)
  - geoblocker: 0.5.14 (installed 0.5.14)
  - mail: 3.6.0 (installed 3.6.0)
  - snappymail: 2.36.1 (installed 2.36.1)
  - suspicious_login: 7.0.0
  - twofactor_email: 2.7.4 (installed 2.7.4)
  - user_ldap: 1.20.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

May 17 00:00:14 nextcloud newsyslog[26110]: logfile turned over
{"reqId":"Q9hIze9v0sIsZsAr2tLI","level":3,"time":"2024-05-17T01:02:19+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Can't get app storage, app files_external, user not logged in","userAgent":"--","version":"29.0.0.19","data":{"app":"core"}}
{"reqId":"Q9hIze9v0sIsZsAr2tLI","level":3,"time":"2024-05-17T01:02:19+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Can't get app storage, app files_external, user not logged in","userAgent":"--","version":"29.0.0.19","data":{"app":"core"}}
{"reqId":"Q9hIze9v0sIsZsAr2tLI","level":2,"time":"2024-05-17T01:36:31+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Used memory grew by more than 10 MB when executing job OC\\Core\\BackgroundJobs\\GenerateMetadataJob (id: 9509, arguments: null): 60.7 MB (before: 24.5 MB)","userAgent":"--","version":"29.0.0.19","data":{"app":"cron"}}
{"reqId":"Q9hIze9v0sIsZsAr2tLI","level":2,"time":"2024-05-17T01:36:31+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Cron job used more than 300 MB of ram after executing job OC\\Core\\BackgroundJobs\\GenerateMetadataJob (id: 9509, arguments: null): 765.5 MB (before: 24.6 MB)","userAgent":"--","version":"29.0.0.19","data":{"app":"cron"}}

Additional info

No response

LM-vb commented 2 months ago

I just upgraded to 29.0.0. Downloading files and folders works as expected.

skjnldsv commented 3 days ago

I just upgraded to 29.0.0. Downloading files and folders works as expected.

Same, cannot reproduce that issue anymore