• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Update error Mod Security

Paradox

New Pleskian
Server operating system version
Windows Server 2022
Plesk version and microupdate number
18.0.56 Update #2
Hi,
when Plesk try's to update Mod Security this error occurs
Code:
Execution failed.
Command: ai.exe
Arguments: Array
(
    [0] => --select-product-id
    [1] => panel
    [2] => --select-release-current
    [3] => --upgrade-installed-components
)

Details: ERROR: The installation of the package 'modsecurity' failed with code 1603. (upgrade: Upgrading ModSecurity IIS Module...)
Not all packages were installed.
Visit https://support.plesk.com/ to search for a solution.

This is what i get when i try to manually update
Code:
Installation started in background
Determining the packages that need to be installed.
Downloading file pool/release/PLESK-WIN_18.0.56_13058/dist-windows/owasp-modsecurity-crs.msi: completed.
Downloading file pool/release/PLESK-WIN_18.0.56_13058/thirdparty-windows-x86_64/ModSecurityIIS_2.9.7-64b-64.msi: completed.
Installing packages
Upgrading ModSecurity IIS Module...
MSI: Error! This setup requires IIS 7.0, 8.0 or 10.0. If that's the case, please ensure that the installer is running as administrator or try running it from the 'Apps and features' or 'Add/Remove Programs' menu
Unable to remove product 'modsecurity' (code '{22B04FDB-9BAB-46B0-87B8-A39544ECECD3}') with error 1603
Sub-action 'RemoveMsi' failed with error code: 1603(0x00000643)
Launching component and product checkers...
Downloading file pool/release/PLESK-WIN_18.0.56_13058/reportupdate.exe: 0%
Downloading file pool/release/PLESK-WIN_18.0.56_13058/reportupdate.exe: 100% was finished.
Error: The installation of the package 'modsecurity' failed with code 1603. (upgrade: Upgrading ModSecurity IIS Module...)
Not all packages were installed.
Visit https://support.plesk.com/ to search for a solution.

it says IIS 10.0 is required but i have IIS 10.0 installed

I couldn't find any solution by searching it online.
Any help is appreciated <3
 
The issue seems to be that for some reason the existing ModSecurity installation cannot be removed due to missing permissions.
"... setup requires IIS ... 10.0. If that's the case, please ensure that the installer is running as administrator or try running it from the 'Apps and features' or 'Add/Remove Programs' menu".
 
The issue seems to be that for some reason the existing ModSecurity installation cannot be removed due to missing permissions.
"... setup requires IIS ... 10.0. If that's the case, please ensure that the installer is running as administrator or try running it from the 'Apps and features' or 'Add/Remove Programs' menu".
Thanks for the reply,
when i try to remove ModSecurity via control panel i get this
 
It needs to be removed on the Windows operating system level. That's what is meant by "Apps and features" "Add/Remove Programs". If you need assistance with this, please open a ticket with Plesk support (https://support.plesk.com). There is no "one fits all" solution for this. It'll need to be checked what permissions are missing on your machine.
 
It needs to be removed on the Windows operating system level. That's what is meant by "Apps and features" "Add/Remove Programs". If you need assistance with this, please open a ticket with Plesk support (https://support.plesk.com). There is no "one fits all" solution for this. It'll need to be checked what permissions are missing on your machine.
Okay thanks :)
Has nothing to do with my question above but when i visit support.plesk.com and click on contact support i get redirected to a site which tells me to login but when i press login i get send back to support.plesk.com? anything known about this?
 
Finally after contacting the support the issue got fixed.

Disabled Modsecurity with the following article:
https://support.plesk.com/hc/en-us/...m32-inetsrv-ModSecurityIIS-dll-failed-to-load
and updated Plesk without any issue.

But installation of Modsecurity still fails with error:
Unable to remove product 'modsecurity' (code '{22B04FDB-9BAB-46B0-87B8-A39544ECECD3}') with error 1603
Sub-action 'RemoveMsi' failed with error code: 1603(0x00000643)

This can be fixed by temporally changing the version of IIS:
  1. Navigate to the branch HKLM\SOFTWARE\Microsoft\InetStp
  2. Change the value of the parameter MajorVersion from 10 to 8
Then you can install/update ModSecurity and revert the IIS version back
 
Back
Top