Error uploading large files: _chunk_enough_error_

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.5 - 31.0.5.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.63 (Unix) (fpm-fcgi)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Nginx Proxy Manager v2.12.3
  • PHP version (e.g, 8.3):
    • 8.3.21
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Nextcloud-AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

When I try to upload large files (>1GB) it gets error “chunk_enough_memory” on ioso, but i have the following configuration:

max_execution_time => 0 => 0
max_input_time => -1 => -1
memory_limit => 1024M => 1024M
post_max_size => 512G => 512G
upload_max_filesize => 512G => 512G

nginx proxy manager:
advanced:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

client_max_body_size 32G;
proxy_request_buffering off;
fastcgi_request_buffering off;
proxy_max_temp_file_size 0;
client_body_timeout 3600s;

Hi,
I use Nextcloud AIO + Nginx Proxy Manager as well.

Check my topic here - Testing Large File Synchronization with Nextcloud AIO and NGINX Proxy — June 2025 Update

You can find my settings there.

1 Like

This is referring to storage on your client device, not the server.

2 Likes