• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved Unable to reinstall modsecurity after upgrade from Onyx to Obsidian

Abernathy

New Pleskian
Server operating system version
CentOS Linux 7.9
Plesk version and microupdate number
18.0.57
In the process of upgrading to Obsidian, I had this conflict ;
Bash:
Exception: Failed to solve dependencies:
plesk-modsecurity-configurator conflicts with mod_security-2.9.2-centos7.19091318.x86_64

I did remove mod_security thinking I would reinstall it after upgrade.
Maybe I should have used the installer to remove the component.
Bash:
Running transaction
  Erasing    : plesk-modsecurity-crs-17.8.11-centos7.18021217.x86_64                                                                          1/2
  Erasing    : mod_security-2.9.2-centos7.19091318.x86_64                                                                                     2/2
warning: /etc/httpd/conf.d/security2.conf saved as /etc/httpd/conf.d/security2.conf.rpmsave
  Verifying  : plesk-modsecurity-crs-17.8.11-centos7.18021217.x86_64                                                                          1/2
  Verifying  : mod_security-2.9.2-centos7.19091318.x86_64                                                                                     2/2

Removed:
  mod_security.x86_64 0:2.9.2-centos7.19091318                                                                                                   

Dependency Removed:
  plesk-modsecurity-crs.x86_64 0:17.8.11-centos7.18021217                                                                                         

Complete!

Upgrade went fine afterwards and I now have Plesk Obsidian v18.0.57

My issue is that I cannot reinstall modsecurity.​

Bash:
plesk installer --select-release-current --install-component modsecurity

Error

Bash:
Failed to install {'release': '2.centos.7+p18.0.57.5+t231218.0957', 'epoch': '1', 'version': '2.9.7', 'arch': 'x86_64', 'name': 'mod_security'}:
Number of retries is exceeded.
InstallError: No package(s) available to install

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Visit https://support.plesk.com/ to search for a solution.
exit status 1

Can someone please help me to reinstall modsecurity ?

 
Found the problem... exclude=mod_security in /etc/yum.conf
I commented out that line and modsecurity install went fine.
 
Last edited by a moderator:
Back
Top