• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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