Skip to content

[Bug]: DropService subdirectory 404 #58760

@carynorton

Description

@carynorton

⚠️ This issue respects the following points: ⚠️

Bug description

DropService subdirectory 404

Steps to reproduce

Drag a folder from Finder/Adobe Bridge/etc into a subdirectory (e.g. archive) in the Files web

Expected behavior

Folder uploads to the current directory

Nextcloud Server version

33

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Apache (supported)

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?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "overwrite.cli.url": "https:\/\/my.domain.com",
        "htaccess.IgnoreFrontController": true,
        "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
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "upgrade.disable-web": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "tailnetaddress.ts.net",
            "my.domain.com",
            "10.0.1.40",
            "100.74.8.41"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.0.16",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "simpleSignUpLink.shown": false,
        "maintenance": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\BMP",
            "OC\\Preview\\WEBP",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MP3",
            "OC\\Preview\\Movie"
        ],
        "app_install_overwrite": []
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0-dev.0
  - bruteforcesettings: 6.0.0-dev.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - 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
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0-dev.0
  - photos: 6.0.0-dev.0
  - privacy: 5.0.0-dev.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - related_resources: 4.0.0-dev.0
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - support: 5.0.0
  - systemtags: 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_status: 1.13.0
  - viewer: 6.0.0-dev.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - admin_audit: 1.23.0
  - app_api: 33.0.0 (installed 32.0.0)
  - circles: 33.0.0 (installed 32.0.0)
  - encryption: 2.21.0
  - federation: 1.23.0 (installed 1.22.0)
  - files_external: 1.25.1
  - firstrunwizard: 6.0.0-dev.0 (installed 5.0.0)
  - oidc_login: 3.3.0 (installed 3.3.0)
  - recommendations: 6.0.0-dev.0 (installed 5.0.0-dev.0)
  - sociallogin: 6.3.0 (installed 6.3.0)
  - survey_client: 5.0.0-dev.0 (installed 4.0.0)
  - suspicious_login: 11.0.0-dev.0
  - theming_customcss: 1.19.0 (installed 1.19.0)
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0
  - weather_status: 1.13.0 (installed 1.12.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Additional info

Image When dragging a folder into a subdirectory (e.g. /archive/) in the Files web UI, DropService.ts constructs the wrong WebDAV path. It sends PROPFIND /remote.php/dav/files//[folder-name] (root level) instead of PROPFIND /remote.php/dav/files//archive/[folder-name], causing a 404. The subsequent PUT also targets the root path and fails with 404. Uploading individual files to the same subdirectory works correctly.

Dragging the same folder into the root directory (via browser) works fine, it's just dragging it into a subdirectory.

(note: i'm not a developer so pardon me if this bug report sucks. I tried to find this reported elsewhere but could not find this issue specifically)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions