Article ID: 115923, created on Apr 10, 2013, last review on Apr 13, 2013

  • Applies to:
  • Plesk Sitebuilder 4.x for Linux/Unix
  • Sitebuilder 4.x for Windows

Symptoms

Before running the design templates updater tool (Linux, Windows), you might want to use the utility to find out  the number of sites on which images need to be replaced.

Parallels Plesk SiteBuilder for Windows

1. Download the utility from the repository and save it to the server where SiteBuilder 3.x or 4.x is installed.

2.  Run the dryrun.exe executable file with the system administrator's rights. If you are using a clustered configuration, run the utility on one of the application servers and on the storage server.

The utility might take up to several seconds to process each site. Log file dryrun.log will be saved in a subfolder of your current location. For example:

C:\Documents and Settings\parallels\Locales\Temp\1\RarSFX0\dryrun.log

Parallels Plesk SiteBuilder for Linux/Unix

1. Download the utility from the repository and save it to the server where SiteBuilder 4.5 for Linux is installed.

2. Extract the contents of the archive to the directory /usr/local/sitebuilder/utils/ on RPM-package based Linux systems, and /opt/sitebuilder/utils/ on Deb-package based Linux systems.

3. Run the utility.

On RPM systems:
~# /opt/php52/bin/php5 -d memory_limit=256M /usr/local/sitebuilder/utils/site_checker.php

On Deb-package based systems:
~# /opt/php52/bin/php5 -d memory_limit=256M /opt/sitebuilder/utils/site_checker.php

The utility might take up to several seconds to process each site. After the process is completed, you can see the results in the directory /usr/local/sitebuilder/tmp/publication/output/ on RPM systems, and /opt/sitebuilder/tmp/publication/output/ on Debian.

Additional information

For each site that uses the images that must be replaced, one file will be created. The file name will be formed according to the following scheme: <website owner's name>_<domain name>.
Each file contains a list of images with paths or URLs of their locations. The paths in the form of URLs, like http://... point to the hosting accounts where the sites are published. In all other cases, the paths refer to the websites' directories on the SiteBuilder server.

56797cefb1efc9130f7c48a7d1db0f0c fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 ea6a61e571a858aa6019ceb068ea403a 45e8c8798afdb3e279a2f84bd498d19e 2a62cbceb986d1b8f45bcd3ff4cb29a5

Email subscription for changes to this article
Save as PDF