• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved can't remove subscription / domain : failed to parse response

LoïcM

Basic Pleskian
from panel.log :
Code:
[06-Oct-2016 08:24:22 Europe/Berlin] PleskPMMResponseException: Failed to parse response. Reason: Failed to read data from stream Process output:
file: /opt/psa/admin/plib/backup/protocol/PMMConnector.php
line: 708
code: 0
trace: #0 /opt/psa/admin/plib/backup/protocol/PMMConnector.php(582): PMMConnector->getResponse(Object(StreamXMLReader))
#1 /opt/psa/admin/plib/backup/BackupServerWideSettings.php(224): PMMConnector->getConfigParameters()
#2 /opt/psa/admin/plib/backup/BackupServerWideSettings.php(24): BackupServerWideSettings->init()
#3 /opt/psa/admin/plib/backup/ScheduledBackupCore.php(289): BackupServerWideSettings->__construct()
#4 /opt/psa/admin/plib/cObject.php(34): ScheduledBackup->resetAttr_()
#5 /opt/psa/admin/plib/cObject.php(29): cObject->initAttrs()
#6 /opt/psa/admin/plib/backup/ScheduledBackupCore.php(15): cObject->__construct()
#7 /opt/psa/admin/plib/backup/ScheduledBackupCore.php(260): ScheduledBackup->__construct(0)
#8 /opt/psa/admin/plib/backup/ScheduledBackupCore.php(244): ScheduledBackup::getScheduledBackupObject(40, 'domain', true)
#9 /opt/psa/admin/plib/BsDomain.php(547): ScheduledBackup::getDomainScheduledBackupObject(40)
#10 /opt/psa/admin/plib/BsDomain.php(520): BsDomain->_removeBackupUnix()
#11 /opt/psa/admin/plib/BsDomain.php(387): BsDomain->_removeBackup()
#12 /opt/psa/admin/plib/PhDomain.php(46): BsDomain->_delete()
#13 /opt/psa/admin/plib/BsDomain.php(362): PhDomain->delete()
#14 /opt/psa/admin/plib/Webspace.php(896): BsDomain->delete()
#15 /opt/psa/admin/application/admin/controllers/SubscriptionController.php(899): Webspace->delete()
#16 [internal function]: Admin_SubscriptionController->_deleteSubscription(Object(Webspace))
#17 /opt/psa/admin/plib/AdminPanel/Controller/Action/Abstract.php(95): call_user_func(Array, Object(Webspace))
#18 /opt/psa/admin/application/admin/controllers/SubscriptionController.php(862): AdminPanel_Controller_Action_Abstract->_objectsGroupAction(Object(CommonPanel_Broker_Webspace), Array, Array, '/subscription/l...')
#19 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Admin_SubscriptionController->deleteAction()
#20 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('deleteAction')
#21 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#22 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#23 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#24 {main}

[2016-10-06 08:24:22] ERR [delete_errors] Error occured while removing BsDomain: Failed to parse response. Reason: Failed to read data from stream Process output:
[2016-10-06 08:24:22] ERR [panel] Unable to remove domain: Failed to parse response. Reason: Failed to read data from stream Process output:
[2016-10-06 08:24:22] ERR [panel] Certains abonnements sélectionnés n'ont pas été retirés.<br>Unable to remove domain: Failed to parse response. Reason: Failed to read data from stream Process output:

I've tried to reinstall migration manager as explained in https://kb.plesk.com/en/124713 but still cannot remove domain. Please advise.
 
Try to run

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components

and check result.
 
Hi Igor thank you for your answer, could you confirm that this command will not upgrade the php version please ?
Yes, it will install all latest microupdates and all Plesk packages will be updated, including Plesk php packages.
 
Igor, after running the command I still cannont delete subscription nor backup the server
response is

Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:
Message Failed to parse response. Reason: Failed to read data from stream Process output:
File PMMConnector.php
Line 708
Type PleskPMMResponseException
 
Try to fix it with

# /usr/local/psa/admin/bin/autoinstaller --install-component pmm-old --select-release-latest
 
