• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs cannot install CMS

TomBoB

Silver Pleskian
TITLE:
cannot install CMS
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
CentOS Linux 7.7.1908 Plesk Obsidian Version 18.0.19
PROBLEM DESCRIPTION:
Needed to install an older version of Wordpress. Trying to do so produces an error​
STEPS TO REPRODUCE:
subscription, applications, featured apps, wordpress, pick older version, install​
ACTUAL RESULT:
Error:
The following error has occurred during the installation of application: Installation of WordPress at https://clientdomain.com/ failed. Call to a member function getOwner() on null​
EXPECTED RESULT:
Installation works​
ANY ADDITIONAL INFORMATION:
even installing the lastest version of worpdress via this route throuws an error, so does trying to install Joomla, or Drupal
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Unfortunately, this information is not enough for investigation. These steps are basic steps for any installing any APS application.
At least stack trace from panel log is required.
 
will do the stack trace shortly. In the meantime installing afterlogic webmail:
Error:
The following error has occurred during the installation of application: Installation of AfterLogic WebMail Lite at https://clientdomain.com/ failed. Call to a member function getOwner() on null
installing phpBB:
Error:
The following error has occurred during the installation of application: Installation of phpBB at https://clientdomain.com/ failed. Call to a member function getOwner() on null
installing mediawiki:
Error:
The following error has occurred during the installation of application: Installation of mediawiki at https://clientdomain.com/ failed. Call to a member function getOwner() on null

it appears you are correct. when installing any software by going to a subscription, then "applications", and pick any app it will fail with above error. (as long as the apps requirements are met of course).
Two upgraded servers show identical behaviour.
Will do stack trace shortly
 
[2019-10-04 18:28:11.481] DEBUG [panel] New resource of type aps.database created, ID: 5c5ec999-69a3-4b52-ab8c-c5ca5db3f94d
[2019-10-04 18:28:11.491] ERR [panel] Task failed: id=514, pid=12671, type=aps-install, error=Call to a member function getOwner() on null
[2019-10-04 18:28:11.491] ERR [panel] Error: Call to a member function getOwner() on null
file: /usr/local/psa/admin/plib/Smb/View/Resource/HostingDatabase.php
line: 52
code: 0
trace: #0 /usr/local/psa/admin/plib/Aps/Catalog/Install/Manager.php(99): Smb_View_Resource_HostingDatabase->__construct(object of type Apspp_Hosting_Resource_Database)
#1 /usr/local/psa/admin/plib/Aps/Catalog/Install/Manager.php(56): Aps_Catalog_Install_Manager->_setupRequirementResources()
#2 /usr/local/psa/admin/plib/Aps/Catalog/Install/Task.php(37): Aps_Catalog_Install_Manager->processInstall()
#3 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(227): Aps_Catalog_Install_Task->run()
#4 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(151): Db_Table_Broker_LongTasks->_syncStart(object of type Db_Table_Row_LongTask)
#5 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(110): Db_Table_Broker_LongTasks->_startQueue(object of type Db_Table_Row_LongTask, boolean true)
#6 /usr/local/psa/admin/plib/Task/Async/Executor.php(51): Db_Table_Broker_LongTasks->start(object of type Db_Table_Row_LongTask, string 'synchronously')
#7 /usr/local/psa/admin/plib/scripts/task-async-executor.php(12): Task_Async_Executor->execute()

