Debian 9 (Stretch) or Ubuntu 18.04 is installed on a server and Atomic repository is enabled in
ModSecurity Rules by Atomicorp are missing in Plesk at Tools & Settings > Web Application Firewall (ModSecurity) even if the Atomicorp license key is installed.
It is not possible to use ModSecurity Rules by Atomicorp at Tools & Settings > Web Application Firewall (ModSecurity) with the error message:
PLESK_ERROR: Failed to install the ModSecurity rule set: modsecurity_ctl failed: gpg: key FFBD5D0A4520AFA9: “Atomicorp (Atomicorp Official Signing Key) [email protected]” not changed gpg: Total number processed: 1 gpg: unchanged: 1
E: Some index files failed to download. They have been ignored, or old ones used instead. sed: can’t read /etc/asl/config: No such file or directory Command ‘[‘sed’, ‘-i’, ‘-e’, ‘s#^MODSEC_RULES_PATHs*=.*#MODSEC_RULES_PATH=”/etc/apache2/modsecurity.d/rules/tortix/modsec”#g’, ‘-e’, ‘s#^RESTART_APACHEs*=.*#RESTART_APACHE=”no”#g’, ‘-e’, ‘s#^AUTOMATIC_UPDATESs*=.*#AUTOMATIC_UPDATES=”no”#g’, ‘/etc/asl/config’]’ returned non-zero exit status 2 Unable to download tortix rule set
When installing system updates, the operation fails with:
Failed to fetch W: The repository 'http://updates.atomicorp.com/channels/tortix-common/debian stretch Release' does not have a Release file.
E: Failed to fetch http://updates.atomicorp.com/channels/tortix-common/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found pdates.atomicorp.com/channels/tortix-common/debian/dists/stretch/main/binary-amd64/Packages 404
Plesk Onyx does not support Atomicorp rule-sets for Debian 9 (Stretch) and Ubuntu 18.04. Support for Atomicorp rule-sets on these OSes has been introduced in Plesk Obsidian 184.108.40.206.
A corresponding error message will be added in scope of the bug IDs PPPM-9037 (for Ubuntu 18.04) and PPP-31722 (for Debian 9).
Alternatively, disable Atomicorp repository on the Plesk server:
Connect to the Plesk server via SSH.
Run the command:
Update system packages:
# apt-get update