[HUB] Wordpress installation/update troubleshooting

Created:

2016-11-16 12:40:40 UTC

Modified:

2017-08-08 13:41:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[HUB] Wordpress installation/update troubleshooting

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

General information

Wordpress - is a Content Management System (CMS) based on PHP and MySQL. There is a special procedure how to install Wordpress, it contains several different steps including database deployment, modifications in wordpress configuration files, etc. In Plesk, it is possible to install Wordpress with one click using APS packages. Moreover, Plesk 12.0 introduces WordPress Toolkit , a powerful tool for managing APS- and non-APS-based WordPress installations. The toolkit enables server administrators, resellers, and customers to manage multiple WordPress installations, plugins, and themes from a single point of entry. Users can install, update, and remove WordPress installations, activate and remove plugins and themes.

In order to find the location of any Wordpress installation, you can follow 128034 KB article.

General troubleshooting steps

  1. Enable debug in Plesk according to #120101

  2. Reproduce the issue

  3. Check errors Plesk logs

    in Linux:

    /var/log/plesk/panel.log

    in Windows:

    %plesk_dir%admin\\logs\\php_error.log

Issues with Wordpress installation/update

  • 123910 Wordpress installation fails: The 'mysql' extension was not found . The following error appears when installing wordpress :

    The 'mysql' extension was not found.
  • 124612 Unable to install application with error: " failed to open stream: No such file or directory " . The following error appears:

    Error: Installation of WordPress at http://subexample.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: fopen(/var/www/vhosts/example.com/subexample.com/wordpress//wp-config.php): failed to open stream: No such file or directory in /usr/local/psa/var/apspackages/apscatalogHXU4qx.zip396aca46-916c-79/cache/scripts/file-util.php on line 15 '. Error stream: 'PHP Warning: fopen(/var/www/vhosts/example.com/subexample.com/wordpress//wp-config.php): failed to open stream: No such file or directory in /usr/local/psa/var/apspackages/apscatalogHXU4qx.zip396aca46-916c-79/cache/scripts/file-util.php on line 15 '.
  • 128884 Wordpress installation fails:

    There are no resources of this type (MySQL databases) available from your service provider. Requested: 1; available: 0.
  • 125302 Unable to update WordPress installation via Application Vault. When trying to update WordPress installation for particular domain on Websites & Domains page, the following error is shown:

    Internal error: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound

    Message SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
    File Pdo.php
    Line 234
    Type Zend_Db_Statement_Exception
  • 128885 Wordpress installation fails:

    Error: The following error has occurred during the installation of application: Installation of WordPress at http://example.com/ failed. Non-zero exit status returned by script. Output stream: 'forkExecvPipes: execv() failed: Permission denied System error 13: Permission denied '. Error stream: 'forkExecvPipes: execv() failed: Permission denied System error 13: Permission denied '.

    In Plesk 11.X and 12.0, the following error may appear:

    Error: Installation of WordPress at http://example.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'Unable to find command line php interpreter. '. Error stream: 'Unable to find command line php interpreter. '.
  • 122902 WordPress instance is broken: "Decoding failed: Syntax error". When accessing WordPress instance at Home > Domains > domain.tld > My CMS the following error appears:

    Decoding failed: Syntax error
  • 126957 WordPress installation on a subdomain: files and directories permissions issue

  • 128887 Unable to install WordPress in Plesk: Failed to search for WordPress instances on subscription. The following error can be observed in " /var/log/plesk/panel.log ":

    [2016-01-08 10:58:45] DEBUG [util_exec] [e8c51132e8fbf4889d6cb571654d55e3][0] Starting: wpmng --user=exampleuser --php=/usr/bin/php -- --path=/var/www/vhosts/example.com/httpdocs core info --format=json --check-updates=true, stdin:
    [2016-01-08 10:58:46] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/wpmng' '--user=exampleuser' '--php=/usr/bin/php' '--' '--path=/var/www/vhosts/example.com/httpdocs' 'core' 'info' '--format=json' '--check-updates=true'] with exit code [255]
    ...
    [2016-01-08 10:58:48] ERR [panel] Failed to search for WordPress instances on subscription plesktestsub.tld:
  • 128425 APS update of WordPress installation removes httpdocs directory of the website. The following error shown in Plesk:

    Filesystem error: boost::filesystem::copy_file: Disk quota exceeded: "/usr/local/psa/var/apspackages/d5496f43-f9d2-4832-982a-3e2ab6b2cb01/cache/htdocs/LEG.
    .....
  • 128888 Failed to install WordPress to a subscription: The following error has occurred during the download of application: boost::filesystem::copy_file: Permission denied. The following error appears while trying to install wordpress:

    Error: The following error has occurred during the download of application: boost::filesystem::copy_file: Permission denied: "/usr/local/psa/tmp/apscatalogqJ6kQA.zip", "/usr/local/psa/var/apspackages/b1d09180-0c50-44e8-bc0c-c2c8aeb3fed1.zip"
  • 128889 APS application installation fails: Internal error. ERROR: Zend_Controller_Exception: Permission denied. The following error is show in Plesk:

    Internal error.
    ERROR: Zend_Controller_Exception: Permission denied.#0 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(261): CommonPanel_Controller_Action_Abstract->_checkForgeryProtectionToken()
    #1 /usr/local/psa/admin/externals/Zend/Controller/Action.php(502): CommonPanel_Controller_Action_Abstract->preDispatch()
    #2 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('errorAction')
    #3 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #4 /usr/local/psa/admin/plib/Application/Web.php(42): Zend_Controller_Front->dispatch(NULL)
    #5 /usr/local/psa/admin/htdocs/application.php(15): Plesk\\Application_Web->run()
    #6 {main} (Broker.php:336)

    The following error can be found in " /var/log/plesk/panel.log ":

    [06-Mar-2016 00:09:24 America/New_York] PHP Warning:  POST Content-Length of 2583 bytes exceeds the limit of 2150 bytes in Unknown on line 0
    [2016-03-06 00:09:24] ERR [panel] Forgery protection token check failed.
    [2016-03-06 00:09:24] ERR [panel] Forgery protection token check failed.
    [2016-03-06 00:09:24] ERR [panel] Permission denied.#0 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(191): CommonPanel_Controller_Action_Abstract->_checkForgeryProtectionToken()
  • 114225 Unable to install or update WordPress APS instance: Unknown column 'blog_id'. Wordpress installation/update fails with the following error:

    Task name   APS application 'WordPress', id 106, instance 6185 : executing configuration script
    Last execution output Script execution failed: executing 'env 'WEB__wp-content_DIR=/usr/local/pem/vhosts/109521/webspace/siteapps/6185/htdocs wp-content''WEB__wp-config.php_DIR=/usr/local/pem/vhosts/109521/webspace/siteapps/6185/htdocs/wp-config.php' 'WEB__tmp_DIR=/usr /local/pem/vhosts/109521/webspace/siteapps/6185/htdocs/tmp' 'WEB__blogs_media_DIR=/usr/local/pem/vhosts/109521/webspace/siteapps /6185/htdocs/blogs/media' 'WEB___DIR=/usr/local/pem/vhosts/109521/webspace/siteapps/6185/htdocs' 'SETTINGS_title=WohnSinn' 'SETTINGS_locale=de-DE' 'SETTINGS_admin_password=password' 'SETTINGS_admin_name=admin' 'SETTINGS_admin_email=someone@domain.tld' 'SERVICE_ID=wordpress' 'PHP_VERSION=5.2.17' 'DB_main_VERSION=5.0.83' 'DB_main_TYPE=mysql' 'DB_main_PASSWORD=password' 'DB_main_NAME=mywpdb' 'DB_main_LOGIN=mylogin' 'DB_main_HOST=192.168.1.23' 'BASE_URL_SCHEME=http' 'BASE_URL_PATH=/' 'BASE_URL_HOST=domain.tld' 'BASE_IP_ADDRESS=64.131.89.6' /usr/bin/php! -cgi -d open_basedir= -q configure 'configure'' for APS application instance with id 6185 returned value '1' with output

    'Unable to execute SQL statement (UPDATE `wp_options` SET `option_value`='http://domain.tld' WHERE `blog_id`=0 AND `option_name`='siteurl'): Unknown column 'blog_id' in 'where clause'' and errors ''.
  • 128904 . Unable to install wordpress: Got error -1 from storage engine. The following error appears:

    Error stream: 'Unable to execute SQL statement ( INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES (1,1,'Mr WordPress','','https://wordpress.org/','',now(),now(),'Hi, this is a comment.\

    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.',0,'1','','',0,0)): Got error -1 from storage engine at (SiteApplicationManager::fsaExecuteScript line 503) at execute console command --run-application-script(vconsoleapp::start line 97) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\sappmng.exe" --run-application-script "--script-filename=configure" "--script-name=install" "--user-name=user" "--application-full-name=file:///C:\Program Files (x86)\Parallels\Plesk\var\apspackages\aps7CDE.tmp.zipe382b37d-ae78-a8e1-5b\cache" "--fsa-xml-file=C:/Program Files (x86)/Parallels/Plesk/PrivateTemp/fsaCE79.tmp"(vconsoleapp::run line 107) (Error code 1)'.

    The following errors can be found in MySQL log " %plesk_dir%Databases\\MySQL\\data\\<server_name>.err ":

    InnoDB: A new raw disk partition was initialized or
    InnoDB: innodb_force_recovery is on: we do not allow
    InnoDB: database modifications by the user. Shut down
    InnoDB: mysqld and edit my.cnf so that newraw is replaced
    InnoDB: with raw, and innodb_force_... is removed.
  • https://kb.plesk.com/en/116878 Unable to install an application on domain with an error "Non-zero exit status returned by script". The following error appears:

    Error: Installation of WordPress at http://domain.tld/wordpress failed. Non-zero exit status returned by script. Output stream: ' at (SiteApplicationManager::fsaExecuteScript line 604) at execute console command --run-application-script(vconsoleapp::start line 132) at execute F:\\Parallels\\Plesk\\/admin/bin/sappmng --run-application-script "--script-filename=configure" "--script-name=install" "--user-name=qweqwe" "--application-full-name=file:///F:\\Parallels\\Plesk\\/var/apspackages\\apsA59B.tmp.zip1a74bf7a-a895-7417-6a\\cache" "--fsa-xml-file=F:\\Parallels\\Plesk\   mp\\fsaC55F.tmp"(vconsoleapp::run line 143)'.

    The following error can be found in "%plesk_dir%admin\\logs\\php_error.log :

    Failed to detect php setting value (safe_mode): Failed to execute request: The requested URL returned error: 500
    Failed to detect php extension (mysql): Failed to execute request: The requested URL returned error: 500
Have more questions? Submit a request
Please sign in to leave a comment.