Skip to main content

roundcube

Comments

50 comments

  • Mecca

    Hi,

    About roundcube have problem in "always allows to show sender content".

    This problem Return error 500 of PHP. This has been fixed in cpanel version 120.0.5?

    0
  • cPRex Jurassic Moderator

    The fix hasn't been applied to a specific cPanel version yet.  Once I hear something I'll be sure to post more details.

    0
  • Metro2

    Is anyone finding that they need to do the https://support.cpanel.net/hc/en-us/articles/22914113202711-v120-Unable-to-view-emails-in-Roundcube fix more than once per server? Or just one time?

    0
  • Jacob

    Yes, I've just had to run those commands on my server again today. It's connected to cPanel updating its version - I ran it a few days ago on 120.0.3 (I think) and cPanel has updated itself overnight to 120.0.5 and I've had to run it again.

    0
  • verdon

    @Jacob same experience for me.

    0
  • AndisPreza

    @Jacob same experience for me. i think it will happen again after next automatic upgrade

    0
  • cPRex Jurassic Moderator

    I've created a guide at https://support.cpanel.net/hc/en-us/community/posts/23393695024023-Recent-Roundcube-issues to help track the recent Roundcube issues.  The one we're experiencing in this thread is Issue #4, and we are releasing an updated package to resolve this problem right now, so it will likely reach your servers over the weekend.

    1
  • Jose Dieguez

    Same issue here, ticket reference: #95266477

     

    0
  • Unnamed User

    Hello,

    Two months do not work Roundcube, update to latest cPanel version not resolved issue.
    My license provider replied(DC):
    We are sorry, we cannot create any tickets at cPanel.

    Please note that we do not provide support for cPanel in general.

    We would recommend you to check https://cpanel.net/support to get a solution.

    How to resolve this issue with "Oops... something went wrong!" ?

    [14-Jun-2024 09:23:35 +0300]: <7acccdcd> DB Error: [1615] Prepared statement needs to be re-prepared (SQL Query: UPDATE `users` SET `last_login` = now() WHERE `user_id` = '58') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess2785635433/3rdparty/roundcube/index.php?_task=mail&_token=y...)
    [14-Jun-2024 09:23:35 +0300]: <7acccdcd> DB Error: [1615] Prepared statement needs to be re-prepared (SQL Query: UPDATE `users` SET `preferences` = 'a:1:{s:15:\"namespace_fixed\";b:1;}', `language` = 'ru_RU' WHERE `user_id` = '58') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess2785635433/3rdparty/roundcube/index.php?_task=mail&_token=y...)
    [14-Jun-2024 09:23:35 +0300]: <7acccdcd> DB Error: [1615] Prepared statement needs to be re-prepared (SQL Query: UPDATE `users` SET `preferences` = 'a:2:{s:9:\"junk_mbox\";s:10:\"INBOX.spam\";s:15:\"namespace_fixed\";b:1;}', `language` = 'ru_RU' WHERE `user_id` = '58') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess2785635433/3rdparty/roundcube/index.php?_task=mail&_token=y...)
    [14-Jun-2024 09:23:35 +0300]: <6b5f8a5f> DB Error: [1615] Prepared statement needs to be re-prepared (SQL Query: UPDATE `users` SET `preferences` = 'a:1:{s:11:\"client_hash\";s:16:\"HmlhoVGHFWR8ZTdg\";}', `language` = 'ru_RU' WHERE `user_id` = '58') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess2785635433/3rdparty/roundcube/index.php?_task=mail&_token=T...)
    [14-Jun-2024 09:23:38 +0300]: <6b5f8a5f> DB Error: [1615] Prepared statement needs to be re-prepared (SQL Query: UPDATE `users` SET `preferences` = 'a:1:{s:11:\"client_hash\";s:16:\"96Br29WfnqpDMjeU\";}', `language` = 'ru_RU' WHERE `user_id` = '58') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess2785635433/3rdparty/roundcube/index.php?_task=mail&_token=T...)

    0
  • Jose Dieguez

    your best option (probably what cpanel wanted anyway) is to cancel the cpanel license with the DC, and purchase it directly with Cpanel, so you can access support directly.

     

    0
  • cPRex Jurassic Moderator

    There's no reason your provider couldn't have created a ticket with cPanel.  If you'd like to let us know about that issue with your provider, please email cs@cpanel.net

    0
  • Gaspar

    Hello there

    Just found out about this problem on our server, tried the solution suggested with no luck, paste the results below:

    cd /usr/local/cpanel/base/3rdparty/roundcube

    /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
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    Continue as root/super user [yes]? yes
    ./composer.json has been updated
    Running composer update sabre/vobject
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 32 installs, 0 updates, 0 removals
      - Locking bacon/bacon-qr-code (2.0.8)
      - Locking dasprid/enum (1.0.5)
      - Locking guzzlehttp/guzzle (7.9.2)
      - Locking guzzlehttp/promises (2.0.3)
      - Locking guzzlehttp/psr7 (2.7.0)
      - Locking kolab/net_ldap3 (v1.1.5)
      - Locking masterminds/html5 (2.7.6)
      - Locking pear/auth_sasl (v1.1.0)
      - Locking pear/console_commandline (v1.2.6)
      - Locking pear/console_getopt (v1.4.3)
      - Locking pear/crypt_gpg (v1.6.9)
      - Locking pear/mail_mime (1.10.12)
      - Locking pear/net_ldap2 (v2.3.0)
      - Locking pear/net_sieve (1.4.7)
      - Locking pear/net_smtp (1.10.1)
      - Locking pear/net_socket (v1.2.2)
      - Locking pear/pear-core-minimal (v1.10.15)
      - Locking pear/pear_exception (v1.0.2)
      - Locking psr/http-client (1.0.3)
      - Locking psr/http-factory (1.1.0)
      - Locking psr/http-message (2.0)
      - Locking psr/log (3.0.0)
      - Locking ralouphie/getallheaders (3.0.3)
      - Locking roundcube/plugin-installer (0.3.7)
      - Locking roundcube/rtf-html-php (v2.2)
      - Locking sabre/dav (4.6.0)
      - Locking sabre/event (5.1.6)
      - Locking sabre/http (5.1.11)
      - Locking sabre/uri (2.3.3)
      - Locking sabre/vobject (4.5.5)
      - Locking sabre/xml (2.2.9)
      - Locking symfony/deprecation-contracts (v3.5.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 0 installs, 13 updates, 0 removals
      - Downloading roundcube/plugin-installer (0.3.7)
      - Downloading symfony/deprecation-contracts (v3.5.0)
      - Downloading psr/http-factory (1.1.0)
      - Downloading guzzlehttp/psr7 (2.7.0)
      - Downloading guzzlehttp/promises (2.0.3)
      - Downloading guzzlehttp/guzzle (7.9.2)
      - Downloading pear/crypt_gpg (v1.6.9)
      - Downloading pear/mail_mime (1.10.12)
      - Downloading pear/net_sieve (1.4.7)
      - Downloading sabre/xml (2.2.9)
      - Downloading sabre/vobject (4.5.5)
      - Downloading sabre/event (5.1.6)
      - Downloading sabre/http (5.1.11)
      - Upgrading roundcube/plugin-installer (0.3.2 => 0.3.7): Extracting archive
      - Upgrading symfony/deprecation-contracts (v2.5.2 => v3.5.0): Extracting archive
      - Upgrading psr/http-factory (1.0.2 => 1.1.0): Extracting archive
      - Upgrading guzzlehttp/psr7 (2.6.2 => 2.7.0): Extracting archive
      - Upgrading guzzlehttp/promises (2.0.2 => 2.0.3): Extracting archive
      - Upgrading guzzlehttp/guzzle (7.8.1 => 7.9.2): Extracting archive
      - Upgrading pear/crypt_gpg (v1.6.8 => v1.6.9): Extracting archive
      - Upgrading pear/mail_mime (1.10.11 => 1.10.12): Extracting archive
      - Upgrading pear/net_sieve (1.4.6 => 1.4.7): Extracting archive
      - Upgrading sabre/xml (2.2.7 => 2.2.9): Extracting archive
      - Upgrading sabre/vobject (4.5.4 => 4.5.5): Extracting archive
      - Upgrading sabre/event (5.1.4 => 5.1.6): Extracting archive
      - Upgrading sabre/http (5.1.10 => 5.1.11): Extracting archive
    3 package suggestions were added by new dependencies, use `composer suggest` to see details.
    Generating autoload files
        Skipped installation of bin bin/naturalselection for package sabre/dav: file not found in package
    4 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found.
    Using version ^4.5 for sabre/vobject

    The same error continues..... don't know what to do, any solutions???

    Please help with this

    Wait reply

    AG

    0
  • by_error

    Gaspar Unfortunately we have been getting this error for 2 months.

    Altered Packages found.

    cpanel-roundcubemail-1.6.6.5-1.cp120~el8    

    cpanel-perl-536-libwww-perl,6.67,1.cp108~el8-/usr/local/cpanel/3rdparty/perl/536/cpanel-lib/LWP/Protocol/http.pm

    system suggests doing this

    /usr/local/cpanel/scripts/check_cpanel_pkgs --fix

     

    /usr/local/cpanel/scripts/check_cpanel_pkgs --fix

    Problems were detected with cPanel-provided files which are controlled by packages.
    If you did not make these changes intentionally, you can correct them by running:

      > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix
      The following packages are missing from your system:
      cpanel-roundcubemail-1.6.6.5-1.cp120~el8

      The following files were found to be altered from their original package form:
      cpanel-perl-536-libwww-perl,6.67,1.cp108~el8

      Removing 1 broken rpms: cpanel-perl-536-libwww-perl-6.67-1.cp108~el8.noarch
       Maximum sync children set to 16 based on 83890M available memory.
      Downloading http://httpupdate.cpanel.net/RPM/11.108/centos/8/x86_64/sha512
      Downloading http://httpupdate.cpanel.net/RPM/11.120/centos/8/x86_64/sha512
       Successfully verified signature for cpanel (key types: release).
       Successfully verified signature for cpanel (key types: release).
       Downloading http://httpupdate.cpanel.net/RPM/11.108/centos/8/x86_64/cpanel-perl-536-libwww-perl-6.67-1.cp108~el8.noarch.rpm
       Downloading http://httpupdate.cpanel.net/RPM/11.120/centos/8/x86_64/cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch.rpm
       Disabling service monitoring.
       Hooks system enabled.
       Checking for and running RPM::Versions 'pre' hooks for any Packages about to be installed
       All required 'pre' hooks have been run
       No packages need to be uninstalled
       Installing new rpms: cpanel-perl-536-libwww-perl-6.67-1.cp108~el8.noarch.rpm cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch.rpm
       Verifying packages...
       Preparing packages...
      No existing Roundcube database detected; skipping database backup.
      cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch
      error: failed to open dir installer of /usr/local/cpanel/base/3rdparty/roundcube/installer/: Not a directory
      error: unpacking of archive failed on file /usr/local/cpanel/base/3rdparty/roundcube/installer/check.php;66b3b41c: cpio: open failed - No data available
      error: cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch: install failed
      cpanel-perl-536-libwww-perl-6.67-1.cp108~el8.noarch
    The “/usr/bin/rpm -Uv --replacepkgs --oldpackage cpanel-perl-536-libwww-perl-6.67-1.cp108~el8.noarch.rpm cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch.rpm” command (process 3419443) reported error number 2 when it ended. Verifying packages...
    Preparing packages...
    No existing Roundcube database detected; skipping database backup.
    cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch
    error: failed to open dir installer of /usr/local/cpanel/base/3rdparty/roundcube/installer/: Not a directory
    error: unpacking of archive failed on file /usr/local/cpanel/base/3rdparty/roundcube/installer/check.php;66b3b41c: cpio: open failed - No data available
    error: cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch: install failed
    cpanel-perl-536-libwww-perl-6.67-1.cp108~el8.noarch
    The following possible errors were detected while installing RPMs:
    failed to open dir installer of /usr/local/cpanel/base/3rdparty/roundcube/installer/ unpacking of archive failed on file /usr/local/cpanel/base/3rdparty/roundcube/installer/check.php;66b3b41c cpanel-roundcubemail-1.6.6.5-1.cp120~el8.noarch
      The Administrator will be notified to review this output when this script completes
      Hooks system enabled.
      Checking for and running RPM::Versions 'post' hooks for any Packages about to be installed
      All required 'post' hooks have been run
      Restoring service monitoring.

     

    It came out like this but there is still no solution

     

    link:

    https://support.cpanel.net/hc/en-us/articles/22914113202711-v120-Unable-to-view-emails-in-Roundcube

    /opt/cpanel/composer/bin/composer --ignore-platform-req=ext-iconv --ignore-platform-req=ext-iconv --ignore-platform-req=ext-ldap require sabre/vobject
    ./composer.json has been updated
    Running composer update sabre/vobject
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

      Problem 1
        - sabre/dav 3.2.3 requires sabre/xml ^1.4.0 -> found sabre/xml[1.4.0, ..., 1.5.1] but the package is fixed to 4.0.5 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - sabre/dav[4.0.0, ..., 4.6.0] require sabre/xml ^2.0.1 -> found sabre/xml[2.0.1, ..., 2.2.9] but the package is fixed to 4.0.5 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - Root composer.json requires sabre/dav >=3.2.3 -> satisfiable by sabre/dav[3.2.3, 4.0.0, ..., 4.6.0].

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    You can also try re-running composer require with an explicit version constraint, e.g. "composer require sabre/vobject:*" to figure out if any version is installable, or "composer require sabre/vobject:^2.1" if you know which you need.

    Installation failed, reverting ./composer.json and ./composer.lock to their original content.

     
    0
  • cPRex Jurassic Moderator

    by_error - cPanel systems don't have any "sabre" packages by default, so it would seem that whatever that is has led to a conflict.

    0
  • ITHKBO

    Hello cPRex,

    Is it useful to create a ticket right now, or are the engineers still working out the overall issues?

    We experience this issue with a specific account on 1 domain, all others work on the same domain, including newly created ones. We went through your pinned post and ran troubleshoot 1 to 6 on a 120.0.16 to no avail.

    0
  • 0
  • ITHKBO

    Thank you unfortunately your last suggestion also had no effect.
    Ticket created if you want to follow allong ID #9536540

    0
  • cPRex Jurassic Moderator

    Looks like you missed one number and the ticket is 95365407 - I'm following along with that now!

    1
  • ITHKBO

    Thank you cPRex the problem is resolved. The solution you provided did work we however made the mistake of using the entire mail address as username for the command instead of the first part.

    0
  • cPRex Jurassic Moderator

    I'm glad that took care of things!

    0

Please sign in to leave a comment.