Symptoms
-
Unable to create a backup or restore Web Presence Builder snapshot in Plesk for Windows, the process fails with the error:
Invalid Snapshot
Unable to restore website
-
The following error can be found in the
%plesk_dir%adminlogsplesklog_sitebuilder.log
file:[EMERG] /sitebuilder/JsonApi/ PleskUtilException: filemng failed:
Unexpected error at execute "C:Program Files (x86)ParallelsPleskadminbinfilemng.exe" u0088675 base64 C:inetpubvhostsexample.comhttpdocsdata/snapshots/6e6c622a415484ff7a23038329113589.php(RunTime::RunAsUser::run line 221)(Error code 1)file: C:Program Files (x86)ParallelsPleskadminplibServiceAgent.phpline: 243code: 0
ERR [1] Exception: PHP Warning: filesize(): stat failed for C:/Program Files (x86)/Parallels/Plesk/PrivateTemp/sb94E3.tmp.zip; File: C:Program Files (x86)ParallelsPleskadminplibServiceDriverFilesystemPleskWindows.php, Line: 271file: C:Program Files (x86)ParallelsPleskadminplibSmbExceptionSyntax.phpline: 57code: 0
[EMERG] /sitebuilder/JsonApi/ SB_Site_Snapshot_Exception: invalidSnapshot
file: C:Program Files (x86)PlesksbincludeSBSiteSnapshot.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
- Log into the server via RDP.
-
Press here to download the archive that contains a fix.
-
Unpack the downloaded archive.
-
Create a backup of the original file
Target.php
located in%plesk_dir%sbincludeSBExtensionPP
directory. -
Copy the
Target.php
file from the step №3 to%plesk_dir%sbincludeSBExtensionPP
folder. -
Create a backup or restore a snapshot again.
For Plesk Onyx
- Log into the server via RDP.
- Press here to download the archive that contains a fix.
- Unpack the downloaded archive.
-
Create a backup of the original file
Target.php
located in%plesk_dir%sbincludeSBExtensionPP
directory. -
Copy the
Target.php
file from the step №3 to%plesk_dir%sbincludeSBExtensionPP
folder. -
Create a backup or restore a snapshot again.