Snapshot restoration fails with error: Failed to load the snapshot

Created:

2016-11-16 12:49:55 UTC

Modified:

2017-05-15 18:24:45 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Snapshot restoration fails with error: Failed to load the snapshot

Applicable to:

  • Plesk 11.5 for Linux

Symptoms

After changing preferred domain value from domain.tld to www.domain.tld in Subscriptions > domain.tld > Hosting Settings , snapshot restoring fails with an error:

Failed to load the snapshot

Unexpected server behavior. For details, see the product's log files. Some errors were written to log. Please contact to administrator.

In /usr/local/psa/admin/logs/sitebuilder.log following error occurs:

2014-04-21T18:08:59+07:00       [EMERG] /sitebuilder/JsonApi/   Zend_Http_Client_Adapter_Exception: Unable to Connect to tcp://www.domain.tld:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known
file: /usr/local/psa/admin/externals/Zend/Http/Client/Adapter/Socket.php
line: 235
code: 0 192.168.34.197 https://10.39.81.47: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 PPPM-1579 .

Resolution

There are two workarounds:

  1. Change preferred domain value from www.domain.tld to domain.tld ( Subscriptions > domain.tld > Websites & Domains > domain.tld > Hosting Settings ), restore snapshot, then again change preferred domain to www.domain.tld .

  2. Download and apply custom fix :

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

Attachments:

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