Cant change max upload beyond 512MB

Support intro

Running unraid and nextcloud in docker container. using SWAG as the proxy
and MariaDB for PHP

Unable to change the max upload beyond 512MB

Nextcloud version: [Nextcloud Hub 6] (27.1.3) - in docker
Operating system and version: Linux 6.1.49-Unraid x86_64
nginx version : swag 2.7.4 - in docker
PHP version : mariaDB 8.2.10 - in docker

The issue you are facing:
Unable to upload more then 512MB

Is this the first time you’ve seen this error? N

Files I have change to try to change the setting
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name nextcloud.*;

include /config/nginx/ssl.conf;
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
client_max_body_size 60G;
fastcgi_buffers 64 4k;
client_body_temp_path /tmp/nginx_client_bodies;

location / {
    include /config/nginx/proxy.conf;
    include /config/nginx/resolver.conf;
    set $upstream_app;
    set $upstream_port 444;
    set $upstream_proto https;
    proxy_pass $upstream_proto://$upstream_app:$upstream_port;

    # Hide proxy response headers from Nextcloud that conflict with ssl.conf
    # Uncomment the Optional additional headers in SWAG's ssl.conf to pass Nextcloud's security scan
    proxy_hide_header Referrer-Policy;
    proxy_hide_header X-Content-Type-Options;
    proxy_hide_header X-Frame-Options;
    proxy_hide_header X-XSS-Protection;

    # Disable proxy buffering
    proxy_buffering off;
    proxy_request_buffering off;

    proxy_max_temp_file_size 0;


in the nextcloud docker terminal
upload_max_file_size 65536M
post_max_file_size 65536M
max_input_time 3600
max_execution_time 3600
memory_limit 2048

For the life of me I can not get nextcloud to update the max file size or the memory size. How do we have a vlaue that is impossible to change and why must we configure this in a .ini file. Why is this not configurable within nextcloud GUI? I feel whoever coded this 512MB limit is still using floppy disks on their computer. I sync my phone photos/videos a new phone that records video in 4k easily exceeds 512MB fairly quickly.


need to change the values in that file and now max upload is larger then 512 and memory is correct size. Still doesnt make sense why this isnt configurable from the GUI