Article ID: 128003, created on Jan 10, 2016, last review on Jan 10, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Migration fails with the following error:

An error occurred during domain update: An error occurred during changing of hosting settings: Unable to allow access to web statistics through a protected directory: web statistics is turned off.

The following output in /opt/panel-migrator/logs/panel-migrator.log:

=|2015-08-04_01:59:16,777|I|ST2|common.actions.print_subscription_status|example.com||├ error: An error occurred, when restoring hosting settings:
=|2015-08-04_01:59:16,777|I|ST2|common.actions.print_subscription_status|example.com||├ error: An error occurred, when restoring hosting settings:
=|2015-08-04_01:59:16,777|I|ST2|common.actions.print_subscription_status|example.com||│ Execution of /usr/local/psa/admin/plib/api-cli/domain.php --update example.com -webstat none -webstat
-protdir-access true -ignore-nonexistent-options failed with return code 1.
=|2015-08-04_01:59:16,777|I|ST2|common.actions.print_subscription_status|example.com||│ Stderr is
=|2015-08-04_01:59:16,777|I|ST2|common.actions.print_subscription_status|example.com||│ An error occurred during domain update: An error occurred during changing of hosting settings: Unable to allow access to web statistics through a protected directory: web statistics is turned off.

Cause

This issue appears when webstatistic for the website disabled on the source server but the option "accessible via password-protected directory /plesk-stat/webstat/" is enabled.

The behavior is caused by the source code disadvantage PMT-1972. The fix is considered to be included in one of the next PA updates.

Please use provided ID to track maintenance in Plesk Automation release notes.

Subscribe to our knowledge base - each product update comes with corresponding KB article.

Workaround

Disable the option "accessible via password-protected directory /plesk-stat/webstat/" in the hosting settings of domain on source server and restart the migration.

Search Words

'utf8' codec can't decode byte 0xdd in position 8382: invalid continuation byte

web statistics is turned off

An error occurred during domain update: An error occurred during changing of hosting settings

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF