# File drop "Could not upload" error but file uploaded correctly

**URL:** <https://help.nextcloud.com/t/file-drop-could-not-upload-error-but-file-uploaded-correctly/141560>\
**Category:** ℹ️ Support\
**Tags:** file\_drop\
**Created:** [July 1, 2022, 3:06pm UTC](https://help.nextcloud.com/t/file-drop-could-not-upload-error-but-file-uploaded-correctly/141560 "2022-07-01T15:06:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DByte](https://help.nextcloud.com/user_avatar/help.nextcloud.com/dbyte/32/4324_2.png) [@DByte](https://help.nextcloud.com/u/DByte)\
**Post date:** [July 1, 2022, 3:06pm UTC](https://help.nextcloud.com/t/file-drop-could-not-upload-error-but-file-uploaded-correctly/141560/1 "2022-07-01T15:06:46Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where we can ensure your business keeps running smoothly.**_
> 
> In order to help you as quickly as possible, before clicking **Create Topic** please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
> 
> ```
> example
> 
> ```
> 
> Or for longer, use three backticks above and below the code snippet:
> 
> ```auto
> longer
> example
> here
> 
> ```
> 
> Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can ❤

Nextcloud version _(eg, 20.0.5)_: `24.0.2`  
Operating system and version _(eg, Ubuntu 20.04)_: `Ubuntu 16.04`  
Apache or nginx version _(eg, Apache 2.4.25)_: `Apache/2.4.18`  
PHP version _(eg, 7.4)_: `7.4.18`

The issue you are facing:  
I have a shared folder configured as file drop, where people can safely upload documents to me. When they do that, they get an error message in the top right corner of the page that says “Could not upload [filename]”. However, the file of that name is uploaded correctly. This is confusing for people because they think their file wasn’t received and often they try multiple times.

Is this the first time you’ve seen this error? _(Y/N)_: Yes

Steps to replicate it:

1. Share folder as file drop
2. Use the share link of the file drop location in a new browser window
3. Upload file

The output of your Nextcloud log in **Admin \> Logging** :

```auto
{"reqId":"Yr70yrISUDEAADMIe9UAAAAJ","level":4,"time":"2022-07-01T13:21:14+00:00","remoteAddr":"159.48.55.24","user":"--","app":"webdav","method":"PUT","url":"/public.php/webdav/document.pdf","message":"\"put\" can only be accessed once if not application/x-www-form-urlencoded or application/json.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0","version":"24.0.2.1","exception":{"Exception":"LogicException","Message":"\"put\" can only be accessed once if not application/x-www-form-urlencoded or application/json.","Code":0,"Trace":[{"file":"/var/www/cloud.beris.nl/lib/private/AppFramework/Http/Request.php","line":269,"function":"getContent","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/AppFramework/Http/Request.php","line":338,"function":"__get","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Activity/Manager.php","line":327,"function":"getParam","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/systemtags/lib/Activity/Provider.php","line":89,"function":"isFormattingFilteredObject","class":"OC\\Activity\\Manager","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/activity/lib/NotificationGenerator.php","line":96,"function":"parse","class":"OCA\\SystemTags\\Activity\\Provider","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/activity/lib/NotificationGenerator.php","line":123,"function":"populateEvent","class":"OCA\\Activity\\NotificationGenerator","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Notification/Manager.php","line":376,"function":"prepare","class":"OCA\\Activity\\NotificationGenerator","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/notifications/lib/Push.php","line":255,"function":"prepare","class":"OC\\Notification\\Manager","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/notifications/lib/App.php","line":57,"function":"pushToDevice","class":"OCA\\Notifications\\Push","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Notification/Manager.php","line":337,"function":"notify","class":"OCA\\Notifications\\App","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/activity/lib/NotificationGenerator.php","line":61,"function":"notify","class":"OC\\Notification\\Manager","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/activity/lib/Consumer.php","line":72,"function":"sendNotificationForEvent","class":"OCA\\Activity\\NotificationGenerator","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Activity/Manager.php","line":157,"function":"receive","class":"OCA\\Activity\\Consumer","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/systemtags/lib/Activity/Listener.php","line":228,"function":"publish","class":"OC\\Activity\\Manager","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/systemtags/lib/AppInfo/Application.php","line":72,"function":"mapperEvent","class":"OCA\\SystemTags\\Activity\\Listener","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"OCA\\SystemTags\\AppInfo\\{closure}","class":"OCA\\SystemTags\\AppInfo\\Application","type":"->","args":[" ***sensitive parameters replaced***"]},{"file":"/var/www/cloud.beris.nl/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/EventDispatcher/SymfonyAdapter.php","line":99,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/SystemTag/SystemTagObjectMapper.php","line":174,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/files_automatedtagging/lib/Operation.php","line":98,"function":"assignTags","class":"OC\\SystemTag\\SystemTagObjectMapper","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/files_automatedtagging/lib/Listener/CacheListener.php","line":43,"function":"checkOperations","class":"OCA\\FilesAutomatedTagging\\Operation","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\FilesAutomatedTagging\\Listener\\CacheListener","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Cache.php","line":327,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Wrapper/CacheWrapper.php","line":135,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Wrapper/CacheWrapper.php","line":135,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Wrapper/CacheWrapper.php","line":135,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Wrapper/CacheWrapper.php","line":135,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Scanner.php","line":296,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Scanner.php","line":226,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Scanner.php","line":340,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/cloud.beris.nl/lib/private/Files/Cache/Updater.php","line":125,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/dav/lib/Connector/Sabre/File.php","line":369,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":[" ***sensitive parameters replaced***"]},{"file":"/var/www/cloud.beris.nl/apps/dav/lib/Connector/Sabre/Directory.php","line":164,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.beris.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.beris.nl/apps/dav/appinfo/v1/publicwebdav.php","line":113,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.beris.nl/public.php","line":80,"args":["/var/www/cloud.beris.nl/apps/dav/appinfo/v1/publicwebdav.php"],"function":"require_once"}],"File":"/var/www/cloud.beris.nl/lib/private/AppFramework/Http/Request.php","Line":407,"CustomMessage":"--"},"id":"62bf08ea8c96e"}

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
{
    "instanceid": " ***REMOVED SENSITIVE VALUE***",
    "passwordsalt": " ***REMOVED SENSITIVE VALUE***",
    "secret": " ***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.example.com",
        "example.com"
    ],
    "datadirectory": " ***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/cloud.example.com",
    "dbtype": "mysql",
    "version": "24.0.2.1",
    "dbname": " ***REMOVED SENSITIVE VALUE***",
    "dbhost": " ***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": " ***REMOVED SENSITIVE VALUE***",
    "dbpassword": " ***REMOVED SENSITIVE VALUE***",
    "logtimezone": "UTC",
    "installed": true,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "filelocking.enabled": "true",
    "redis": {
        "host": " ***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0
    },
    "htaccess.RewriteBase": "\/",
    "updater.release.channel": "stable",
    "theme": "",
    "log_type": "file",
    "logfile": "\/home\/nextcloud\/nextcloud.log",
    "logfilemode": 416,
    "loglevel": 1,
    "log_rotate_size": 10485760,
    "maintenance": false,
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "tls",
    "mail_from_address": " ***REMOVED SENSITIVE VALUE***",
    "mail_domain": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpauthtype": "PLAIN",
    "mail_smtpauth": 1,
    "mail_smtpname": " ***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": " ***REMOVED SENSITIVE VALUE***",
    "mysql.utf8mb4": true,
    "enable_previews": true,
    "enabledPreviewProviders": [
        "OC\\Preview\\Image",
        "OC\\Preview\\Movie",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MP3",
        "OC\\Preview\\MKV",
        "OC\\Preview\\MP4",
        "OC\\Preview\\AVI"
    ],
    "preview_max_x": 1024,
    "preview_max_y": 1024,
    "preview_max_filesize_image": 5,
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "encryption.legacy_format_support": false,
    "encryption.key_storage_migrated": false,
    "mail_sendmailmode": "smtp",
    "default_phone_region": "NL"
}

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
159.48.xxx.xxx - sL2ZkGCW6BFcfnq [01/Jul/2022:15:20:18 +0200] "PUT /public.php/webdav/document.pdf HTTP/1.1" 500 5761 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0"
159.48.xxx.xxx - - [01/Jul/2022:15:20:19 +0200] "GET /core/img/actions/error.svg HTTP/1.1" 200 5370 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0"

```

This problem has been reported before in older versions:

> [@Upload error when using File Drop (upload only) on links](https://help.nextcloud.com/t/upload-error-when-using-file-drop-upload-only-on-links/114400):
>
> Nextcloud version: 21.0.1 Operating system: CentOS Linux release 8.3.2011 Linux 4.18.0-240.10.1.el8\_3.x86\_64 x86\_64 Webserver: Apache/2.4.37 (centos) Database: mysql 10.3.27 PHP version: 7.4.15 Hi ! I’m having issue when trying to upload in a folder, as a guest, using a “File drop (upload only)” link I get “Could not upload” error top right of the screen. observation : file is actually uploaded in non-groupfolders folders - but I get the error on upload Steps to replicate it: 1- create…

> [@Upload error when using "File drop (upload only)" link](https://help.nextcloud.com/t/upload-error-when-using-file-drop-upload-only-link/95451):
>
> Nextcloud version: 20.0.0 - 20.0.0.9 Operating system: Linux 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) x86\_64 Webserver: Apache (fpm-fcgi) Database: mysql 10.0.38 PHP version: 7.2.32 Hi ! I’m having issue when trying to upload in a folder, as a guest, using a “File drop (upload only)” link I get “Could not upload” error top right of the screen. observation : file is actually uploaded in non-groupfolders folders - but I get the error on upload Steps to replicate it: 1- create …

Following the advice there, I disabled the Activity app. This workaround does get rid of the error people get when uploading. I need the Activity app so it’s not really a feasible workaround for me.

Looks like an earlier bug but I am not using server side encryption.

> <https://github.com/nextcloud/server/issues/23543>
>
> \### Steps to reproduce
> 1. nextcloud setup with postgres, php 7.4 and nginx conf…ig as per admin guide
> 2. create a File Drop Url Share
> 3. Try to upload a file into that shar
> 
> \### Expected behaviour
> Upload Succeds & user gets a success message
> 
> \### Actual behaviour
> Upload succeds but User gets an error message and there is a php error in the log.
> 
> \### Server configuration
> 
> \*\*Operating system:\*\*
> Debian Linux 10
> \*\*Web server:\*\*
> nginx version: nginx/1.14.2
> 
> \*\*Database:\*\*
> postgresql 11.9
> 
> \*\*PHP version:\*\*
> 7.4.11
> 
> \*\*Nextcloud version:\*\* (see Nextcloud admin page)
> 20.0.0
> 
> \*\*Updated from an older Nextcloud/ownCloud or fresh install:\*\*
> fresh install
> \*\*Where did you install Nextcloud from:\*\*
> nextcloud-20.0.0.zip from download server
> 
> \*\*Signing status:\*\*
> \<details\>
> \<summary\>Signing status\</summary\>
> 
> \`\`\`
> No errors have been found.
> \`\`\`
> \</details\>
> 
> \*\*List of activated apps:\*\*
> \<details\>
> \<summary\>App list\</summary\>
> 
> \`\`\`
> Enabled:
> - accessibility: 1.6.0
> - activity: 2.13.1
> - cloud\_federation\_api: 1.3.0
> - comments: 1.10.0
> - contactsinteraction: 1.1.0
> - dashboard: 7.0.0
> - dav: 1.16.0
> - federatedfilesharing: 1.10.1
> - federation: 1.10.1
> - files: 1.15.0
> - files\_pdfviewer: 2.0.1
> - files\_rightclick: 0.17.0
> - files\_sharing: 1.12.0
> - files\_trashbin: 1.10.1
> - files\_versions: 1.13.0
> - files\_videoplayer: 1.9.0
> - firstrunwizard: 2.9.0
> - logreader: 2.5.0
> - lookup\_server\_connector: 1.8.0
> - nextcloud\_announcements: 1.9.0
> - notifications: 2.8.0
> - oauth2: 1.8.0
> - password\_policy: 1.10.1
> - photos: 1.2.0
> - privacy: 1.4.0
> - provisioning\_api: 1.10.0
> - recommendations: 0.8.0
> - serverinfo: 1.10.0
> - settings: 1.2.0
> - sharebymail: 1.10.0
> - support: 1.3.0
> - survey\_client: 1.8.0
> - suspicious\_login: 3.2.1
> - systemtags: 1.10.0
> - text: 3.1.0
> - theming: 1.11.0
> - twofactor\_backupcodes: 1.9.0
> - twofactor\_totp: 5.0.0
> - twofactor\_u2f: 6.0.0
> - updatenotification: 1.10.0
> - user\_status: 1.0.0
> - viewer: 1.4.0
> - weather\_status: 1.0.0
> - workflowengine: 2.2.0
> Disabled:
> - admin\_audit
> - encryption
> - files\_external
> - user\_ldap
> 
> \`\`\`
> \</details\>
> 
> \*\*Nextcloud configuration:\*\*
> \<details\>
> \<summary\>Config report\</summary\>
> 
> \`\`\`
> {
> "system": {
> "passwordsalt": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "secret": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "trusted\_domains": \[
> "localhost",
> "\*\*\*REMOVED SENSITIVE VALUE\*\*\*"
> \],
> "datadirectory": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbtype": "pgsql",
> "version": "20.0.0.9",
> "overwrite.cli.url": "http:\\/\\/localhost",
> "dbname": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbhost": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbport": "",
> "dbtableprefix": "oc\_",
> "dbuser": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbpassword": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "installed": true,
> "memcache.locking": "\\\\OC\\\\Memcache\\\\Redis",
> "memcache.distributed": "\\\\OC\\\\Memcache\\\\Redis",
> "memcache.local": "\\\\OC\\\\Memcache\\\\Redis",
> "redis": {
> "host": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "port": 6379,
> "dbindex": 0
> },
> "instanceid": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "twofactor\_enforced": "true",
> "twofactor\_enforced\_groups": \[\],
> "twofactor\_enforced\_excluded\_groups": \[\],
> "simpleSignUpLink.shown": false
> },
> "apps": {
> "accessibility": {
> "installed\_version": "1.6.0",
> "types": "",
> "enabled": "yes"
> },
> "activity": {
> "installed\_version": "2.13.1",
> "types": "filesystem",
> "enabled": "yes"
> },
> "backgroundjob": {
> "lastjob": "51"
> },
> "cloud\_federation\_api": {
> "installed\_version": "1.3.0",
> "types": "filesystem",
> "enabled": "yes"
> },
> "comments": {
> "installed\_version": "1.10.0",
> "types": "logging",
> "enabled": "yes"
> },
> "contactsinteraction": {
> "installed\_version": "1.1.0",
> "types": "dav",
> "enabled": "yes"
> },
> "core": {
> "installedat": "1602784581.8188",
> "vendor": "nextcloud",
> "public\_webdav": "dav\\/appinfo\\/v1\\/publicwebdav.php",
> "public\_files": "files\_sharing\\/public.php",
> "backgroundjobs\_mode": "cron",
> "lastcron": "1602954908",
> "lastupdatedat": "1602954992",
> "theming.variables": "3a10f69ced88cddd98ee7a1591f9f4ab",
> "lastupdateResult": "\[\]"
> },
> "dashboard": {
> "installed\_version": "7.0.0",
> "types": "",
> "enabled": "yes"
> },
> "dav": {
> "installed\_version": "1.16.0",
> "types": "filesystem",
> "enabled": "yes"
> },
> "federatedfilesharing": {
> "installed\_version": "1.10.1",
> "types": "",
> "enabled": "yes"
> },
> "federation": {
> "installed\_version": "1.10.1",
> "types": "authentication",
> "enabled": "yes"
> },
> "files": {
> "installed\_version": "1.15.0",
> "types": "filesystem",
> "enabled": "yes",
> "cronjob\_scan\_files": "500"
> },
> "files\_pdfviewer": {
> "installed\_version": "2.0.1",
> "types": "",
> "enabled": "yes"
> },
> "files\_rightclick": {
> "installed\_version": "0.17.0",
> "types": "",
> "enabled": "yes"
> },
> "files\_sharing": {
> "installed\_version": "1.12.0",
> "types": "filesystem",
> "enabled": "yes"
> },
> "files\_trashbin": {
> "installed\_version": "1.10.1",
> "types": "filesystem,dav",
> "enabled": "yes"
> },
> "files\_versions": {
> "installed\_version": "1.13.0",
> "types": "filesystem,dav",
> "enabled": "yes"
> },
> "files\_videoplayer": {
> "installed\_version": "1.9.0",
> "types": "",
> "enabled": "yes"
> },
> "firstrunwizard": {
> "installed\_version": "2.9.0",
> "types": "logging",
> "enabled": "yes"
> },
> "logreader": {
> "installed\_version": "2.5.0",
> "types": "",
> "enabled": "yes"
> },
> "lookup\_server\_connector": {
> "installed\_version": "1.8.0",
> "types": "authentication",
> "enabled": "yes"
> },
> "nextcloud\_announcements": {
> "installed\_version": "1.9.0",
> "types": "logging",
> "enabled": "yes",
> "pub\_date": "Thu, 24 Oct 2019 00:00:00 +0200"
> },
> "notifications": {
> "installed\_version": "2.8.0",
> "types": "logging",
> "enabled": "yes"
> },
> "oauth2": {
> "installed\_version": "1.8.0",
> "types": "authentication",
> "enabled": "yes"
> },
> "password\_policy": {
> "installed\_version": "1.10.1",
> "types": "authentication",
> "enabled": "yes",
> "enforceHaveIBeenPwned": "1"
> },
> "photos": {
> "installed\_version": "1.2.0",
> "types": "",
> "enabled": "yes"
> },
> "privacy": {
> "installed\_version": "1.4.0",
> "types": "",
> "enabled": "yes"
> },
> "provisioning\_api": {
> "installed\_version": "1.10.0",
> "types": "prevent\_group\_restriction",
> "enabled": "yes"
> },
> "recommendations": {
> "installed\_version": "0.8.0",
> "types": "",
> "enabled": "yes"
> },
> "serverinfo": {
> "installed\_version": "1.10.0",
> "types": "",
> "enabled": "yes"
> },
> "settings": {
> "installed\_version": "1.2.0",
> "types": "",
> "enabled": "yes"
> },
> "sharebymail": {
> "installed\_version": "1.10.0",
> "types": "filesystem",
> "enabled": "yes"
> },
> "support": {
> "installed\_version": "1.3.0",
> "types": "session",
> "enabled": "yes"
> },
> "survey\_client": {
> "installed\_version": "1.8.0",
> "types": "",
> "enabled": "yes",
> "server": "no",
> "php": "no",
> "database": "no",
> "apps": "no",
> "stats": "no",
> "files\_sharing": "no",
> "encryption": "no"
> },
> "suspicious\_login": {
> "installed\_version": "3.2.1",
> "types": "authentication",
> "enabled": "yes"
> },
> "systemtags": {
> "installed\_version": "1.10.0",
> "types": "logging",
> "enabled": "yes"
> },
> "text": {
> "installed\_version": "3.1.0",
> "types": "dav",
> "enabled": "yes"
> },
> "theming": {
> "backgroundMime": "image\\/jpeg",
> "installed\_version": "1.11.0",
> "types": "logging",
> "enabled": "yes",
> "name": "PrivacyWeek",
> "slogan": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "privacyUrl": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "imprintUrl": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "cachebuster": "10",
> "logoheaderMime": "image\\/jpeg",
> "color": "#954b97",
> "url": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*"
> },
> "twofactor\_backupcodes": {
> "installed\_version": "1.9.0",
> "types": "",
> "enabled": "yes"
> },
> "twofactor\_totp": {
> "installed\_version": "5.0.0",
> "types": "",
> "enabled": "yes"
> },
> "twofactor\_u2f": {
> "installed\_version": "6.0.0",
> "types": "",
> "enabled": "yes"
> },
> "updatenotification": {
> "installed\_version": "1.10.0",
> "types": "",
> "enabled": "yes",
> "update\_check\_errors": "0",
> "notify\_groups": "\[\]"
> },
> "user\_status": {
> "installed\_version": "1.0.0",
> "types": "",
> "enabled": "yes"
> },
> "viewer": {
> "installed\_version": "1.4.0",
> "types": "",
> "enabled": "yes"
> },
> "weather\_status": {
> "installed\_version": "1.0.0",
> "types": "",
> "enabled": "yes"
> },
> "workflowengine": {
> "installed\_version": "2.2.0",
> "types": "filesystem",
> "enabled": "yes"
> }
> }
> }
> \`\`\`
> \</details\>
> 
> \*\*Are you using external storage, if yes which one:\*\* local/smb/sftp/...
> no
> \*\*Are you using encryption:\*\* yes/no
> no
> \*\*Are you using an external user-backend, if yes which one:\*\* LDAP/ActiveDirectory/Webdav/...
> no
> 
> \### Client configuration
> \*\*Browser:\*\*
> Firefox 82, Chromium
> \*\*Operating system:\*\*
> Linux, FreeBSD
> \### Logs
> 
> 
> 
> \#### Nextcloud log (data/nextcloud.log)
> \<details\>
> \<summary\>Nextcloud log\</summary\>
> 
> \`\`\`
> \[PHP\] Error: Error: Cannot modify header information - headers already sent by (output started at /srv/nextcloud/20.0.0/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /srv/nextcloud/20.0.0/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691 at \<\<closure\>\>
> 
> 0. \<\<closure\>\>
> OC\\Log\\ErrorHandler::onError(2, "Cannot modify h ... )", "/srv/nextcloud/ ... p", 691, {string: "X-Hash ... "})
> 1. /srv/nextcloud/20.0.0/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 691
> header("X-Hash-MD5: 0b5 ... 4")
> 2. /srv/nextcloud/20.0.0/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 189
> OCA\\DAV\\Connector\\Sabre\\File-\>header("X-Hash-MD5: 0b5 ... 4")
> 3. \<\<closure\>\>
> OCA\\DAV\\Connector\\Sabre\\File-\>OCA\\DAV\\Connector\\Sabre\\{closure}("\*\*\* sensitive parameters replaced \*\*\*")
> 4. /srv/nextcloud/20.0.0/nextcloud/lib/private/Files/Stream/HashWrapper.php line 71
> call\_user\_func(Closure {}, "\*\*\* sensitive parameter replaced \*\*\*")
> 5. \<\<closure\>\>
> OC\\Files\\Stream\\HashWrapper-\>stream\_close()
> 6. /srv/nextcloud/20.0.0/nextcloud/3rdparty/icewind/streams/src/Wrapper.php line 132
> fclose(null)
> 7. /srv/nextcloud/20.0.0/nextcloud/lib/private/Files/Stream/HashWrapper.php line 75
> Icewind\\Streams\\Wrapper-\>stream\_close()
> 8. \<\<closure\>\>
> OC\\Files\\Stream\\HashWrapper-\>stream\_close()
> 9. /srv/nextcloud/20.0.0/nextcloud/3rdparty/icewind/streams/src/Wrapper.php line 132
> fclose(null)
> 10. /srv/nextcloud/20.0.0/nextcloud/lib/private/Files/Stream/HashWrapper.php line 75
> Icewind\\Streams\\Wrapper-\>stream\_close()
> 11. /srv/nextcloud/20.0.0/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
> OC\\Files\\Stream\\HashWrapper-\>stream\_close()
> 12. /srv/nextcloud/20.0.0/nextcloud/apps/dav/appinfo/v1/publicwebdav.php line 113
> Sabre\\DAV\\Server-\>exec()
> 13. /srv/nextcloud/20.0.0/nextcloud/public.php line 81
> require\_once("/srv/nextcloud/ ... p")
> 
> PUT /public.php/webdav/Test-Upload-pls-ignore5.odp
> from 2a02:::.... at 2020-10-17T16:37:57+00:00
> \`\`\`
> \</details\>

Any ideas? Should I open a bug report?

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 2:26pm UTC](https://help.nextcloud.com/t/file-drop-could-not-upload-error-but-file-uploaded-correctly/141560/2 "2024-12-13T14:26:09Z")

</div>


