Snapshot restore fails with Invalid Snapshot error

Created:

2016-11-16 12:44:21 UTC

Modified:

2017-08-16 16:05:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Snapshot restore fails with Invalid Snapshot error

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

Snapshot restoration fails in Parallels Presence Builder integrated with Parallels Plesk with following error in GUI:

Invalid Snapshot

Proper snapshots created on another server are not restored on the current server too.

After enabling debug logging , following messages appear in /usr/local/psa/admin/logs/panel.log

[28-Jul-2014 15:33:53 ] Exception: PHP Runtime Notice: Declaration of SysUser::initFromSubmit() should be compatible with cObject::initFromSubmit($mapping = Array); File: /usr/local/ps
a/admin/plib/SysUser.php, Line: 0
file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /usr/local/psa/admin/plib/Loader.php(97): Smb_Exception_Syntax::handleError(2048, 'Declaration of ...', '/usr/local/psa/...', 0, Array)
#1 /usr/local/psa/admin/plib/Loader.php(97): Loader::loadClass()
#2 /usr/local/psa/admin/plib/Loader.php(37): Loader::loadClass('SysUser')
#3 [internal function]: Loader::autoload('SysUser')

In /usr/local/psa/admin/logs/sitebuilder.log

2014-07-31T08:57:21+02:00       [EMERG] /sitebuilder/JsonApi/   SB_Site_Snapshot_Exception: invalidSnapshot
file: /usr/local/sb/include/SB/Site/Snapshot.php
line: 258
code: 0 91.204.25.4 https://91.204.25.44:8443/sitebuilder/Editor Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0

Cause

Such behavior is considered a software issue and is planed to be fixed in future releases. The internal ID regarding the matter is PPB-4331 .

Resolution

Rename an original file and place the hot-fix.

cd /usr/local/sb/include/SB/Extension/PP/
mv Target.php Target.php.orig
wget https://support.plesk.com/hc/article_attachments/115004544289/Target.php

Attachments:

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