Migration from Plesk 11.0.9 to Plesk 11.5.30 - An error occurred during changing of hosting settings: cli__domain_protdir_on_webstat_off

Created:

2016-11-16 12:44:05 UTC

Modified:

2017-04-24 12:13:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration from Plesk 11.0.9 to Plesk 11.5.30 - An error occurred during changing of hosting settings: cli__domain_protdir_on_webstat_off

Applicable to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows

Symptoms

Migration failes with the error:

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

Cause

Such behavior is considered a software issue and will be fixed in future releases. The internal ID regarding the matter is PPPM-1615 .

Resolution

On the source server disable protected folders for sites where webstat is not configured.

  1. Get list of these domains

    "%plesk_bin%"\\dbclient.exe --direct-sql --sql="select d.name from domains d, protected_dirs p where p.dom_id =d.id and p.dom_id in (select dom_id from hosting where webstat='none');" > c:\\list.txt
  2. Remove unnecessary protection

    for /F %a in (C:\\list.txt) do protdir --remove plesk-stat -domain %a

or apply custom Patch for Plesk 11.5 Windows 2008/2012:

1) Backup the original file "C:\Program Files (x86)\Parallels\Plesk\admin\plib\api-common\cuDomain.php"

2) Replace with attached one.

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