镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Bug]: Drag and drop folder upload in subfolders not working #59197

Closed as duplicate

Description

@sujiba

⚠️ This issue respects the following points: ⚠️

Bug description

  1. On the website i've created a folder "test".
  2. After changing into the test folder i've tried to upload a folder "test_2", which contains some files, per drag and drop.
  3. I get the errors "Some files could not be uploaded" and "Target folder does not exist anymore"
  4. Nextcloud creates "test_2" folder under "All files"
Image Image

Steps to reproduce

  1. Upload a folder with files per drag an drop to a subfolder on website

Expected behavior

  1. Create a new folder "test_2" with all its contents under the folder "test"

Nextcloud Server version

33

Operating system

Other

PHP engine version

PHP 8.4

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. 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

/var/www/html # ./occ config:list system
{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED_FOR"
        ],
        "default_phone_region": "DE",
        "auth.bruteforce.protection.enabled": true,
        "maintenance_window_start": 1,
        "simpleSignUpLink.shown": false,
        "overwriteprotocol": "https",
        "upgrade.disable-web": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "files.offene.cloud"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "33.0.0.16",
        "overwrite.cli.url": "https:\/\/files.offene.cloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [],
        "maintenance": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "config_preset": 2,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "2525",
        "mail_smtpauth": false,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "",
        "loglevel": 2,
        "openmetrics_allowed_clients": [
            "127.0.0.1",
            "10.42.0.0\/16",
            "10.43.0.0\/16"
        ]
    }                                                                                                                                                                  }

List of activated Apps

var/www/html # ./occ app:list
Enabled:
  - bruteforcesettings: 6.0.0-dev.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contactsinteraction: 1.14.1
  - dav: 1.36.0
  - drawio: 4.2.3
  - federatedfilesharing: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0-dev.0
  - files_pdfviewer: 6.0.0-dev.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - firstrunwizard: 6.0.0-dev.0
  - groupfolders: 21.0.6
  - guests: 4.6.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0-dev.0
  - photos: 6.0.0-dev.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - related_resources: 4.0.0-dev.0
  - richdocuments: 10.1.0
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - text: 7.0.0-dev.3
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0-dev.0
  - updatenotification: 1.23.0
  - user_oidc: 8.6.0
  - viewer: 6.0.0-dev.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - activity: 6.0.0-dev.0 (installed 5.0.0-dev.0)
  - admin_audit: 1.23.0
  - app_api: 33.0.0 (installed 32.0.0)
  - circles: 33.0.0 (installed 32.0.0)
  - dashboard: 7.13.0 (installed 7.12.0)
  - encryption: 2.21.0
  - federation: 1.23.0 (installed 1.22.0)
  - files_external: 1.25.1
  - nextcloud_announcements: 5.0.0 (installed 4.0.0-dev.0)
  - privacy: 5.0.0-dev.0 (installed 4.0.0-dev.0)
  - recommendations: 6.0.0-dev.0 (installed 5.0.0-dev.0)
  - support: 5.0.0 (installed 4.0.0-dev.0)
  - survey_client: 5.0.0-dev.0 (installed 4.0.0-dev.0)
  - suspicious_login: 11.0.0-dev.0
  - systemtags: 1.23.0 (installed 1.22.0)
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0
  - user_status: 1.13.0 (installed 1.12.0)
  - weather_status: 1.13.0 (installed 1.12.0)

Nextcloud Signing status

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- INVALID_HASH
		- core/js/mimetypelist.js

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [core/js/mimetypelist.js] => Array
                        (
                            [expected] => cb945c6402e12d9e7d42d0359acf95a6e9a9b0c1f3bd8528f598a7fb1694e5ae34c80cf44ef6c8901eac1bfdd152de3315fc7eac007efee0f33f09ed3e518b6a
                            [current] => 6b290ba45e633706e1fe761ca21422053c113f17b2bb35f2351f2cf1c3b893aa543af6c594077ca213c755cfa0d002e22109bb1797bbadd8fb410ca839143e0e
                        )

                )

        )

)

Nextcloud Logs

/settings/admin/logging: No log entries were created during the tests.

Additional info

No response

