• 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.

Server Backup Status OK, opening fails

HansMu

New Pleskian
Hello,
I'm using PLESK 11.5.30 Update 20 on Debian Wheezy x64.
I configured a scheduled serverbackup everyday. The Backup completes with Status "OK" successful, however when I try to open the details of the backup within PLESK I'm getting the error:
Code:
Fehler: /var/lib/psa/dumps/clients/cdbachmann/domains/xxxx/k050_full__xxx_user-data_1310300313.tar22:1:0: not well-formed (invalid token)

The pmmcli.log says:

Code:
[2013-10-30 08:28:45.951|14958] DEBUG: --> <pmmcli.GetDumpOverviewAction object at 0x1c57550>
[2013-10-30 08:28:45.951|14958] INFO: stdin: <dump-specification><dumps-storage-credentials storage-type="local"><root-dir>/var/lib/psa/dumps</root-dir><file-name/></dumps-storage-credentials><name-of-info-xml-file>k050_full__info_1310300313.xml</name-of-info-xml-file></dump-specification>
[2013-10-30 08:28:45.954|14958] DEBUG: <pmmcli.ActionRunner object at 0x1c57590>: doActivity
[2013-10-30 08:28:45.955|14958] DEBUG: LOG: init 'restore-import' (with session=False)
[2013-10-30 08:28:45.955|14958] DEBUG: LOG: no logs dir in session, create
[2013-10-30 08:28:45.955|14958] DEBUG: LOG: log dir /opt/psa/PMM/logs/restore-2013-10-30-08-28-45-365
[2013-10-30 08:28:45.955|14958] DEBUG: LOG: custom log /opt/psa/PMM/logs/restore-2013-10-30-08-28-45-365/import.log
[2013-10-30 08:28:45.958|14958] INFO: Executing <subprocess[14959] '/opt/psa/admin/bin/pmm-ras --convert-local-dump --dump-storage=/var/lib/psa/dumps/ --dump-specification=k050_full__info_1310300313.xml --session-path=/opt/psa/PMM/logs'>
[2013-10-30 08:28:46.308|14958] INFO: Execution of <subprocess[14959] '/opt/psa/admin/bin/pmm-ras --convert-local-dump --dump-storage=/var/lib/psa/dumps/ --dump-specification=k050_full__info_1310300313.xml --session-path=/opt/psa/PMM/logs'> finished successfully.
[2013-10-30 08:28:46.309|14958] INFO: Create restore session 20131030082846566 started
[2013-10-30 08:28:46.326|14958] INFO: Executing <subprocess[14963] '/opt/psa/admin/bin/pmm-ras --get-child-dumps --dump-storage=/var/lib/psa/dumps/ --dump-specification=k050_full__info_1310300313.xml --session-path=/opt/psa/PMM/logs'>
[2013-10-30 08:28:46.345|14958] INFO: Execution of <subprocess[14963] '/opt/psa/admin/bin/pmm-ras --get-child-dumps --dump-storage=/var/lib/psa/dumps/ --dump-specification=k050_full__info_1310300313.xml --session-path=/opt/psa/PMM/logs'> finished successfully.
[2013-10-30 08:28:46.401|14958] CRITICAL: Runtime error in pmmcli: 
<class 'xml.sax._exceptions.SAXParseException'> /var/lib/psa/dumps/clients/user/domains/xxx/k050_full__xxx_user-data_1310300313.tar22:1:0: not well-formed (invalid token)
Traceback (most recent call last):
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2491, 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 2301, in get_dump_overview
    return ActionRunner(GetDumpOverviewAction, dump_specification, None).doActivity()
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 164, in doActivity
    result = self.processor.doActivity()
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 331, in doActivity
    session = pmmcli_session.PmmcliSession.createSession('','',self.__dump_specification_formatter.get_destination_file(), self.__dump_specification_formatter.buildString(), True)
  File "/opt/psa/admin/share/pmmcli/pmmcli_session.py", line 385, in createSession
    xml_processor.process()
  File "/opt/psa/admin/share/pmmcli/pmm_dump_access_service.py", line 264, in process
    parser.parse(open(self.__info_xml))
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 211, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python2.7/xml/sax/handler.py", line 38, in fatalError
    raise exception
SAXParseException: /var/lib/psa/dumps/clients/user/domains/xxx/k050_full__xxx_user-data_1310300313.tar22:1:0: not well-formed (invalid token)

I already tried changing passwords for all user accounts as I read this could help but with no luck at all.

Please help
Best regards
 
Error like "not well-formed (invalid token)" usually means incorrect symbol in backup xml file. As result this xml file can't be parsed correctly. It may be symbol not only in password but in name, any parameter, etc. Try to check this domain more carefully.
 
Hi Igor,
thanks for your reply.
What is the exact location of the XML File and what information is parsed there?
I already changed nearly everything!
I doubt you have UTF-8 compatible charsets in your backup engine, as I'm from Germany and using äüö etc. ?!
 
Igor could you please respond, I still get:
Fehler: /var/lib/psa/dumps/clients/cdbachmann/domains/bw/k050_full__bw_user-data_1311060258.tar25:1:0: not well-formed (invalid token)
 
Sorry, I can't help you without direct access to your Plesk server. Deep investigation is required. Therefore I suggest you contact Parallels Support Team.
 
Back
Top