Skip to main content

v120: Unable to view emails in Roundcube error

Comments

74 comments

  • vacancy

    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/vobject

     

    1
  • Huynh Nguyen

    Thank you. I will try it. IF I have a problem I will ask you.

    1
  • cPRex Jurassic Moderator

    I'm glad that's all it took!

    1
  • Vinnie Murdico

    It looks like the commands posted by @vacancy earlier work to correct this problem similar to the original occurrence.  Maybe they should be added to whatever update is killing Roundcube?

    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
    1
  • DELTA SERVERS iNC

    It's happening every day; this version 120 onwards has bugs. It's an infinite beta.

    1
  • Vinnie Murdico

    Yeah, I know...  It kind of just comes down to the principle of the thing, especially since I'm currently hosting hundreds of cPanel accounts and paying a fee for each of them already.   Also, my need for cPanel-direct support is fairly intermittent, so that makes any extra fee seem even less valuable. ;-)

    1
  • Vinnie Murdico

    cPRex,

    My server provider has opened ticket #95262014 regarding this issue.

    1
  • cPRex Jurassic Moderator

    verdon - that's completely up to them, and unrelated to any price cPanel charges.

    Since there are multiple issues being discussed in this thread I've created a master list of the Roundcube problems to reference here:

    https://support.cpanel.net/hc/en-us/community/posts/23393695024023-Recent-Roundcube-issues

    1
  • cPRex Jurassic Moderator

    Hey there!  You should be able to refresh the page and the messages will load.  Have you tried that?

    0
  • Huynh Nguyen

    I refreshed the page but the result is still the same. Error still occurs.

    0
  • cPRex Jurassic Moderator

    Do you have root access to the server or just access to your cPanel account?

    0
  • Huynh Nguyen

    I have. Can you go in and fix it for me?

    0
  • Huynh Nguyen

    Tried everything. Still error

    0
  • cPRex Jurassic Moderator

    If you have root access you're welcome to submit a ticket and we can take a look!

    0
  • Huynh Nguyen

    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
  • Huynh Nguyen

    Very sad but nothing more can be done. The error still occurs

    0
  • cPRex Jurassic Moderator

    You'll need to contact your hosting provider for more assistance then, and they can escalate the issue to us if necessary.

    0
  • Huynh Nguyen

    Run command at terminal wtm?

    0
  • cPRex Jurassic Moderator

    Correct

    0
  • Huynh Nguyen

    Thank you. It was successful.

    0
  • Kent Brockman

    Hey guys! The command by @vacancy worked like a charm.

    This happens only on cPanel v120, right?

    0
  • Kent Brockman

    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
  • vacancy

    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
  • Kent Brockman

    I've just tested it and this only happens on v120. Roundcube on v118 works perfectly well.

    0
  • Vinnie Murdico

    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
  • Kent Brockman

    Only one server asked to not run composer as root, but I just run it anyway and it worked.

    0
  • vacancy

    This is a standard composer warning. It does not create any security problems, ignore it.

    0
  • Vinnie Murdico

    Thanks -- It worked and the messages can now be viewed in webmail.  :)

    0
  • The Next Wave

    When running the command I get the following error:

    <b>Fatal error</b>:  Uncaught Error: Undefined constant &quot;Symfony\Component\Console\Helper\STDIN&quot; in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/console/Helper/QuestionHelper.php:130

    Is there something I need to install?

    0
  • The Next Wave

    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

Please sign in to leave a comment.