Symptoms
-
Plesk 18.0.32 is installed.
-
Unable to change the location for virtual hosts via Plesk Reconfigurator tool:
Execute reconfigure_helper.exe --update-site-paths "--site-name=example.tld" "--old-path=C:inetpubvhosts" "--new-path=D:inetpub" failed with error code 1: ERROR: Error: Call to private method Service_IIS_Manager::updateErrorDocs() from context 'Smb_Application_Cli_ReconfigureHelper' (ReconfigureHelper.php:128) at (execPleskUtil line 115)
at Unable to executre command: C:Program Files (x86)Pleskadminbinreconfigure_helper.exe --update-site-paths "--site-name=example.tld" "--old-path=C:inetpubvhosts" "--new-path=D:inetpub"(execPleskUtil line 120) -
After the error appears, the location remains the same but the websites become unavailable.
-
After the error appears, it is not possible to create a domain in Plesk:
PLESK_ERROR: Error: System user update is failed: Unable to create system user: Unable to execute usermng: The system cannot find the path specified. (Error code 3) at Unable to create directory (D:inetpubvhostsexample.com) at (RunTime::File::createDirectory line 1344) at Unable to execute console command: ‘–add'(vconsoleapp::start line 95) at Unable to execute command: ‘”C:Program Files (x86)Pleskadminbinusermng” –add “–name=jdoe” “–password=*” “–home=D:/inetpub/vhosts/example.com”‘(vconsoleapp::run line 117) (Error code 1)
Cause
Product issue:
- #PPPM-12649 “It is now possible to change the vhosts folder location using Plesk Reconfigurator.”
Fixed in:- Plesk Obsidian 26 January 2021 (Windows)
Resolution
Workaround
If an update is not possible for some reason you may try the following
workaround
To make websites available and fix the issue with domain creation do the following:
-
Connect to the server via RDP.
-
Start Windows Registry Editor (regedit): Click Windows Start > type ‘regedit’ > click on it.
-
Find the key HKEY_LOCAL_MACHINESOFTWAREWow6432NodePLESKPSA ConfigConfig and create a backup of it: Right-click on the Config key > click Export > save in the file.
-
In the ‘Config’ key, double-click on the ‘HTTPD_VHOSTS_D’ string.
-
Change the value from
D:inetpubvhosts
back toC:inetpubvhosts
. -
Start a command prompt as an Administrator and restart IIS to make websites available:
C:> iisreset
-
Execute the following CLI command to fix the issue with domain creation:
C:>plesk bin service_node –update local