• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue Unable to activate Web Application Firewall

WebIP

New Pleskian
Trying to enable web application firewall (ModSecurity) on Plesk Windows 12.5.30
Mode - Detection only
Rule Set - Atomic Basic ModSecurity
Predefined set of values - Fast

Getting Error:
Failed to install the ModSecurity rule set: Unable to find row with id 272 in domains table.Unable to use the current Apache configuration file and to roll back to the previous version of the file because they contain an invalid configuration.

OS ‪Microsoft Windows Server 2008 R2 Service Pack 1‬
Plesk version 12.5.30 Update #40


Any help on this is welcome
Thanks
 
Same issue here but your solution doesn't work.

C:\Windows\system32>plesk repair db

Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

Error:

Failed to install the ModSecurity rule set: Unable to find row with id 7 in domains table.
Unable to use the current Apache configuration file and to roll back to the previous version of the file because they contain an invalid configuration.
 
Update to previous post:

Failed to install the ModSecurity rule set: Unable to find row with id 7 in domains table.
Unable to use the current Apache configuration file and to roll back to the previous version of the file because they contain an invalid configuration.

As far as I can see there is no row with ID 7 in domains table in PSA

exists ID 6 and 8 but not 7

Any help?
 
Back
Top