Skip to main content

v120: Unable to view emails in Roundcube error

Comments

74 comments

  • CB-Services

    Hello,

    I have the same problem, I am on version 120.0.2.

    Running the "fix" gives me:

    [root@metis ~]# cd /usr/local/cpanel/base/3rdparty/roundcube
    [root@metis roundcube]# /opt/cpanel/composer/bin/composer --ignore-platform-req=ext-iconv --ignore-platform-req=ext-iconv --ignore-platform-req=ext-ldap require sabre/vobject
    The iconv OR mbstring extension is required and both are missing.
    Install either of them or recompile php without --disable-iconv.
    Aborting.

    Please advise. 

     

    Also, All of a sudden I cannot make support requests anymore because I bought my license through Hetzner :( Do you expect customers to buy a second license? A warning beforehand would have been nice. We can't renew halfway our license.

    0
  • cPRex Jurassic Moderator

    I'm not sure what you mean when you say "we can't renew halfway our license" - we made this change to our technical support in November.

    You can install a PHP extension through WHM >> EasyApache 4: https://support.cpanel.net/hc/en-us/articles/360050971633-How-to-install-a-PHP-extension-in-WHM

    0
  • CB-Services

    Hi cPRex,

    Thank you for your response.

    Ok, I added the needed and now I get:

    [root@metis 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
    Lock file operations: 28 installs, 0 updates, 0 removals
      - Locking bacon/bacon-qr-code (2.0.8)
      - Locking dasprid/enum (1.0.5)
      - Locking guzzlehttp/guzzle (7.8.1)
      - Locking guzzlehttp/promises (2.0.2)
      - Locking guzzlehttp/psr7 (2.6.2)
      - 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.0.2)
      - Locking psr/http-message (2.0)
      - Locking ralouphie/getallheaders (3.0.3)
      - Locking roundcube/plugin-installer (0.3.6)
      - Locking roundcube/rtf-html-php (v2.2)
      - Locking sabre/uri (3.0.1)
      - Locking sabre/vobject (4.5.4)
      - Locking sabre/xml (4.0.5)
      - Locking symfony/deprecation-contracts (v3.4.0)

    Writing lock file

    Installing dependencies from lock file (including require-dev)
    Package operations: 3 installs, 6 updates, 0 removals
    Failed to download roundcube/plugin-installer from dist: The zip extension is missing and
    unzip/7z commands cannot be called as proc_open is disabled, skipping.

    Your command-line PHP is using multiple ini files. Run `php --ini` to show them.

        Now trying to download from source

    In Process.php line 146:

      The Process class relies on proc_open, which is not available on your PHP installation.     

    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

    What to do now?

     

    P.S. I did not see that announcement and I seldom use support. Do you have a link for me?
    I now have a license of 30 dollars for CPanel 100, when I would buy that through CPanel it's 60 dollars?!? And I cannot ask my host for support.

    0
  • cPRex Jurassic Moderator

    The place you purchased the license is required to provide you with support for that license.  If that isn't happening, please email cs@cpanel.net to let us know.

    Notifications about the change were sent in October but we are only allowed to contact Partners and direct customers so there wasn't a good way to notify non-direct licenseholders about this change.

    0
  • CB-Services

    Thank you, I just forwarded the emails.

    Could you advise what to do now to fix my problem?

    0
  • cPRex Jurassic Moderator

    You would need to show this portion of the error to your host so they could resolve the issue, as this is the root of the current problem:

    Installing dependencies from lock file (including require-dev)
    Package operations: 3 installs, 6 updates, 0 removals
    Failed to download roundcube/plugin-installer from dist: The zip extension is missing and
    unzip/7z commands cannot be called as proc_open is disabled, skipping.

    Your command-line PHP is using multiple ini files. Run `php --ini` to show them.

        Now trying to download from source

    In Process.php line 146:

      The Process class relies on proc_open, which is not available on your PHP installation.      

    0
  • CB-Services

    My host will not help me (they don't offer support, I just forwarded their emails to the email address you provided), I did not know that CPanel also does not offer support anymore so I could not arrange other support.

    I have a customer who needs to be able to use their Roundcube, So I need some help.

     

    Please help!

    0
  • cPRex Jurassic Moderator

    Can you try installing the Zip extension through EasyApache?  Can you confirm that isn't present?

    0
  • CB-Services

    Yes, that worked. Thank you!

    0
  • cPRex Jurassic Moderator

    I'm glad that's all it took!

    1
  • DELTA SERVERS iNC

    We are experiencing the same issue across multiple servers, and everything points to your calendars.

     

    The error doesn't go away when we apply the commands; it just stops temporarily and then comes back.

     

    #0 /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_plugin_api.php(520): cpanelicsimport->attemptImport(Array)
    #1 /usr/local/cpanel/base/3rdparty/roundcube/index.php(151): rcube_plugin_api->exec_hook('login_after', Array)
    #2 {main}
      thrown in /usr/local/cpanel/base/3rdparty/roundcube/plugins/cpanelicsimport/cpanelicsimport.php on line 121
    [01-May-2024 12:08:39 America/Recife] [CPANELICSIMPORT: Touch file /home/buinad48/.cpanel/icals/.cpanel_ics_import_fabio.buin@hidden.com.br exists for fabio.buin@hidden.com.br and cpanel_run_once is true, exiting]
    [01-May-2024 12:08:39 America/Recife] [CPANELVCFIMPORT: Touch file created for fabio.buin@hidden.com.br]
    [01-May-2024 12:08:44 America/Recife] [CPANELICSIMPORT: Touch file /home/buinad48/.cpanel/icals/.cpanel_ics_import_financeiro@hidden.com.br exists for financeiro@hidden.com.br and cpanel_run_once is true, exiting]
    [01-May-2024 12:08:44 America/Recife] [CPANELVCFIMPORT: Touch file /home/buinad48/.cpanel/vcards/.cpanel_vcf_import_financeiro@hidden.com.br exists for financeiro@hidden.com.br and cpanel_run_once is true, exiting]
    [01-May-2024 12:08:50 America/Recife] [CPANELICSIMPORT: Touch file /home/buinad48/.cpanel/icals/.cpanel_ics_import_guilherme.santos@hidden.com.br exists for guilherme.santos@hidden.com.br and cpanel_run_once is true, exiting]
    [01-May-2024 12:08:50 America/Recife] [CPANELVCFIMPORT: Touch file created for guilherme.santos@hidden.com.br]
    [01-May-2024 12:09:04 America/Recife] [CPANELICSIMPORT: Touch file /home/buinad48/.cpanel/icals/.cpanel_ics_import_gustavo.silva@hidden.com.br exists for gustavo.silva@hidden.com.br and cpanel_run_once is true, exiting]
    [01-May-2024 12:09:04 America/Recife] [CPANELVCFIMPORT: Touch file created for gustavo.silva@hidden.com.br]
    [01-May-2024 12:09:10 America/Recife] [CPANELICSIMPORT: Touch file created for josebuin@hidden.com.br]
    [01-May-2024 12:09:10 America/Recife] PHP Fatal error:  Uncaught Error: Call to undefined method calendar::check_schema() in /usr/local/cpanel/base/3rdparty/roundcube/plugins/cpanelicsimport/cpanelicsimport.php:121
    Stack trace:
    #0 /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_plugin_api.php(520): cpanelicsimport->attemptImport(Array)
    #1 /usr/local/cpanel/base/3rdparty/roundcube/index.php(151): rcube_plugin_api->exec_hook('login_after', Array)
    #2 {main}

     

    [01-May-2024 12:08:12 -0300]: <a45717d3> DB Error: [1] no such table: carddav_addressbooks (SQL Query: SELECT * FROM carddav_addressbooks WHERE (("user_id" = '1'))) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess8163322995/3rdparty/roundcube/index.php)
    [01-May-2024 12:08:12 -0300]: <a45717d3> DB Error: [1] no such table: carddav_migrations (SQL Query: SELECT "filename" FROM carddav_migrations) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsess8163322995/3rdparty/roundcube/index.php)
    0
  • DELTA SERVERS iNC
    [01-May-2024 12:08:12 -0300]: <a45717d3> [5 ERR] Database::get (SELECT * FROM carddav_addressbooks WHERE (("user_id" = '1'))) ERROR: [1] no such table: carddav_addressbooks 
    [01-May-2024 12:08:12 -0300]: <a45717d3> [5 ERR] Error reading carddav addressbooks: [1] no such table: carddav_addressbooks 
    [01-May-2024 12:08:12 -0300]: <a45717d3> [5 ERR] Database::get (SELECT "filename" FROM carddav_migrations) ERROR: [1] no such table: carddav_migrations 
    0
  • cPRex Jurassic Moderator

    DELTA SERVERS iNC - can you let me know what cPanel version you're using?

    0
  • DELTA SERVERS iNC

    cPanel Version 120.0.3

    0
  • cPRex Jurassic Moderator

    I'm honestly not finding anything like this on my end, DELTA SERVERS iNC, so we may need to see a ticket.

    0
  • DELTA SERVERS iNC

    Ask to check in the path cd /home/user/logs.

     

    0
  • cPRex Jurassic Moderator

    I'm not sure what you mean, as that is a standard path for Roundcube logs.

    0
  • SJR

    After cPanel upgrade to 120.0.5 roundcube emails can no longer be viewed.

    Now get the ...oops something went wrong - screen again that showed up after 120.0.3.

    Tried the workaround again that worked before this last upgrade, but the workaround now longer works to view the emails in roundcube.

    This workaround no longer works:

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

     

     

    0
  • CB-Services

    Here the problem is also back. Why doesn't cPanel test this before releasing updates?

    Is there a fix?

    0
  • Vinnie Murdico

    Yeah, mine was working yesterday, but when I checked this morning, it's back to the message: "Oops... something went wrong!  An internal error has occurred. Your request cannot be processed at this time."  Something must have been updated overnight...  :(

    [09-May-2024 06:16:32 America/Chicago] PHP Fatal error:  Uncaught Error: Class "Sabre\VObject\Property\Text" not found in /usr/local/cpanel/base/3rdparty/roundcube/plugins/libcalendaring/lib/libcalendaring_vcalendar.php:1572
    Stack trace:
    #0 /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/bootstrap.php(445): include_once()
    #1 /usr/local/cpanel/base/3rdparty/roundcube/plugins/libcalendaring/libcalendaring.php(162): rcube_autoload('libcalendaring_...')
    #2 /usr/local/cpanel/base/3rdparty/roundcube/plugins/libcalendaring/libcalendaring.php(1167): libcalendaring::get_ical()
    #3 /usr/local/cpanel/base/3rdparty/roundcube/plugins/calendar/calendar.php(3486): libcalendaring->get_mail_ical_objects()
    #4 /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_plugin_api.php(520): calendar->mail_messagebody_html(Array)
    #5 /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcmail_output_html.php(1615): rcube_plugin_api->exec_hook('template_object...', Array)
    #6 [internal function]: rcmail_output_html->xml_command(Array)
    #7 /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcmail_output_html.php(1322): preg_replace_callback('/<roundcube:([-...', Array, '<roundcube:incl...')
    #8 /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcmail_output_html.php(825): rcmail_output_html->parse_xml('<roundcube:incl...')
    #9 /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcmail_output_html.php(654): rcmail_output_html->parse('message', false)
    #10 /usr/local/cpanel/base/3rdparty/roundcube/program/actions/mail/show.php(164): rcmail_output_html->send('message', false)
    #11 /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcmail.php(282): rcmail_action_mail_show->run(Array)
    #12 /usr/local/cpanel/base/3rdparty/roundcube/index.php(280): rcmail->action_handler()
    #13 {main}
      thrown in /usr/local/cpanel/base/3rdparty/roundcube/plugins/libcalendaring/lib/libcalendaring_vcalendar.php on line 1572
    0
  • 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
  • Kent Brockman

    cPRex this issue happened again today. I had to run the command again to fix this. My customers are extremely upset. Please let it know to the dev team so that they can make sure this not happenning on every update.

    0
  • DELTA SERVERS iNC

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

    1
  • cPRex Jurassic Moderator

    If the issues continue to happen can you please submit a ticket?

    0
  • Kent Brockman

    Ok Rex, I will.

    0
  • cPRex Jurassic Moderator

    Please post the number here once you have it and I'll follow along!

    0
  • CB-Services

    I wish I could submit a ticket 😔

    0
  • cPRex Jurassic Moderator

    You can always submit a ticket to your host.

    0
  • CB-Services

    I wish, they offer no support at all. Trust me I asked and reported them to the email you provides before. But they will never offer support. And I will never go and pay double to cpanel for support that once was free... It's ridiculous.

    0
  • DELTA SERVERS iNC

    We're already thinking about switching all our servers to another panel, it's getting complicated. Now they don't offer support if you rent from the DC.

    0

Please sign in to leave a comment.