Article ID: 5788, created on Nov 26, 2008, last review on May 18, 2015

  • Applies to:
  • Odin Business Automation Standard 4.5
  • Plesk Sitebuilder 4.5 for Linux/Unix


I created new site with Image Gallery or eShop and uploaded lots of images to the modules. Site publishing fails with timeout error. The following message may be shown:

Error:  The site has not been published. Cannot copy the site files to the specified site location. It is possible that you do not have enough permissions for writing, or there is not enough free disk space on the server.


Try increasing of PHP option *max_execution_time *in Sitebuilder PHP configuration file php.ini

~# sb_config --help | grep php  --phpcli_path        PHP CLI executable [/opt/php52/bin/php5]  --phpcgi_path        PHP CGI executable [/opt/php52/cgi-bin/php5] ~# ~#find /opt/php52 -name php.ini /opt/php52/cgi-bin/php.ini /opt/php52/etc/php.ini ~# ~# egrep 'max_execution_time|max_input_time' /opt/php52/cgi-bin/php.ini max_execution_time = 3600     ; Maximum execution time of each script, in seconds max_input_time = 3600     ; Maximum amount of time each script may spend parsing request data ~#

Also it may be useful to increase option ftp_connect_timeout in Sitebuilder configuration file. Add the option in section [general] of /usr/local/sitebuilder/config (/opt/sitebuilder/config for Debian and Ubuntu)

[general] ftp_connect_timeout=60

It is 30 seconds by default.

In general, is not recommended to upload all images to the site at ones and then publish it. You may upload all images one by one, this will allow to decrease total size of uploaded images.

Remember that when you upload images to Sitebuilder modules like Image Gallery or eShop the images are uploaded to the publishing server immediately. If you need to publish a site with huge number of images you should first create site and publish it. And then open site in Sitebuilder wizard and upload images one by one.When you publish the site only configuration is uploaded.

Search Words

Server is temporarily closed for maintenance


large number of images


ea6a61e571a858aa6019ceb068ea403a fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 56797cefb1efc9130f7c48a7d1db0f0c 400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 f7f840260c1591440648a375a64b5b75 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF