Applicable to:
- Plesk for Windows
- Plesk for Linux
Symptoms
- It's not possible to access domain's Backup Manager in Plesk with the following error:
PLESK_ERROR: Server Error
500
PleskPMMResponseException
Failed to parse response. Reason: XML error at line 6 column 39. Error message: > required
Process output:
<?xml version="1.0" encoding="UTF-8"?> <response> <errcode>0</errcode> <data> <task-list> <task task-id="613" name="" mail-to="" owner-guid="C65DC245-4B9F-4957-B88E-2F5537CA8713" task-type="Backup" task-pid="" owner-type="server" backup-profile-name="" creation-date="" fullname=""> <task-status task-id="613"> <finished status="error" log-location="C:\Program Files (x86)\Plesk\PMM\sessions\<session-id>\migration.result"> </finished> </task-status> <dumps-storage-credentials storage-type="local" use-passive-ftp-mode="false" use-ftps="false"> <root-dir>C:\Program Files (x86)\Plesk\Backup</root-dir> </dumps-storage-credentials> </task> <task task-id="612" name="backup_info_1812290102.xml" mail-to="" owner-gu
File PMMConnector.php
Line 933 - The following errors could be found in the
%plesk_dir%admin\logs\php_error.log
file:
CONFIG_TEXT: DEBUG [util_exec] [5c27e2161c284] Starting: pmmcli --get-tasks-list, stdin:
DEBUG [util_exec] [5c27e2161c284] Finished in 0.00279s, Error code: TRUE, stdout: , stderr:
ERR [1] PleskPMMResponseException: Failed to parse response. Reason: XML error at line 6 column 39. Error message: > required Process output: <?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-list>
<task task-id="613" name="
PleskPMMResponseException: Failed to parse response. Reason: XML error at line 6 column 39. Error message: > required Process output: <?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-list>
<task task-id="613" name=" - The command below returns the next output in Windows:
C:\> "C:\Program Files (x86)\Plesk\admin\bin\pmmcli.exe" --get-tasks-list Backup
<task task-id="613" name="" mail-to="" owner-guid="C65DC245-4B9F-4957-B88E-2F5537CA8713" task-type="Backup" task-pid="" owner-type="server" backup-profile-name="" creation-date="<date>" fullname=" ">
<task-status task-id="613">
<finished status="error" log-location="C:\Program Files (x86)\Plesk\PMM\sessions\2018-12-29-040001.890\migration.result">
</finished>
</task-status>
<dumps-storage-credentials storage-type="local" use-passive-ftp-mode="false" use-ftps="false">
<root-dir>C:\Program Files (x86)\Plesk\Backup</root-dir>
</dumps-storage-credentials>
</task>
OR
-
With enabled debug the following records can be found in
/var/log/plesk/panel.log
file:CONFIG_TEXT: [2019-09-20 12:45:01] ERR [1] Exception: XML error at line 90 column 32. Error message: > required
file: /usr/local/psa/admin/plib/StreamXMLReader.php
line: 115
code: 0
trace: #0 /usr/local/psa/admin/plib/StreamXMLReader.php(179): StreamXMLReader->parse()
#1 /usr/local/psa/admin/plib/StreamXMLReader.php(248): StreamXMLReader->read(string 'task-status', integer '2', integer '1', integer '0')
#2 /usr/local/psa/admin/plib/backup/protocol/PMMResponseTaskList.php(87): StreamXMLReader->sub(string 'task-status', integer '2')
#3 /usr/local/psa/admin/plib/backup/protocol/PMMResponseTaskList.php(208): PMMTask->__construct(object of type StreamXMLReader)
#4 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Backup/Trait.php(1680): PMMResponseTaskList->getNextTask()
#5 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Backup/Trait.php(1375): Admin_BackupController->_getStatuses()
#6 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Backup/Trait.php(37): Admin_BackupController->_getBackupList()
#7 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Admin_BackupController->listAction()
#8 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#9 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#10 /usr/local/psa/admin/plib/Application/Web.php(39): Zend_Controller_Front->dispatch(NULL null)
#11 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
[2019-09-20 12:45:01] DEBUG [util_exec] [5d84adadb93ea] Starting: send-error-report, stdin:
[2019-09-20 12:45:01] DEBUG [util_exec] [5d84adadb93ea] Finished in 0.00149s, Error code: TRUE, stdout: , stderr:
[2019-09-20 12:45:02] ERR [panel] Exception: XML error at line 90 column 32. Error message: > required
file: /usr/local/psa/admin/plib/StreamXMLReader.php
line: 115
code: 0
Cause
Corrupted Backup Manager database
Resolution
- Connect to the server via RDP
- Rename the file
%plesk_dir%PMM\tasks\tasks.db
totasks.db_backup
file
-
Connect to the server via SSH;
-
Remove or rename
tasks.db
file:For RedHat/CentOS:
# mv /usr/local/psa/PMM/tasks/tasks.db{,.back}
For Debian/Ubuntu:
# mv /opt/psa/PMM/tasks/tasks.db{,.back}
- Access Tools & Settings > Backup Manager again.
Comments
0 comments
Please sign in to leave a comment.