Plesk upgrade fails on configuration of Web Presence Builder with code 255

Created:

2016-11-16 12:54:28 UTC

Modified:

2017-04-24 12:08:02 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk upgrade fails on configuration of Web Presence Builder with code 255

Applicable to:

  • Plesk for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows

Symptoms

Failed Plesk upgrade. In C:\\ParallelsInstaller\\autoinstaller3.log the following error appears during upgrade using Plesk autoinstaller:

    installing Parallels Presence Builder...
MSI: Error! Critical action 'Configuring Sitebuilder database...' failed:
Command "D:\\Parallels\\Plesk\\admin\\bin\\php.exe" -dauto_prepend_file="" "d:\\Parallels\\Plesk\\sb\\utils\\configure.php" --init_db --skip_database_creation --merge_config failed with code 255.

Cause

Cause is custom PHP installation. Custom php.ini is used when running Plesk post-install scripts instead of Plesk one ( %plesk_dir%\\admin\\php.ini ).

Resolution

  1. Make sure that there is no custom PHP settings in registry ( HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\PHP or HKEY_LOCAL_MACHINE\\SOFTWARE\\PHP ). Example of custom installation:

        [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\PHP]
    "InstallDir"="D:\\\\PHP\\\\"
    "Version"="5.3.3"
    "WebServerType"="iis4FastCGI"

    If there is, it would better to uninstall custom PHP (if it is not used) or rename directory D:\\PHP\\ if uninstallation is not possible at the moment.

  2. Delete any custom PHP environment variables (if they exist):

    • Right-click My Computer , and then click Properties .
    • Click the Advanced tab.
    • Click Environment variables .
Have more questions? Submit a request
Please sign in to leave a comment.