Hello everybody,
on a fresh Debian 10.9 setup with Plesk I am unable to install mod_security with free Comodo ruleset.
I am getting this error:
Logs at
Anyone facing the same problem or having a solution for this?
on a fresh Debian 10.9 setup with Plesk I am unable to install mod_security with free Comodo ruleset.
I am getting this error:
modsecurity_ctl failed: Failed to download comodo_free rule set
Logs at
/var/log/plesk/install/modsecurity_ctl.log
are telling me this:
Code:
---START modsecurity_ctl
ERROR:root:Error
Traceback (most recent call last):
File "/usr/lib/plesk-9.0/modsecurity_get_comodo_ruleset/modsecurity_get_comodo_ruleset.py", line 99, in comodo_free
File "/usr/lib/plesk-9.0/modsecurity_get_comodo_ruleset/modsecurity_get_comodo_ruleset.py", line 72, in get_vendor_ruleset
File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 71, in load
return loader.get_single_data()
File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 37, in get_single_data
node = self.get_single_node()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 58, in compose_document
self.get_event()
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 118, in get_event
self.current_event = self.state()
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 193, in parse_document_end
token = self.peek_token()
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 128, in peek_token
self.fetch_more_tokens()
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 220, in fetch_more_tokens
return self.fetch_value()
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 576, in fetch_value
self.get_mark())
ScannerError: mapping values are not allowed here
in "<string>", line 39, column 26:
'allowLinker': true
^
active
STOP modsecurity_ctl
Anyone facing the same problem or having a solution for this?