Symptoms
-
Backup restoration in Plesk finishes with a warning:
Warning: Restore hosting "example.com"
Utility returns not valid response: [html]
[head][title]504 Gateway Time-out[/title][/head]
[body]
[center][h1]504 Gateway Time-out[/h1][/center]
[hr][center]nginx[/center]
[/body]
[/html] -
The Subscription from the warning contains a lot of domains (~300).
Cause
Timeout reached during the restore background command execution. Default timeout is 10 min and operation takes about an hour.
Resolution
-
Connect to a Plesk server via SSH.
-
Open the configuration file
/etc/sw-cp-server/config
. Vi editor can be used. -
Adjust the parameter values of
fastcgi_read_timeout
andfastcgi_send_timeout
:-
From 10 minutes:
fastcgi_read_timeout 600;
fastcgi_send_timeout 600; -
To 2 hours:
fastcgi_read_timeout 7200;
fastcgi_send_timeout 7200;
-
Comments
0 comments
Please sign in to leave a comment.