⚠️ This issue respects the following points: ⚠️
Bug description
when trying to upload a file in a shared folder without the usage of a folder, it will end in a unknown server error with the following in the logfiles:
Sabre\DAV\Exception\BadRequest: Erwartete Dateigröße von 5000000000 Bytes, aber 0 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.
while on client side, it becomes visible that the upload ends with a 413 status code
Steps to reproduce
- create a new folder and make a public share
- password protect the folder and allow upload and editing
- open new private window, take the share link and login with the password
- try to upload a large file (I have tested with a 5GB.bin file)
Expected behavior
the file is fully uploaded and available to the users
Installation method
None
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{
"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
}
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.0.11:8666",
"cloud.removed.xx"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"tempdirectory": "\/var\/www\/html\/data\/tmp",
"dbtype": "mysql",
"version": "25.0.2.3",
"overwrite.cli.url": "https:\/\/cloud.mikeklein.lu",
"overwritehost": "cloud.removed.xx",
"overwriteprotocol": "https",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memories.exiftool_no_local": true,
"session_lifetime": 86400,
"session_keepalive": true
}
}
List of activated Apps
Enabled:
- cloud_federation_api: 1.8.0
- dav: 1.24.0
- federatedfilesharing: 1.15.0
- files: 1.20.1
- files_pdfviewer: 2.6.0
- files_rightclick: 1.4.0
- files_sharing: 1.17.0
- files_trashbin: 1.15.0
- files_versions: 1.18.0
- logreader: 2.10.0
- lookup_server_connector: 1.13.0
- memories: 4.9.2
- news: 19.0.0
- nextcloud_announcements: 1.14.0
- notes: 4.6.0
- notifications: 2.13.1
- oauth2: 1.13.0
- password_policy: 1.15.0
- photos: 2.0.1
- provisioning_api: 1.15.0
- recognize: 3.3.3
- related_resources: 1.0.3
- richdocuments: 7.0.2
- serverinfo: 1.15.0
- settings: 1.7.0
- sharebymail: 1.15.0
- systemtags: 1.15.0
- text: 3.6.0
- theming: 2.0.1
- twofactor_backupcodes: 1.14.0
- updatenotification: 1.15.0
- viewer: 1.9.0
- workflowengine: 2.7.0
Disabled:
- activity: 2.17.0
- admin_audit
- bruteforcesettings
- circles: 25.0.0
- comments: 1.15.0
- contactsinteraction: 1.6.0
- dashboard: 7.5.0
- encryption
- federation: 1.15.0
- files_external
- firstrunwizard: 2.14.0
- privacy: 1.9.0
- recommendations: 1.4.0
- support: 1.8.0
- survey_client: 1.13.0
- suspicious_login
- twofactor_totp
- user_ldap
- user_status: 1.5.0
- weather_status: 1.5.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
Additional info
System is running on a Dell R720 with UnRaid using the official Docker container from Nextcloud.
It had been tested with Nginx Proxy Manager and Swag.
Bug description
when trying to upload a file in a shared folder without the usage of a folder, it will end in a unknown server error with the following in the logfiles:
Sabre\DAV\Exception\BadRequest: Erwartete Dateigröße von 5000000000 Bytes, aber 0 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.
while on client side, it becomes visible that the upload ends with a 413 status code
Steps to reproduce
Expected behavior
the file is fully uploaded and available to the users
Installation method
None
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{ "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 } ], "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.0.11:8666", "cloud.removed.xx" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "tempdirectory": "\/var\/www\/html\/data\/tmp", "dbtype": "mysql", "version": "25.0.2.3", "overwrite.cli.url": "https:\/\/cloud.mikeklein.lu", "overwritehost": "cloud.removed.xx", "overwriteprotocol": "https", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "memories.exiftool_no_local": true, "session_lifetime": 86400, "session_keepalive": true } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
System is running on a Dell R720 with UnRaid using the official Docker container from Nextcloud.
It had been tested with Nginx Proxy Manager and Swag.