Nooooo, after running this I'm not able to use plesk :
after loging in I'm redirected to https://xxxx.com:8443/admin/backup/local-repository and the following error is shown :
Code:
ERROR: Zend_Controller_Exception: Specified column "plesk_max_version" is not in the row#0 /opt/psa/admin/plib/Db/Table/Row.php(96): Zend_Db_Table_Row_Abstract->__get('plesk_max_versi...')
#1 /opt/psa/admin/plib/Db/Table/Row/Module.php(35): Db_Table_Row->__get('plesk_max_versi...')
#2 /opt/psa/admin/plib/Db/Table/Row/Module.php(25): Db_Table_Row_Module->checkActive()
#3 /opt/psa/admin/plib/Db/Table/Broker/Modules.php(38): Db_Table_Row_Module->isActive()
#4 /opt/psa/admin/plib/CommonPanel/Controller/Helper/Module.php(179): Db_Table_Broker_Modules->fetchActive()
#5 /opt/psa/admin/plib/CommonPanel/Controller/Helper/Module.php(211): CommonPanel_Controller_Helper_Module::{closure}()
#6 /opt/psa/admin/plib/CommonPanel/Controller/Helper/Module.php(184): CommonPanel_Controller_Helper_Module::_contextSafe(Object(Closure))
#7 /opt/psa/admin/plib/CommonPanel/Controller/Helper/Module.php(203): CommonPanel_Controller_Helper_Module::_eachModule(Object(Closure))
#8 /opt/psa/admin/plib/CommonPanel/Controller/Helper/Module.php(51): CommonPanel_Controller_Helper_Module::_eachModuleContent(Object(Closure), 'ContentInclude')
#9 /opt/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(60): CommonPanel_Controller_Helper_Module::initRendering()
#10 /opt/psa/admin/plib/AdminPanel/Controller/Action/Abstract.php(32): CommonPanel_Controller_Action_Abstract->init()
#11 /opt/psa/admin/plib/AdminPanel/Controller/Action/Admin.php(43): AdminPanel_Controller_Action_Abstract->init()
#12 /opt/psa/admin/application/admin/controllers/ErrorController.php(18): AdminPanel_Controller_Action_Admin->init()
#13 /opt/psa/admin/externals/Zend/Controller/Action.php(133): Admin_ErrorController->init()
#14 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)
#15 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /opt/psa/admin/plib/Application/Web.php(42): Zend_Controller_Front->dispatch(NULL)
#17 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#18 {main}
 
Try to fix all with

# plesk repair installation

and contact Support Team if not help.
 
The repair command is not available
Usage: plesk [command]

Commands:
help - Show help and exit
version - Show product version information
db - Database related commands. Open MySQL console by default.
bin - Run the specified Plesk command-line utility (e.g., domain, client)
sbin - Run the specified Plesk internal utility
php - Run a PHP script using the proper PHP interpreter
conf - Open the specified Plesk configuration file in the editor
log - Display the specified Plesk log file
installer - Parallels Installer shortcuts and command completion.
How can I contact support team as I own plesk license through a reseller ( ovh.com ) ?
 
Yes it is 12.0.18

Product version: 12.0.18
Build date: 2015/10/14 14:00
Build target: Ubuntu 12.04
Revision: 344620
Architecture: 64-bit
Wrapper version: 1.1
 
Yes it is 12.0.18

Product version: 12.0.18
Build date: 2015/10/14 14:00
Build target: Ubuntu 12.04
Revision: 344620
Architecture: 64-bit
Wrapper version: 1.1
I see. Plesk repair command works only on Plesk 12.5 and Plesk Onyx.
 
I've completly reinstall plesk by unseslecting the reselecting plesk component from the plesk installer command, so now I can login to plesk panel (12.5.30) but still facing the issue when trying to backup
Code:
Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:

Message    Failed to parse response. Reason: Failed to read data from stream Process output:
File    PMMConnector.php
Line    831
Type    PleskPMMResponseException

any clues ?
 
Last edited:
If you have 12.5 version now, what about

# plesk repair installation

?
 
I see in logs error message:

ImportError: No module named libxml2

Have you installed libxml2 and libxml2-python packages? Check it with

# rpm -qa | grep libxml2

and install with yum if necessary:

# yum install libxml2 libxml2-python

Run repair installation after that again.
 
Hi Igor, I've tried several things but I cannot manage to install this module, could you please look at the error bellow and see if you have a solution ? Thanks by advance :
Code:
~yum install libxml2 libxml2-python
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.9 (default, Oct 22 2014, 19:47:46)
[GCC 4.6.3]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
 
Ohh, sorry, you have Ubuntu, not CentOS. In this case use apt-get instead of yum. Like:

sudo apt-get install libxml2 libxml2-dev
 
Back
Top