Article ID: 127439, created on Nov 16, 2015, last review on Nov 16, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

  1. Wordpress installation from Application Catalog failed: Internal error: Incorrect database name ''

  2. In /usr/local/psa/admin/logs/panel.log on Plesk Automation management node following error occurs:

    2015-11-16T20:24:18+03:00 DEBUG (7)  [panel]: Requested new resource of type aps.database
    [16-Nov-2015 20:24:18 Europe/Moscow] Exception: Incorrect database name ''
    file: /usr/share/aps_php/aps_php.php
    line: 6849
    code: 1000000
    trace: #0 /usr/share/aps_php/aps_php.php(6849): aps_provision_provisionscenario_ispossible(Resource id #541)
    #1 /usr/local/psa/admin/plib/CommonPanel/Aps/ServiceCreationHelper.php(148): APS_Provision_ProvisionScenario->isPossible()
    #2 /usr/local/psa/admin/plib/CommonPanel/Aps/ServiceCreationHelper.php(72): CommonPanel_Aps_ServiceCreationHelper->__construct(Object(APS_Meta_ServiceInfo), Object(APS_Registry_Package), Objec
    t(Apspp_Hosting_Context_Site))
    #3 /usr/local/psa/admin/smb/application/controllers/AppController.php(192): CommonPanel_Aps_ServiceCreationHelper::getAppCreationHelper(Object(APS_Registry_Package), Object(Apspp_Hosting_Conte
    xt_Site))
    #4 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): AppController->installAction()
    #5 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('installAction')
    #6 /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))
    #7 /usr/local/psa/admin/plib/Smb/Application/Web.php(39): Zend_Controller_Front->dispatch(NULL)
    #8 /usr/local/psa/admin/smb/application/public/index.php(14): Smb_Application_Web->run()
    #9 {main}
    

Cause

Webspace has been created without database hosting resource.

Resolution

  1. If affected webspace has been created under single-webspace subscription, please use steps from the article https://kb.odin.com/en/124682

  2. If webspace has been created under multi-webspace subscription - it's not possible to provision additional resources for it. It's required to recreate webspace with MySQL resource.

Search Words

Internal error: Incorrect database name

Wordpress installation failed

Incorrect database name

Exception: Incorrect database name

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF