- Plesk 11.0 for Windows
- Plesk 11.5 for Windows
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
Such behavior is considered a software issue and will be fixed in future releases. The internal ID regarding the matter is PPPM-1615 .
On the source server disable protected folders for sites where webstat is not configured.
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
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.