• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!

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