Symptoms
-
Plesk is not accessible after an upgrade, it shows 500 error, or blank page:
ERROR: Exception: Unable check file existence: Unable to convert a string to SID: (1337) The security ID structure is invalid.<br> at Plesk impersonation(PipeServer::ServerThread::sid line 798)<br> at (zif_plesk_internal_file_exists line 1506)
Additionally, an exception has occurred while trying to report this error: Zend_Exception
No entry is registered for key 'translate' (functions.php:1785) -
Error in
C:ParallelsInstallerautoinstaller3.log
file:MSI (04): DEBUG: Error 2203: Database: C:WindowsInstallerinprogressinstallinfo.ipi. Cannot open database file. System error -2147287035
MSI: Error! The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. -
Error in Â
%plesk_dir%adminlogsphp_error.log
file:PHP Fatal error:Â Uncaught Error: Class 'Zend_Log' not found in C:Program Files (x86)ParallelsPleskadminplibPleskLog.php:169
-
Cannot generate login link:
C:> plesk login
exit status 255OR
C:> plesk login
Unable check file existence: Unable to convert a string to SID: (1337) The security ID structure is invalid. -
Cannot repair Plesk installation using “Plesk Reconfigurator”:
The system cannot find the file specified. (Error code 2) at RegQueryValueEx valueName=PLESK_DATABASE_PASSWORD
at (registry::get line 176)
at Pipe channel(vpipechannel::onConnected line 120)
at getPassword('PLESK_DATABASE_PASSWORD')(PleskSrvClient::getPassword line 245)
at (psaobsolete::PSAMySQLDatabase::open line 136) -
Plesk configuration cannot be retrieved from system registry:
C:> reg query “HKLMSOFTWAREWOW6432NodePLESKPSA ConfigConfig” /v PLESK_DATABASE_PASSWORD
ERROR: The system was unable to find the specified registry key or value.
Cause
Incomplete Plesk upgrade due to Windows Installer service not running or failed during the installation.
Resolution
-
Connect to Plesk via RDP
-
Start Windows PowerShell by clicking on Win + R and typing
powershell.exe
into the Run window -
Using Windows PowerShell, copy the PLESK_DATABASE_PASSWORD property from the same-valued property pwd:
PS [byte[]]$password = (Get-ItemProperty -Path “HKLM:SOFTWAREWOW6432NodePLESKPSA ConfigConfig” -Name pwd).pwd
PS New-ItemProperty -Path “HKLM:SOFTWAREWOW6432NodePLESKPSA ConfigConfig” -Name “PLESK_DATABASE_PASSWORD” -PropertyType Binary -Value $password -
Start up Windows Installer service:
PS Start-Service msiserver
-
Start up Plesk Installer and complete the upgrade:
PS plesk installer –console