Applicable to:
- Plesk for Windows
Symptoms
-
Plesk update or upgrade fails with the following error:
PLESK_ERROR: Failed to update Plesk.
Autoinstaller has finished with error: exit code 1: ERROR: The installation of the package 'plesk-urlprotection' failed with code 1603. (upgrade: Upgrading Plesk URL protection module...) -
The following error is logged in
C:\ProgramData\Plesk\Installer\autoinstaller3.log:CONFIG_TEXT: Failed to install 'C:\ProgramData\Plesk\Installer\cache\pool\release\PLESK-WIN_18.0.81_20437\dist-windows\plesk-urlprotection.msi': Fatal error during installation. (Error code 1603)
Sub-action 'InstallMsiPackage' failed with error code: 1603(0x00000643) - An attempt to install
plesk-urlprotection.msimanually withmsiexecopens the Plesk URL protection IIS module Setup window on the Change, repair, or remove installation page, where only the Remove button is available.
Cause
One of the following:
- The package is already registered in Windows, and a server reboot is pending after a previous MSI package installation.
- IIS hangs during the package installation.
Resolution
Check whether a server reboot is pending, and then follow the steps in the matching tab below.
- Connect to the Plesk server over RDP.
- Start a command prompt as an Administrator.
-
Check whether a server reboot is pending:
C:\> reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending"
C:\> reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"
C:\> reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations
- If at least one of the commands shows the key or the value, a reboot is pending. Follow the steps in the Reboot is pending tab.
- If all three commands return
ERROR: The system was unable to find the specified registry key or value., no reboot is pending. Follow the steps in the No reboot is pending tab.
-
Warning: Plesk and websites will be offline while the server reboots.
Reboot the server:
C:\> shutdown /r /t 0
- After the reboot, connect to the server over RDP and start a command prompt as an Administrator.
- Repeat the operation that failed:
-
If Plesk updates failed to install, install Plesk updates:
C:\> plesk installer update
- If an upgrade to a newer Plesk version failed, upgrade Plesk again.
-
-
Verify that the module is up to date:
C:\> plesk installer --select-release-current --show-components | findstr /i "urlprotection"
The output must contain
plesk-urlprotection[up2date].
-
Find the path to the package that failed to install:
C:\> findstr /i /c:"Failed to install" C:\ProgramData\Plesk\Installer\autoinstaller3.log | findstr /i "plesk-urlprotection"
The path is shown in the last line of the output, for example:
CONFIG_TEXT: Failed to install 'C:\ProgramData\Plesk\Installer\cache\pool\release\PLESK-WIN_18.0.81_20437\dist-windows\plesk-urlprotection.msi': Fatal error during installation. (Error code 1603)
-
Warning: Plesk and websites will be offline while IIS is stopped.
Stop IIS:
C:\> iisreset /stop
-
Note: Replace the path to the package with the one found in step 1.
Install the package:
C:\> msiexec /i "C:\ProgramData\Plesk\Installer\cache\pool\release\PLESK-WIN_18.0.81_20437\dist-windows\plesk-urlprotection.msi" /L*V "C:\plesk_urlprotection_installation_debug.txt" AUTOINSTALLER=1
Warning: If the command opens the Plesk URL protection IIS module Setup window on the Change, repair, or remove installation page, do not click Remove. It uninstalls the URL protection module from IIS, and password-protected directories on websites stop working. Instead, complete the following steps:
- Click Cancel.
-
Start IIS:
C:\> iisreset /start
- Follow the steps in the Reboot is pending tab.
-
Start IIS:
C:\> iisreset /start
- Repeat the operation that failed:
-
If Plesk updates failed to install, install Plesk updates:
C:\> plesk installer update
- If an upgrade to a newer Plesk version failed, upgrade Plesk again.
-
-
Verify that the module is up to date:
C:\> plesk installer --select-release-current --show-components | findstr /i "urlprotection"
The output must contain
plesk-urlprotection[up2date].
Comments
Please sign in to leave a comment.