CPANEL-38220 - How to Find PHP Version Required by Horde?
I had removed PHP versions *except* 8.0 as all that I needed.
Since the upgrade to v98 (specifically 11.98.0.6) on 31 August, the daily job includes messages "Removing obsoleted package(s): cpanel-php73..." listing a number of packages. Then a little later is the message "The following RPMs are missing ..." and it reinstalls them.
My best guess is that Horde (my webmail choice) might be configured to use php7.3, since I can't think of anything else that I'm using that might need it. (I'm *not* using Wordpress.) But I was wondering how I might (1) check that, and (2) change Horde to use something else if that's the issue and possible?
Or, more generally, determine what is forcing the cycle of purge/reinstall of 7.3 each night?
Also interesting that it wasn't an issue before the upgrade. I had dropped the other PHP versions well before the upgrade.
With thanks in anticipation - Barry J.
-
Hello there! I think it would be best to open a support ticket so that our analysts can review the issue more thoroughly and determine what exactly is occurring. You can submit a support request using the "Submit a ticket" link in my signature below. Please be sure to link this thread when opening the ticket and provide the ticket number here so that we can track the issue appropriately. If possible, please post the resolution on this thread as it may help other community members with similar issues. 0 -
Before I do that, let me - with considerable embarrassment - note that, after posting, I went back and actually looked at the package names more closely. And, indeed, they are related to webmail. Check the log messages shown below. I also re-enabled php7.3 in my EasyApache4 configuration yesterday, but it alone made no difference. (My sense is that you have a separate php7.3 install for your own purposes?) The relevant snippet of log messages: ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] rpm_is_working-1.0-0 ######################################## ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] Removing obsoleted package(s): cpanel-php73-content-2.0.6-1.cp1198.noarch, cpanel-php73-horde-5.2.21-1.cp1198.noarch, cpanel-php73-imp-6.2.24-1.cp1198.noarch, cpanel-php73-ingo-3.2.16-1.cp1198.noarch, cpanel-php73-kronolith-4.2.27-1.cp1198.noarch, cpanel-php73-mnemo-4.2.14-1.cp1198.noarch, cpanel-php73-nag-4.2.19-1.cp1198.noarch, cpanel-php73-timeobjects-2.1.4-1.cp1198.noarch, cpanel-php73-trean-1.1.9-1.cp1198.noarch, cpanel-php73-turba-4.2.25-1.cp1198.noarch, cpanel-php73-webmail-5.2.22-1.cp1198.noarch ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] Attempting to fix the local install by running scripts/check_cpanel_rpms --fix --no-digest ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] Problems were detected with cPanel-provided files which are RPM controlled. ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] If you did not make these changes intentionally, you can correct them by running: ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] The following RPMs are missing from your system: ... [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-13 22:16:28 +1000] cpanel-php73-content-2.0.6-1.cp1198
The remaining packages are listed, one per line, following the one included here, before the messages related to them being reinstalled. Running/usr/local/cpanel/scripts/check_cpanel_rpms --fix
(i.e., without the--no-digest
) as suggested by one of the log messages above in an WHM Terminal window produced no terminal output. I also notice that "98.0.7", with a fixCPANEL-38327: Update cpanel-php73 to 7.3.30-1.cp1198.
has appeared. I have forced that update to apply now, rather than awaiting tonight's scheduled run, to see if it changes anything in tonight's run. The update itself did include the same messages in its run log, sooo ... perhaps not?0 -
Hello again! Thank you for that clarification. The scheduled update you mentioned is a PHP security release. What's interesting is that packages are being obsoleted, and then required right after. I'd like to set up a test server with a similar environment to your own to attempt to replicate the behavior. Can you confirm your server's OS? Any other details you can share about your environment should also allow me to replicate the issue more effectively. Any other replication steps you can provide would be helpful as well. 0 -
OS is CentOS 7.9. But at this point my inclination is to let it go. Especially if I'm the only one having the issue. When setting up my WHM/cPanel-managed VPS a few years ago, I looked at the 3 webmail options at the time (i.e., SquirrelMail was an option, along with Horde and RoundCube). I picked Horde because it had options for iCal and vCard connectivity. But I subsequently discovered they weren't part of the Horde bundle supported by cPanel. I have a vague memory of seeing a feature request to have them added but I've not seen anything about it happening. Looking at the two projects, it would appear RoundCube (with a new release in the works that includes PHP 8.0 support) is more actively supported than Horde (last release in 2017, which added support for PHP 7). My inclination is to simply switch to RoundCube. I only maintain the webmail service as a contingency anyway. I'm usually using an email client on whatever device is at hand. I'll not do anything until you have had a chance to respond. If you want to look at it further, I guess I could open an Issue and, perhaps, give you a copy of a WHM-level backup so that you could look through the configuration files? But if it's just me, and I'm the only person in the cPanel Universe still using Horde, then I'm sure it's not worth it. :-) 0 -
Oh, and the messages were still in the last scheduled daily run. 0 -
I wasn't able to replicate this in my test environment, although I'm not confident that I took all the same steps that may have been taken on your end. With that being said, I think it would be best to open a support ticket so that our analysts can review the issue more thoroughly and determine what exactly is occurring. You can submit a support request using the "Submit a ticket" link in my signature below. Please be sure to link this thread when opening the ticket and provide the ticket number here so that we can track the issue appropriately. If possible, please post the resolution on this thread as it may help other community members with similar issues. 0 -
Thanks, Barry Johnson! Yes, it does appear an internal case was recently filed on the issue, CPANEL-38559. The article you linked contains more information on the issue and should have a workaround updated as soon as one is available. If you have any other questions or concerns in the meantime, please let us know. 0 -
Just chiming in that I am seeing the same Horde-related obsolete-delete followed by the required-reinstall cycle daily since 98.0.6. CL7.9 system atop CentOS. 0 -
I'm having this same problem. Horde gets uninstalled, then installed every night during upcp. [2021-09-21 23:17:31 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] Removing obsoleted package(s): cpanel-php73-content-2.0.6-1.cp1198.noarch, cpanel-php73-horde- 5.2.21-1.cp1198.noarch, cpanel-php73-imp-6.2.24-1.cp1198.noarch, cpanel-php73-ingo-3.2.16-1.cp1198.noarch, cpanel-php73-kronolith-4.2.27-1.cp1198.noarch, cpanel-php73-mnemo-4.2.14-1 .cp1198.noarch, cpanel-php73-nag-4.2.19-1.cp1198.noarch, cpanel-php73-timeobjects-2.1.4-1.cp1198.noarch, cpanel-php73-trean-1.1.9-1.cp1198.noarch, cpanel-php73-turba-4.2.25-1.cp1198 .noarch, cpanel-php73-webmail-5.2.22-1.cp1198.noarch [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] Attempting to fix the local install by running scripts/check_cpanel_rpms --fix --no-digest [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] Problems were detected with cPanel-provided files which are RPM co ntrolled. [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] If you did not make these changes intentionally, you can correct t hem by running: [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] The following RPMs are missing from your system: [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-content-2.0.6-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-horde-5.2.21-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-imp-6.2.24-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-ingo-3.2.16-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-kronolith-4.2.27-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-mnemo-4.2.14-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-nag-4.2.19-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-timeobjects-2.1.4-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-trean-1.1.9-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-turba-4.2.25-1.cp1198 [2021-09-21 23:17:37 -0700] [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] [2021-09-21 23:17:32 -0700] cpanel-php73-webmail-5.2.22-1.cp1198
0 -
@moco - if you want to keep Horde from being available to your users you would go to WHM >> Tweak Settings and make sure that "Enable Horde Webmail" is set to Off. The cpanel-php73 packages are internal packages, and not related to Apache or your web hosting. 0 -
@moco - if you want to keep Horde from being available to your users you would go to WHM >> Tweak Settings and make sure that "Enable Horde Webmail" is set to Off. The cpanel-php73 packages are internal packages, and not related to Apache or your web hosting.
Hi there. No problem and understood. I currently have Horde on, and that's just fine for me. However as the OP posted, starting with .6 the upcp process starting removing and reinstalling Horde every night, as you can see in my logs. Thats what I'm reporting. I'm hopeful CPANEL-38559 will get some attention soon.0 -
The case has actually been re-numbered to CPANEL-38220. That is fixed in version 100 and they are working on the backport to 98 now. 0 -
Ok great. Thanks so much. 0 -
v98.0.9 seems to have fixed it for me. 0 -
I do see it is included in 98.0.9 at this time! 0
Please sign in to leave a comment.
Comments
16 comments