Error when assembling chunks, status code 504

For my nginx setup it was enough to set the timeout to 10 min (600 seconds).

PHP FPM config

Add this line:

request_terminate_timeout = 600

Location of the config on my system: /usr/local/etc/php-fpm.d/nextcloud.conf

nginx config

Around/below the line fastcgi_pass php-handler; add this line:

fastcgi_read_timeout 600;

Location of my nginx conf: /usr/local/etc/nginx/conf.d/nextcloud.conf


I’m curious to figure out why this is taking so long tho, so made a thread about it:

1 Like