[2019-10-04 18:28:11.492] DEBUG [util_exec] [5d97731b78366] Starting: send-error-report
[2019-10-04 18:28:11.494] DEBUG [util_exec] [5d97731b78366] Finished in 0.0022s, Error code: TRUE
[2019-10-04 18:28:12.379] DEBUG [util_exec] [5d97731c5c99a] Starting: filwrpr 42
[2019-10-04 18:28:12.393] DEBUG [util_exec] [5d97731c5c99a] Finished in 0.01359s, Error code: TRUE
[2019-10-04 18:28:13.194] DEBUG [util_exec] [5d97731d2f709] Starting: filwrpr 69
[2019-10-04 18:28:13.200] DEBUG [util_exec] [5d97731d30d6e] Starting: filwrpr 61
[2019-10-04 18:28:13.209] DEBUG [util_exec] [5d97731d2f709] Finished in 0.01485s, Error code: TRUE
[2019-10-04 18:28:13.215] DEBUG [util_exec] [5d97731d30d6e] Finished in 0.01442s, Error code: TRUE
[2019-10-04 18:28:13.504] DEBUG [util_exec] [5d97731d7affa] Starting: filwrpr 22
[2019-10-04 18:28:13.517] DEBUG [util_exec] [5d97731d7affa] Finished in 0.01287s, Error code: TRUE
[2019-10-04 18:28:13.660] ERR [panel] APS Catalog error exception: Smb_Exception_NotFound: Installation of WordPress at https://clientdomain.com/ failed. Call to a member function getOwner() on null in /usr/local/psa/admin/application/smb/controllers/AppController.php:759
Stack trace:
#0 /usr/local/psa/admin/application/smb/controllers/AppController.php(739): Smb_AppController->_getProgressData('aps-install')
#1 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): Smb_AppController->installProgressDataAction()
#2 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('installProgress...')
#3 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/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(46): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http))
#5 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#6 {main}
[2019-10-04 18:28:14.358] DEBUG [util_exec] [5d97731e574bb] Starting: filwrpr 22
[2019-10-04 18:28:14.371] DEBUG [util_exec] [5d97731e574bb] Finished in 0.01343s, Error code: TRUE
[2019-10-04 18:28:14.527] ERR [panel.ui] <pre>The following error has occurred during the installation of application: Installation of WordPress at https://clientdomain.com/ failed. Call to a member function getOwner() on null</pre>
[2019-10-04 18:28:14.537] DEBUG [util_exec] [5d97731e83411] Starting: filwrpr 31
[2019-10-04 18:28:14.552] DEBUG [util_exec] [5d97731e86aec] Starting: filwrpr 77
[2019-10-04 18:28:14.558] DEBUG [util_exec] [5d97731e83411] Finished in 0.01985s, Error code: TRUE
[2019-10-04 18:28:14.570] DEBUG [util_exec] [5d97731e86aec] Finished in 0.01829s, Error code: TRUE
[2019-10-04 18:28:14.860] DEBUG [util_exec] [5d97731ed205c] Starting: filwrpr 50
[2019-10-04 18:28:14.872] DEBUG [util_exec] [5d97731ed205c] Finished in 0.01219s, Error code: TRUE
 
and same error - just for testing/trying purposes - trying to install afterlogic webmail

[2019-10-04 19:03:13.891] DEBUG [panel] New resource of type aps.database created, ID: 51a5c5c8-363e-4b56-aed5-62338958d34c
[2019-10-04 19:03:13.905] ERR [panel] Task failed: id=516, pid=17155, type=aps-install, error=Call to a member function getOwner() on null
[2019-10-04 19:03:13.906] ERR [panel] Error: Call to a member function getOwner() on null
file: /usr/local/psa/admin/plib/Smb/View/Resource/HostingDatabase.php
line: 52
code: 0
trace: #0 /usr/local/psa/admin/plib/Aps/Catalog/Install/Manager.php(99): Smb_View_Resource_HostingDatabase->__construct(object of type Apspp_Hosting_Resource_Database)
#1 /usr/local/psa/admin/plib/Aps/Catalog/Install/Manager.php(56): Aps_Catalog_Install_Manager->_setupRequirementResources()
#2 /usr/local/psa/admin/plib/Aps/Catalog/Install/Task.php(37): Aps_Catalog_Install_Manager->processInstall()
#3 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(227): Aps_Catalog_Install_Task->run()
#4 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(151): Db_Table_Broker_LongTasks->_syncStart(object of type Db_Table_Row_LongTask)
#5 /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php(110): Db_Table_Broker_LongTasks->_startQueue(object of type Db_Table_Row_LongTask, boolean true)
#6 /usr/local/psa/admin/plib/Task/Async/Executor.php(51): Db_Table_Broker_LongTasks->start(object of type Db_Table_Row_LongTask, string 'synchronously')
#7 /usr/local/psa/admin/plib/scripts/task-async-executor.php(12): Task_Async_Executor->execute()

