Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
The Basics
- Nextcloud Server version (e.g., 29.x.x):
32.0.0
- Operating system and version (e.g., Ubuntu 24.04):
Kubernetes
- Web server and version (e.g, Apache 2.4.25):
php-fpm + nginx (container deployment)
- Reverse proxy and version _(e.g. nginx 1.27.2)
Envoy Gateway
- PHP version (e.g, 8.3):
version from container
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Kubernetes using Helm chart
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
When I upload a file with object storage configured the first try results in a 0kb file. The file itself gets correctly uploaded on Object storage (Hetzner).
The file size in the database is 0kb. When I update the size there the webui shows the correct size and the file just works (can download)
This only happens with files arount 100MB or more (80MB file works)
**Environment:**
- Nextcloud version: 32.0.0.13
- Platform: Kubernetes
- Database: PostgreSQL
- Primary storage: S3-compatible object storage (Hetzner)
Steps to replicate it (hint: details matter!):
- Fresh Nextcloud 32.0.0 installation with S3 primary storage
- Upload file larger than chunk size (>20MB)
- File shows 0 bytes in web UI
- Check S3: file exists with correct size
- Check database: size field = 0
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
BadRequest
Expected filesize of 104857600 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) -1 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
nothing relevant there
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"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
}
],
"objectstore": {
"class": "\\OC\\Files\\ObjectStore\\S3",
"arguments": {
"bucket": "my-bucket",
"region": "fsn1",
"hostname": "fsn1.your-objectstorage.com",
"port": "",
"storageClass": "STANDARD",
"objectPrefix": "zoo",
"autocreate": false,
"use_ssl": true,
"use_path_style": false,
"legacy_auth": false,
"key": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***"
}
},
"upgrade.disable-web": true,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"my.domain.cloud"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "32.0.0.13",
"overwrite.cli.url": "http:\/\/localhost",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"part_file_in_storage": "false",
"filesystem_check_changes": "1",
"enable_previews": "false",
"maintenance": false,
"updater.release.channel": "beta"
}
}