• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

pleskrestore not working

J

jimporter

Guest
I used pleskbackup to backup my server before blitzing it and am now trying to create the map file but I get this returned is there a fix for this?

Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 116, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 299, in doActivity
self.session.getConvertedDumpFileName())
File "/usr/local/psa/admin/lib/python/streaming_extractor.py", line 33, in __init__
msg = mimetools.Message(fp)
File "/usr/lib/python2.4/mimetools.py", line 16, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/usr/lib/python2.4/rfc822.py", line 106, in __init__
self.readheaders()
File "/usr/lib/python2.4/rfc822.py", line 153, in readheaders
line = self.fp.readline()
File "/usr/local/psa/admin/lib/python/ReadLineAdapter.py", line 12, in readline
chunk = self.__fh.read(self.BUFFER_SIZE)
File "/usr/local/psa/admin/lib/python/gzip_stream.py", line 131, in read
buf = self._read(size)
File "/usr/local/psa/admin/lib/python/gzip_stream.py", line 145, in _read
buf = self.cmp.decompress(buf)
error: Error -3 while decompressing: invalid distance too far back
 
Resolution?

I am upgrading from a Fedora Core 3 system to a Fedora Core 5. FC3 is running Plesk 8.1.1. Backup went fine. When I try to create my map file on the FC5 system I get the following:

/usr/local/psa/bin/pleskrestore --create-map BACKUP -map MAP
Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 83, in getStatus
return (None, self.realGetStatus())
File "/usr/local/psa/admin/share/supervisor/processor.py", line 413, in realGetStatus
info = dump_format.readInfo(fh)
File "/usr/local/psa/admin/lib/python/dump_format.py", line 399, in readInfo
xml.sax.parse(fp, i)
File "/usr/lib/python2.4/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.4/xml/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: /var/restore/dump-plesk.xml:1:0: no element found


=======================================

Is this a known issue or bug? I am looking into python and libxml, but thought I might save some time if someone already knows the answer. Thanks.

Dan
 
Back
Top