Articles in this section

Unable to create a backup or restore Web Presence Builder snapshot in Plesk for Windows: Invalid Snapshot

kb: bug Plesk for Windows

Applicable to:

  • Plesk for Windows

Symptoms

  • Unable to create a backup or restore Web Presence Builder snapshot in Plesk for Windows, the process fails with the error:

    PLESK_ERROR: Invalid Snapshot


    PLESK_ERROR: Unable to restore website

  • The following error can be found in the %plesk_dir%admin\logs\plesklog_sitebuilder.log file:

    CONFIG_TEXT: [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\example.com\httpdocs\data/snapshots/6e6c622a415484ff7a23038329113589.php(RunTime::RunAsUser::run line 221)(Error code 1)file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Service\Agent.phpline: 243code: 0


    CONFIG_TEXT: 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: 271file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Smb\Exception\Syntax.phpline: 57code: 0


    CONFIG_TEXT: [EMERG] /sitebuilder/JsonApi/ SB_Site_Snapshot_Exception: invalidSnapshot
    file: C:\Program Files (x86)\Plesk\sb\include\SB\Site\Snapshot.php
    line: 258
    code: 0 203.0.13.2 https://example.com:8443/sitebuilder/Editor

Cause

The issue is caused by product bugs #PPPM-3483 and #PPPM-4869.

Resolution

Apply one of the solution below depending of the using Plesk version:

Warning: before applying the solution below, verify that website on which snapshot is tried to be restored is available via HTTP.

For Plesk Obsidian
  1. Log into the server via RDP.
  2. Press here to download the archive that contains a fix.

  3. Unpack the downloaded archive.

  4. Create a backup of the original file Target.php located in %plesk_dir%sb\include\SB\Extension\PP directory.

  5. Copy the Target.php file from the step №3 to %plesk_dir%sb\include\SB\Extension\PP folder.

  6. Create a backup or restore a snapshot again.

For Plesk Onyx
  1. Log into the server via RDP.
  2. Press here to download the archive that contains a fix.
  3. Unpack the downloaded archive.
  4. Create a backup of the original file Target.php located in %plesk_dir%sb\include\SB\Extension\PP directory.

  5. Copy the Target.php file from the step №3 to %plesk_dir%sb\include\SB\Extension\PP folder.

  6. Create a backup or restore a snapshot again.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.