Activity

  1. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Mar 25, 2026
  2. added theissue type on Mar 25, 2026
  3. skjnldsv commented on Mar 26, 2026

    @skjnldsv
    Member

    Hello!
    I will need your browser console log to investigate this issue.
    Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.

    How to access your browser console (Click to expand)

    Chrome

    • Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
    • Alternative method:
      1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
      2. Click the “console” tab.

    Safari

    • Press CMD + ALT + I to open the Web Inspector.
    • See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

    Firefox

    • Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
    • or, if Firebug is installed (recommended):
      1. Press F12 to open Firebug.
      2. Click on the “console” tab.

    Opera

    1. Press CTRL + SHIFT + I to open Dragonfly.
    2. Click on the “console” tab.
  4. self-assigned this
    on Mar 26, 2026
  5. moved this from To triage to Triaged in 🧑‍🤝‍🧑 Community triageon Mar 26, 2026
  6. sujiba commented on Mar 26, 2026

    @sujiba
    Author

    Hi,

    thanks for your response.

    I hope this is enough.
    XHRPUT
    https://domain.tld/remote.php/dav/files/admin_user/test/test_2/file1.pdf
    [HTTP/2 404  74ms]
    
    XHRPUT
    https://domain.tld/remote.php/dav/files/admin_user/test/test_2/file3.pdf
    [HTTP/2 404  131ms]
    
    XHRPUT
    https://domain.tld/remote.php/dav/files/admin_user/test/test_2/file2.pdf
    [HTTP/2 404  132ms]
    
    [ERROR] @nextcloud/upload: Failed uploading file1.pdf 
    Object { app: "@nextcloud/upload", uid: "admin_user", level: 2, error: AxiosError, file: File, upload: {…} }
    core-common.js:1:2920739
    [ERROR] @nextcloud/upload: Failed uploading file3.pdf 
    Object { app: "@nextcloud/upload", uid: "admin_user", level: 2, error: AxiosError, file: File, upload: {…} }
    core-common.js:1:2920739
    [ERROR] @nextcloud/upload: Failed uploading file2.pdf 
    Object { app: "@nextcloud/upload", uid: "admin_user", level: 2, error: AxiosError, file: File, upload: {…} }
    core-common.js:1:2920739
    [ERROR] files: Error while uploading files 
    Object { app: "files", uid: "admin_user", level: 2, errors: (3) […] }
    core-common.js:1:2920739
    Got notification data, restoring default polling interval. NotificationsApp-zv-lMaEW.chunk.mjs:83:56566
    Got notification data, restoring default polling interval. NotificationsApp-zv-lMaEW.chunk.mjs:83:56566
    
    
    
    # Example Log 
    
    XHRPUT
    https://domain.tld/remote.php/dav/files/admin_user/test/test_2/file1.pdf
    [HTTP/2 404  74ms]
    
    	
    PUT
    	https://domain.tld/remote.php/dav/files/admin_user/test/test_2/file1.pdf
    Status
    404
    VersionHTTP/2
    Transferred704 B (240 B size)
    Referrer Policystrict-origin-when-cross-origin
    DNS ResolutionSystem
    
        	
        alt-svc
        	h3=":443"; ma=86400
        content-encoding
        	br
        content-security-policy
        	default-src 'none';
        content-type
        	application/xml; charset=utf-8
        date
        	Thu, 26 Mar 2026 10:44:29 GMT
        referrer-policy
        	same-origin, strict-origin-when-cross-origin
        server
        	UwU
        strict-transport-security
        	max-age=31536000; includeSubDomains; preload
        vary
        	Accept-Encoding
        x-content-type-options
        	nosniff
        X-Firefox-Spdy
        	h2
        x-frame-options
        	SAMEORIGIN
        x-permitted-cross-domain-policies
        	none
        x-robots-tag
        	noindex, nofollow
        	
        Accept
        	application/json, text/plain, */*
        Accept-Encoding
        	gzip, deflate, br, zstd
        Accept-Language
        	en-US,en;q=0.9
        Connection
        	keep-alive
        Content-Length
        	2417587
        Content-Type
        	application/pdf
        Cookie
        	oc_sessionPassphrase=O0N4ZX2nUNmGk%2BSL2TXu%2B9U9IftuewccB4OiUawf6xQwG80UG6K5Z7JhnmYLh1Zm0nSPoAiIX5JbwDQsAqCwdJY4DHT%2FDxT45Dp2byxlWzosuh1DwW0UnDHdR35KPmTu; octcu4rw5898=9350efa6d7c5d8de3ab40a24ce9166b7; __Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true
        Host
        	domain.tld
        Origin
        	https://domain.tld
        Referer
        	https://domain.tld/apps/files/files/8450?dir=/test
        requesttoken
        	IFb50xPP0Zno1kbimvNrzhsr+n+u2L+dPPpibDKzWjo=:bQSqtiSChfuEkyGJr74Yiy9utDn6qszIV4hNI1f1EQM=
        Sec-Fetch-Dest
        	empty
        Sec-Fetch-Mode
        	cors
        Sec-Fetch-Site
        	same-origin
        Sec-GPC
        	1
        TE
        	trailers
        User-Agent
        	Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0
        X-OC-Mtime
        	1770924523
        X-Requested-With
        	XMLHttpRequest, XMLHttpRequest
    
    
    # Example Log
    
    [ERROR] @nextcloud/upload: Failed uploading file1.pdf 
    Object { app: "@nextcloud/upload", uid: "admin_user", level: 2, error: AxiosError, file: File, upload: {…} }
    index.mjs:47:17
        log index.mjs:47
        error index.mjs:65
        i index-DPkUyJ8g.mjs:984
        add index.js:378
        K index.js:252
        Q index.js:290
        start index.js:430
        start index-DPkUyJ8g.mjs:622
        ke DropService.ts:132
        onDrop DragAndDropNotice.vue:139
        VueJS 33
    
    # Example Log
    [ERROR] files: Error while uploading files 
    Object { app: "files", uid: "admin_user", level: 2, errors: (3) […] }
    index.mjs:47:17
        log index.mjs:47
        error index.mjs:65
        ke DropService.ts:138
        onDrop DragAndDropNotice.vue:139
        VueJS 33
    
  7. pjft commented on Mar 26, 2026

    @pjft
    Contributor

    Came here to report this. Happy to provide logs. Dragging OS folder to the browser. Upload seems to "continue" (there's a progress bar) but each file fails to end up in the destination.

  8. susnux commented on Mar 27, 2026

    @susnux
    Contributor

    Duplicate of #58454

    Fixed for 33.0.1 (and other releases published this week).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions