Unable to backup/restore a Web Presence Builder snapshot: Invalid Snapshot

Created:

2016-11-16 13:23:43 UTC

Modified:

2017-08-16 18:31:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to backup/restore a Web Presence Builder snapshot: Invalid Snapshot

Applicable to:

  • Plesk for Windows
  • Web Presence Builder for Windows

Symptoms

Unable to backup/restore a Web Presence Builder snapshot:

  • The following error appears in Web Presence Builder:
    Invalid Snapshot

    OR:

    Unable to restore website
  • In %plesk_dir%admin\logs\plesklog_sitebuilder.log the following can be found:
    [EMERG] /sitebuilder/JsonApi/   PleskUtilException: filemng failed: Unexpected error
    at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\filemng.exe" u0088675 base64 C:\\inetpub\\vhosts\\domain.tld\\httpdocs\\subdomain.tld/data/snapshots/6e6c622a415484ff7a23038329113589.php(RunTime::RunAsUser::run line 221)
    (Error code 1)
    file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Service\\Agent.php
    line: 243
    code: 0

    OR:

    ERR [1] Exception: PHP Warning: filesize(): stat failed for C:/Program Files (x86)/Parallels/Plesk/PrivateTemp/sb94E3.tmp.zip; File: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Service\\Driver\\Filesystem\\Plesk\\Windows.php, Line: 271

    file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Exception\\Syntax.php
    line: 57
    code: 0

Cause

This is a product bug with IDs #PPPM-3483 and #PPPM-4869 , which is expected to be fixed in the future Plesk micro-updates.

Resolution

For Plesk Onyx:

  1. Download and unpack the archive with the patched file Target.php
  2. Create a backup of the original file Target.php located in %plesk_dir%sb\include\SB\Extension\PP
  3. Copy the patched file Target.php into %plesk_dir%sb\include\SB\Extension\PP
  4. Backup/restore a snapshot again

For Plesk 12.5:

  1. Download and unpack the archive with the patched file Target.php
  2. Create a backup of the original file Target.php located in %plesk_dir%sb\include\SB\Extension\PP
  3. Copy the patched file Target.php into %plesk_dir%sb\include\SB\Extension\PP
  4. Backup/restore a snapshot again

If the solution above did not help, do the following:

  1. Download and unpack the archive with the patched file filemng.exe
  2. Create a backup of the original file filemng.exe located in %plesk_bin%
  3. Copy the patched file filemng.exe into %plesk_bin%
  4. Download and unpack the archive with the patched file Windows.php
  5. Create a backup of the file Windows.php located in %plesk_dir%admin\plib\Service\Driver\Filesystem\Plesk\
  6. Copy the patched file Windows.php into %plesk_dir%admin\plib\Service\Driver\Filesystem\Plesk\
  7. Backup/restore a snapshot again

For Plesk 12.0:

  1. Download and unpack the archive with the patched file Target.php
  2. Create a backup of the original file Target.php located in %plesk_dir%sb\include\SB\Extension\PP
  3. Copy the patched file Target.php into %plesk_dir%sb\include\SB\Extension\PP
  4. Backup/restore a snapshot again

If the solution above did not help, do the following:

  1. Download and unpack the archive with the patched file filemng.exe
  2. Create a backup of the original file filemng.exe located in %plesk_bin%
  3. Copy the patched file filemng.exe into %plesk_bin%
  4. Download and unpack the archive with the patched file Windows.php
  5. Create a backup of the file Windows.php located in %plesk_dir%admin\plib\Service\Driver\Filesystem\Plesk\
  6. Copy the patched file Windows.php into %plesk_dir%admin\plib\Service\Driver\Filesystem\Plesk\
  7. Backup/restore a snapshot again

If described steps did not help, contact Plesk Technical Support Team .

Attachments:

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