• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Backup Manager xmlSchemaParse() failed

MG11

New Pleskian
Hi all,

i have a Plesk 17.0.17 With Update #18 on Debian 7.11. A few days ago I wanted to check if the backups are working and when i click on Backup Manager i just get sent to the System Overview with this error:

upload_2017-3-12_15-52-13.png

Can someone help me please? I am pretty new to plesk and i am not sure where to start searching.
 
Try to find something useful regarding this error in backup logs

/usr/local/psa/PMM/logs/pmmcli.log
/usr/local/psa/PMM/logs/backup-<datetime>
 
Thanks for your reply.

on a side note i tried the "plesk repair installation" command, but it did not help.

In the pmmcli.log where some errors but i do not know what to do now. This error repeats:

Code:
[2017-03-12 15:33:31.149|18949] DEBUG: --> <pmmcli.GetTasksListAction object at 0x20c1d10>
[2017-03-12 15:33:31.151|18949] INFO: stdin: <?xml version="1.0" ?><tasks-list-query><type>Restore</type><type>Backup</type><top-object-type>server</top-object-type><top-object-id>1</top-object-id></tasks-list-query>
[2017-03-12 15:33:31.155|18949] CRITICAL: Runtime error in pmmcli:
<class 'libxml2.parserError'> xmlSchemaParse() failed
Traceback (most recent call last):
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2493, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2377, in get_tasks_list
    return ActionRunner(GetTasksListAction, task_params, deprecated_params).doActivity()
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 176, in __init__
    self.processor = ActionProcessor(parameter_stdin, parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1884, in __init__
    PMMCliAction.__init__(self, parameter_stdin, parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 219, in __init__
    self.__input_validator = validator.Validator(pmm_config.pmm_api_xml_protocols_schema())
  File "/opt/psa/admin/lib/python/validator.py", line 20, in __init__
    self.ctxt_schema = self.ctxt_parser.schemaParse()
  File "/usr/lib/python2.7/dist-packages/libxml2.py", line 6314, in schemaParse
    if ret is None:raise parserError('xmlSchemaParse() failed')
parserError: xmlSchemaParse() failed

[2017-03-12 15:33:31.156|18949] DEBUG: send-error-report /opt/psa/admin/bin/send-error-report <?xml version="1.0" ?><error><module>pmmcli</module><operation>&lt;class 'libxml2.parserError'&gt;</operation><message>xmlSchemaParse() failed at   File &quot;/opt/psa/admin/sbin/pmmcli&quot;, line 6, in &lt;module&gt;
    pmmcli.main()
  File &quot;/opt/psa/admin/share/pmmcli/pmmcli.py&quot;, line 2534, in main
    logUnhandledError(response, e, 1)
  File &quot;/opt/psa/admin/share/pmmcli/pmmcli.py&quot;, line 2427, in logUnhandledError
    ErrorReporter.sendException(exception)
  File &quot;/opt/psa/admin/lib/python/error_reporter.py&quot;, line 19, in sendException
    stack_trace = traceback.format_stack()
</message></error>
[2017-03-12 15:33:31.159|18949] INFO: Executing asynchronously <subprocess[18951] '/opt/psa/admin/bin/send-error-report send-error-report pmm'>
[2017-03-12 15:33:31.159|18949] INFO: Outgoing packet:
<?xml version="1.0" ?><response>
    <errcode>1001</errcode>
    <errmsg>xmlSchemaParse() failed</errmsg>
</response>
[2017-03-12 15:48:43.504|19423] DEBUG: --> <pmmcli.GetTasksListAction object at 0x268a0d0>
[2017-03-12 15:48:43.506|19423] INFO: stdin: <?xml version="1.0" ?><tasks-list-query><type>Restore</type><type>Backup</type><top-object-type>server</top-object-type><top-object-id>1</top-object-id></tasks-list-query>
[2017-03-12 15:48:43.509|19423] CRITICAL: Runtime error in pmmcli:
<class 'libxml2.parserError'> xmlSchemaParse() failed
Traceback (most recent call last):
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2493, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2377, in get_tasks_list
    return ActionRunner(GetTasksListAction, task_params, deprecated_params).doActivity()
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 176, in __init__
    self.processor = ActionProcessor(parameter_stdin, parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1884, in __init__
    PMMCliAction.__init__(self, parameter_stdin, parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 219, in __init__
    self.__input_validator = validator.Validator(pmm_config.pmm_api_xml_protocols_schema())
  File "/opt/psa/admin/lib/python/validator.py", line 20, in __init__
    self.ctxt_schema = self.ctxt_parser.schemaParse()
  File "/usr/lib/python2.7/dist-packages/libxml2.py", line 6314, in schemaParse
    if ret is None:raise parserError('xmlSchemaParse() failed')
parserError: xmlSchemaParse() failed

[2017-03-12 15:48:43.510|19423] DEBUG: send-error-report /opt/psa/admin/bin/send-error-report <?xml version="1.0" ?><error><module>pmmcli</module><operation>&lt;class 'libxml2.parserError'&gt;</operation><message>xmlSchemaParse() failed at   File &quot;/opt/psa/admin/sbin/pmmcli&quot;, line 6, in &lt;module&gt;
    pmmcli.main()
  File &quot;/opt/psa/admin/share/pmmcli/pmmcli.py&quot;, line 2534, in main
    logUnhandledError(response, e, 1)
  File &quot;/opt/psa/admin/share/pmmcli/pmmcli.py&quot;, line 2427, in logUnhandledError
    ErrorReporter.sendException(exception)
  File &quot;/opt/psa/admin/lib/python/error_reporter.py&quot;, line 19, in sendException
    stack_trace = traceback.format_stack()
</message></error>
[2017-03-12 15:48:43.513|19423] INFO: Executing asynchronously <subprocess[19424] '/opt/psa/admin/bin/send-error-report send-error-report pmm'>
[2017-03-12 15:48:43.514|19423] INFO: Outgoing packet:
<?xml version="1.0" ?><response>
    <errcode>1001</errcode>
    <errmsg>xmlSchemaParse() failed</errmsg>
</response>
 
Something wrong with python, libxml2-python system packages. Try to run

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

or reinstall backup manager in Plesk installer.
 
The first command does not help. The error still occures.

How do i reinstall the backup manager? I tried it with the web interface and the cli but i do not see a component "backup manager" or something related for reinstallation.
 
How do i reinstall the backup manager? I tried it with the web interface and the cli but i do not see a component "backup manager" or something related for reinstallation.
Try to do it with

# plesk installer --select-release-current --remove-component pmm
# plesk installer --select-release-current --install-component pmm

related python packages will be reinstalled.
 
Try to reinstall python, libxml2-python system packages. Contact Plesk Support Team if not help.
 
Back
Top