Plesk panel, nginx, fastcgi konfigrasyonunda kurulum yaparken aynı sorunla karşılaştım.
Kurulumu 1-2 defa denediğimde hep aynı yerde, yakın sürelerde hata verdiğini gördüm. Bu yüzden php timeout'a baktım 45 saniyeydi, yükselttim.
Ardından tekrar kurulum yapmayı denedim bu seferde 504 gateway timeout hatası aldım. Yani ilk hatadan kurtulmuştum, kurulum devam ediyordu ama bu seferde süre farklı bir sebepten yetmiyordu.
http://kb.odin.com/en/120210 sitesindeki adımları takip ettim.
For Nginx as Proxy (php-fpm disabled)
To apply settings globally, increase the following timeout values by adding the file /etc/nginx/conf.d/timeout.conf and restarting 'nginx' service:
# cat /etc/nginx/conf.d/timeout.conf
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
If you only are able to increase timeout settings per domain, it can be done in this way:
Plesk > Subscriptions > my.domain.com > Websites & Domains > Web Server Settings - add the lines to Additional Nginx directives
For Nginx + FastCGI (php-fpm enabled)
Increase max_execution_time setting:
Plesk > Subscriptions > test.com > Websites & Domains > test.com > PHP Settings - Set max_execution_time = 300
Change request_terminate_timeout parameter (commented by default) in /etc/php-fpm.d/www.conf (for Debian /etc/php5/fpm/pool.d/www.conf) file:
request_terminate_timeout = 300
Add fastcgi_read_timeout variable inside the 'nginx' virtual host configuration:
Plesk > Subscriptions > my.domain.com > Websites & Domains > Web Server Settings > Additional Nginx directives
fastcgi_read_timeout 300;
Add/increase the following values in the 'http' section of the /etc/nginx/nginx.conf file:
fastcgi_buffers 8 128k;
fastcgi_buffer_size 256k;
Restart both 'apache' and 'nginx'.
Ardından sorunsuz bir şekilde kurulum gerçekleşti.