• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Impossible download backup PLESK 12.0

DiPolo

New Pleskian
Hi everyone seems lately I have big trouble downloading Backup from Backup Manager , I am not sure if this happen after some plesk update but a couple of week ago everything was just fine , however I tried to figure out the problem without success and I would appreciates some help
This is the scenario :

I try to download a 7.44 GB backup from Backup manager and after 10 minute (600sec) I get Bad gateway 504 nginx

lessss /var/log/sw-cp-server/error_log

Check the error log an appear the follow :


Code:
[error] 23401#0: *1762 upstream timed out (110: Connection timed out) while reading response header from upstream, client: MY.IP.ADDRES, server: , request: "POST /smb/backup/download-dump/domainId/1?_randomId=812854 HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock", host: "MY HOSTNAME", referrer: "https://MY DOMAN/smb/backup/local-repository/domainId/1?_randomId=512690"

googling around seems to be timeout problem related to nginx so I modify the following configuration

/etc/nginx/nginx.conf
Code:
http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  /var/log/nginx/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    #tcp_nodelay        on;

    #gzip  on;
    #gzip_disable "MSIE [1-6]\.(?!.*SV1)";

 proxy_connect_timeout       1200;
 proxy_send_timeout          1200;
 proxy_read_timeout          1200;
 send_timeout                1200;

 fastcgi_read_timeout 1200;
 fastcgi_buffers 8 128k;
 fastcgi_buffer_size 256k;
 server_tokens off;

    include /etc/nginx/conf.d/*.conf;
}

# override global parameters e.g. worker_rlimit_nofile
include /etc/nginx/*global_params;

After
/etc/php-fpm.d/www.conf
Code:
request_terminate_timeout = 1200

Service httpd Restart and Service nginx Restart ...but nothing happen still the same as before ,

sudo nano /etc/php.ini
Code:
max_execution_time = 0
max_input_time = 1200

Service httpd Restart and Service nginx Restart still the same after 10 minute I still get Bad gateway 504 nginx and still not able to download the backup

Please someone can help me out ...tHX
  • OS: CentOS 6.2 (Final)
  • Plesk version: 12.0.18 Update #78
 
Hi DiPolo,
The Plesk Panel is served via...


/etc/sw-cp-server

and PHP Processing..

/etc/sw-engine

So any timeouts for the Plesk panel should be set there.
See /etc/sw-cp-server/config


# service sw-cp-server start|stop|restart|status
# service sw-engine start|stop|restart|status

I hope that helps
Regards


Lloyd
 
thank you so much Lloyd I will try to make the changes on /etc/sw-cp-server/config

Regards
Dipolo
 
Back
Top