Introduction
You may encounter an issue with Roundcube that cannot be solved by traditional troubleshooting methods and requires reinstalling the package. The following procedure can help you remove the Roundcube package and install the version appropriate for your cPanel version.
Procedure
- Identify your currently installed version of Roundcube by checking your RPM database:
[root@server ~]# rpm -qa | grep -i roundcube
cpanel-roundcubemail-1.5.2.1-6.cp11106.noarch - Uninstall only the Roundcube package:
[root@server ~]# rpm -e --justdb --nodeps cpanel-roundcubemail-1.5.2.1-6.cp11106.noarch
- Use the check_cpanel_pkgs script to reinstall the appropriate Roundcube package, answering "y" at the prompt:
[root@server ~]# /scripts/check_cpanel_pkgs
[20XX-XX-XX 00:0:0 +0000]
[20XX-XX-XX 00:0:0 +0000] Problems were detected with cPanel-provided files which are controlled by packages.
[20XX-XX-XX 00:0:0 +0000] If you did not make these changes intentionally, you can correct them by running:
[20XX-XX-XX 00:0:0 +0000]
[20XX-XX-XX 00:0:0 +0000] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix
[20XX-XX-XX 00:0:0 +0000] The following packages are missing from your system:
[20XX-XX-XX 00:0:0 +0000] cpanel-roundcubemail-1.5.2.1-6.cp11106
Do you want to repair these packages?(y/n):
(y/n): - Access Roundcube as normal and verify it is working properly.