v120: Unable to view emails in Roundcube error
Please let me know why this error appears and how to fix it.
-
Hey there! You should be able to refresh the page and the messages will load. Have you tried that?
0 -
I refreshed the page but the result is still the same. Error still occurs.
0 -
Do you have root access to the server or just access to your cPanel account?
0 -
I have. Can you go in and fix it for me?
0 -
Tried everything. Still error
0 -
If you have root access you're welcome to submit a ticket and we can take a look!
0 -
I sent it but here is the answer:
Michelle Hermon (cPanel)
Apr 23, 2024, 06:45 CDT
Hello,
Thank you for contacting cPanel Customer Service. As your cPanel license was obtained through a cPanel Partner they must be your point of contact for support and general inquiries.
Your cPanel license is supported by Contabo GmbH who can be contacted here https://help.contabo.com/support/home We recommend you contact Contabo GmbH for assistance with any technical issues regarding your cPanel installation, as they are best equipped to assist with issues in their environment. cPanel partners are fully supported by cPanel and deliver best-in-the-industry support for cPanel products running on their infrastructure.
If you are unable to resolve this issue with your provider, you are welcome to utilize our community, documentation and support resources:0 -
Very sad but nothing more can be done. The error still occurs
0 -
You'll need to contact your hosting provider for more assistance then, and they can escalate the issue to us if necessary.
0 -
We talked about this being a bug caused by cpanel 120 version and roundcube iconv - ldap module incompatibility. The problem is solved with the command below;
cd /usr/local/cpanel/base/3rdparty/roundcube
/opt/cpanel/composer/bin/composer --ignore-platform-req=ext-iconv --ignore-platform-req=ext-iconv --ignore-platform-req=ext-ldap require sabre/vobject1 -
Run command at terminal wtm?
0 -
Correct
0 -
Thank you. I will try it. IF I have a problem I will ask you.
1 -
Thank you. It was successful.
0 -
Hey guys! The command by @vacancy worked like a charm.
This happens only on cPanel v120, right?
0 -
Running such a command is advisable to do ONLY on cPanel v120?
The bug should not happen on cPanel v118 nor even on CentOS 7 based servers, right?0 -
I don't know for sure if the problem is also present in version 118, but I have not seen any errors on my server, which is still in version 118.
The cpanel team will make a statement as to whether the main source of the problem is related to the cpanel version or the roundcube version.
0 -
I've just tested it and this only happens on v120. Roundcube on v118 works perfectly well.
0 -
Composer warns to not run as root user due to security concerns. How can I access that server folder and run the command while not being logged in as root user?
0 -
Only one server asked to not run composer as root, but I just run it anyway and it worked.
0 -
This is a standard composer warning. It does not create any security problems, ignore it.
0 -
Thanks -- It worked and the messages can now be viewed in webmail. :)
0 -
When running the command I get the following error:
<b>Fatal error</b>: Uncaught Error: Undefined constant "Symfony\Component\Console\Helper\STDIN" in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/console/Helper/QuestionHelper.php:130
Is there something I need to install?
0 -
Responding to myself just in case others encounter this issue. I realized the issue was that the command was running the fcgi version of php. I thought I had run the CLI version by pointing to /bin/php but what I needed to point to was /opt/cpanel/ea-php81/usr/bin/php.
So for users encountering the same issue, use the following:
/opt/cpanel/ea-php81/root/usr/bin/php /opt/cpanel/composer/bin/composer --ignore-platform-req=ext-iconv --ignore-platform-req=ext-iconv --ignore-platform-req=ext-ldap require sabre/vobject
However, my problem was more like this issue, where Roundcube would timeout. Another forum post mentioned replacing the Roundcube config file (config.inc.php) with an older version. I did that and it got me to the "Oops…Something went wrong!" error, but unlike the screenshots above this covered my whole screen rather than showing the Roundcube interface minus the email body.
I checked the Roundcube error log (/home/$USER/logs/roundcube/errors.log) and nothing showed up. Neither did anything show up in the php error log (/home/$user/logs/url.php.error.log).
0 -
I have the same error after upgrading from v118 to v120 :( the command not work for me
0 -
robert galeano - are you not able to refresh the page to resolve the issue? https://support.cpanel.net/hc/en-us/articles/22914339750295-v120-RoundCube-Internal-error-on-first-login-attempt-for-end-user-after-update-to-cPanel-v120
0 -
Yes, running this script does fix the problem -
cd /usr/local/cpanel/base/3rdparty/roundcube
/opt/cpanel/composer/bin/composer --ignore-platform-req=ext-iconv --ignore-platform-req=ext-iconv --ignore-platform-req=ext-ldap require sabre/vobject
However, now I get an email warning -
[check_cpanel_pkgs] There are altered Packages on ...
The system detected problems with the following cPanel-provided files that the Packaging System controls:
Packages
Status
Additional Information
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/composer.json
Broken
S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/autoload.php
... many more in this list.
Ending with:
If you did not make these changes intentionally, execute the following command as the root user to correct them:
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
I assume this is due to the changes made from the workaround fix script above. I further assume this notice will not continue to be sent once cPanel implements a permanent fix to the problem, rather than using the workaround script above.
Broken
S.5....T.
0 -
I don't think it's related to the fix, as this would be fixed nightly by the cPanel update process and no other user has posted a similar message after running the fix. It could be things were just temporarily out of sync on your system.
0 -
I previously always received "altered packages" because I had customized the Larry skin watermark.html file, but the email would only mention that one file. But after this update and switching to the Elastic skin, I now receive the following list of altered packages via email warning (the last file, "return_to_webmail.css" I did customize as well, but not the rest):
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/composer.json Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/skins/elastic/watermark.html Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/autoload.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/bin/crypt-gpg-pinentry Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/autoload_classmap.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/autoload_files.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/autoload_namespaces.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/autoload_psr4.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/autoload_static.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/include_paths.php Broken ..5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/installed.json Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/installed.php Broken S.5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/composer/platform_check.php Broken ..5....T.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/Engine.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/Exceptions.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/Key.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/KeyGenerator.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/PinEntry.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/ProcessControl.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/ProcessHandler.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/Signature.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/SignatureCreationInfo.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/SubKey.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPG/UserId.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/Crypt/GPGAbstract.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/LICENSE Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/README.md Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/composer.json Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/data/pinentry-cli.xml Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/crypt_gpg/scripts/crypt-gpg-pinentry Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/mail_mime/Mail/mime.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/mail_mime/Mail/mimePart.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/mail_mime/README Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/mail_mime/composer.json Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/net_sieve/Sieve.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/net_sieve/composer.json Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/README.rst Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/composer.json Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/src/OS/Guess.php Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/src/PEAR.php Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/src/PEAR/Error.php Broken missing
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/src/PEAR/ErrorStack.php Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/pear/pear-core-minimal/src/System.php Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/roundcube/plugin-installer/README.md Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/roundcube/plugin-installer/composer.json Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/roundcube/plugin-installer/src/Roundcube/Composer/ExtensionInstaller.php Broken missing
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/roundcube/plugin-installer/src/Roundcube/Composer/PluginInstaller.php Broken missing
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/roundcube/plugin-installer/src/Roundcube/Composer/RoundcubeInstaller.php Broken missing
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/roundcube/plugin-installer/src/Roundcube/Composer/SkinInstaller.php Broken missing
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/symfony/deprecation-contracts/CHANGELOG.md Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/symfony/deprecation-contracts/LICENSE Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/symfony/deprecation-contracts/README.md Broken ......GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/symfony/deprecation-contracts/composer.json Broken S.5...GT.
cpanel-roundcubemail,1.6.6.0,4.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/vendor/symfony/deprecation-contracts/function.php Broken S.5...GT.
cpanel-roundcubemail-plugins-cpanel,1.1.7,1.cp120~el8-/usr/local/cpanel/base/3rdparty/roundcube/plugins/return_to_webmail/skins/elastic/return_to_webmail.css0 -
cPRex -
I looked at my cPanel upddate script, and the script runs:
/usr/local/cpanel/scripts/check_cpanel_pkgs (without the --fix option)
This cPanel page seems to confirm it only checks this but does not run the fix option:
https://docs.cpanel.net/knowledge-base/rpm-versions/the-check_cpanel_pkgs-script/
Maybe others don't have this script set to run each night from the tweak options described in the link above.
I believe that is why I get the warning email each night.
However, to test this further, I ran this script with the --fix option and it ran successfully and restored the files. I then ran the script again without the --fix and confirmed there were no more issues.
But, now the emails in roundcube have the same issue. (Oops, something went wrong)
So, I ran the workaround script again, and this fixed the roundcube problem. But, now I get the same [check_cpanel_pkgs] warning email.
And now further, when I run the /usr/local/cpanel/scripts/check_cpanel_pkgs (without the --fix option) the output shows the same error existing again. And now again I get the same warning email.
0
Please sign in to leave a comment.
Comments
74 comments