1.26 Ruleset won't install

30/03/15 18:31:37 updater[5323] cpanel info: Configuration problem detected on line 31 of file /var/cpanel/cwaf/rules/cwaf_01.conf: ModSecurity: Found another rule with the same id

--- /var/cpanel/cwaf/rules/cwaf_01.conf ---
25SecAction \
26	"id:210000,\
27	phase:1,\
28	pass,\
29	setvar:tx.points_limit4=5, setvar:tx.points_limit3=4, setvar:tx.points_limit2=3, setvar:tx.points_limit1=2,\
30	nolog,\
31 ===> 	t:none"

<===
32
33
34SecAction
35 "id:210010,
36 phase:1,
37 pass,
— /var/cpanel/cwaf/rules/cwaf_01.conf —

Installer then reverts back to previous 1.25

Hi

Please try to update now.

Plugin users is more protected from such situations because plugin check the rules before applying.

However, If you use CWAF cPanel plugin and things is broken by this update please try following from console:

rm -rf /var/cpanel/cwaf/rules/*

/var/cpanel/cwaf/scripts/updater.pl

The above fixed my problem as 1.27 wouldn’t load up through the UI

Hi

Please check if either of
/var/cpanel/cwaf/tmp/rules/workdir1/rules
/var/cpanel/cwaf/tmp/rules/workdir2/rules
do contain duplicate rule files (00_Global_Initialization.conf etc)

If they do, its better to remove these directories with:
# rm -rf /var/cpanel/cwaf/tmp/rules/* - remove main and backup rules content
# /var/cpanel/cwaf/scripts/updater.pl - update rules to latest version

Otherwise it can broke your next update.