Unable to restore backup: Unable to extract psacontentfile.PSAUnZipperException: size mismatch

Created:

2016-11-16 13:05:00 UTC

Modified:

2017-08-16 17:24:31 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to restore backup: Unable to extract psacontentfile.PSAUnZipperException: size mismatch

Applicable to:

  • Plesk 11.x for Windows

Symptoms

Unable to extract backup due to the following error in Plesk:

Error:  hosting "example.com"
Can not deploy content of domain example.com

Error:
Archiver error: unable to extract files from D:\\Program Files (x86)\\Parallels\\Plesk\\Backup\\clients/client/domains/example.com.info/backup_example.com_vhost_1606201350.zip

In %plesk_dir%\\PMM\\rsessions\\session_id\\migration.log the following can be found:

Check file D:\\Program Files (x86)\\Parallels\\Plesk\\Backup\\clients/client/domains/example.com/backup_example.com_vhost_1606201350.zip is gzipped
File is zip
Unable to extract httpdocs/extern/database.bak : psacontentfile.PSAUnZipperException: size mismatch: -1295340156;-1 <-> -1295340156;284669440 ---> ICSharpCode.SharpZipLib.Zip.ZipException: size mismatch: -1295340156;-1 <-> -1295340156;284669440

bei ICSharpCode.SharpZipLib.Zip.ZipInputStream.BodyRead(Byte[] b, Int32 off, Int32 len)

bei ICSharpCode.SharpZipLib.Zip.ZipInputStream.Read(Byte[] destination, Int32 index, Int32 count)

bei psacontentfile.PSAUnZipper.read(Byte[] buf)

--- Ende der internen Ausnahmestapelüberwachung ---

bei psacontentfile.PSAUnZipper.read(Byte[] buf)

bei plesk.pmm_dotnet_proxy.UnpackFile(IPSAUnpacker zip, String filePath)

bei plesk.pmm_dotnet_proxy.Archiver.Unpack(basic_string<char\\,std::char_traits<char>\\,std::allocator<char> >* path, vector<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> >\\,std::allocator<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> > > >* files, basic_string<char\\,std::char_traits<char>\\,std::allocator<char> >* destination, ArchiveFormat format, vector<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> >\\,std::allocator<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> > > >* unpackedFiles, vector<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> >\\,std::allocator<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> > > >* includedItems, vector<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> >\\,std::allocator<std::basic_string<char\\,std::char_traits<char>\\,std::allocator<char> > > >* excludedItems)

Unable to extract httpdocs/extern/Widerrufsformular.pdf : psacontentfile.PSAUnZipperException: Old input was not completely processed ---> System.InvalidOperationException: Old input was not completely processed

bei ICSharpCode.SharpZipLib.Zip.Compression.Streams.StreamManipulator.SetInput(Byte[] buf, Int32 off, Int32 len)

Cause

The issue was caused by software issue with id #PPPM-4699 which has been fixed in Plesk 12.0

Workaround for Plesk 11.0

  1. Download patch into your server.

  2. Make a backup of %plesk_bin%\\ICSharpCode.SharpZipLib.dll

  3. Place patched file into %plesk_bin% directory.

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.