[2019-10-04 19:03:13.906] DEBUG [util_exec] [5d977b51dd683] Starting: send-error-report
[2019-10-04 19:03:13.925] DEBUG [util_exec] [5d977b51dd683] Finished in 0.00718s, Error code: TRUE
[2019-10-04 19:03:13.981] DEBUG [util_exec] [93cd42375a871081c0561ecea3721b4f-0] Starting: filemng root file_exists /root/.autoinstaller/microupdates.xml --allow-root
[2019-10-04 19:03:13.995] DEBUG [util_exec] [93cd42375a871081c0561ecea3721b4f-0] Finished in 0.01336s, Error code: 0
[2019-10-04 19:03:13.996] DEBUG [util_exec] [5d977b51f33f4] Starting: filemng root cat /root/.autoinstaller/microupdates.xml --allow-root
[2019-10-04 19:03:14.010] DEBUG [util_exec] [5d977b51f33f4] Finished in 0.01399s, Error code: TRUE
[2019-10-04 19:03:14.861] DEBUG [util_exec] [5d977b52d2323] Starting: filwrpr 31
[2019-10-04 19:03:14.874] DEBUG [util_exec] [5d977b52d2323] Finished in 0.01278s, Error code: TRUE
[2019-10-04 19:03:15.672] DEBUG [util_exec] [5d977b53a40e0] Starting: filwrpr 27
[2019-10-04 19:03:15.686] DEBUG [util_exec] [5d977b53a40e0] Finished in 0.01392s, Error code: TRUE
[2019-10-04 19:03:16.124] DEBUG [util_exec] [5d977b541e58c] Starting: filwrpr 98
[2019-10-04 19:03:16.139] DEBUG [util_exec] [5d977b541e58c] Finished in 0.01496s, Error code: TRUE
[2019-10-04 19:03:16.289] ERR [panel] APS Catalog error exception: Smb_Exception_NotFound: Installation of AfterLogic WebMail Lite at https://clientdomain.com/ failed. Call to a member function getOwner() on null in /usr/local/psa/admin/application/smb/controllers/AppController.php:759
Stack trace:
#0 /usr/local/psa/admin/application/smb/controllers/AppController.php(739): Smb_AppController->_getProgressData('aps-install')
#1 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): Smb_AppController->installProgressDataAction()
#2 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('installProgress...')
#3 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/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(46): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http))
#5 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#6 {main}
[2019-10-04 19:03:16.612] DEBUG [util_exec] [5d977b5495832] Starting: filwrpr 17
[2019-10-04 19:03:16.626] DEBUG [util_exec] [5d977b5495832] Finished in 0.01325s, Error code: TRUE
[2019-10-04 19:03:17.794] DEBUG [util_exec] [5d977b55c1f65] Starting: filwrpr 91
[2019-10-04 19:03:17.807] DEBUG [util_exec] [5d977b55c1f65] Finished in 0.01277s, Error code: TRUE
[2019-10-04 19:03:17.948] ERR [panel.ui] <pre>The following error has occurred during the installation of application: Installation of AfterLogic WebMail Lite at https://clientdomain.com/ failed. Call to a member function getOwner() on null</pre>
[2019-10-04 19:03:18.217] DEBUG [util_exec] [5d977b56351d6] Starting: filwrpr 33
[2019-10-04 19:03:18.223] DEBUG [util_exec] [5d977b5636685] Starting: filwrpr 96
 
Thank you. From developer:

I confirm that APS installation is blocked if admin has not own subscriptions, the issue is reported as PPP-44635
 
Error when installing WordPress
Code:
Error:
The following error has occurred during the installation of application: Installation of WordPress at https://websitename.com/ failed. Call to a member function getOwner() on null
 
Back
Top