RoundCube not loading email content or entire account
One of my cPanel accounts has 1 email address. I can sign in to RoundCube OK and view the subject of the emails and the sender in the inbox. But when I click on any specific email I see:
Oops... something went wrong!
An internal error has occurred. Your request cannot be processed at this time.
First thing I tried was running the roundcube database repair utility, this had no effect.
I then tried renaming the user's info.rcube.db files, then tried deleting them altogether.
I checked in the user's roundcube error log file and the server's general error log file.
Then I found the errors in the user's .php.error.log file that said:
cpanel 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
I tried installing Sabre/Dav using composer require sabre/dav ~3.2.0
But this threw up a bunch of errors about other things not being installed, and PHP extensions being required.
Should Roundcube not just work in cPanel out of the box if it's bundled with it?
In another account I can't open the account's email address in roundcube at all so I can't see ANY emails in there. That account's errors are like this:
PHP Fatal error: Uncaught Error: Call to undefined method calendar::check_schema() in /usr/local/cpanel/base/3rdparty/roundcube/plugins/cpanelicsimport/cpanelicsimport.php:121
Any idea how I can resolve this?
-
Hey there! Normally that error should go away when you refresh the page, as outlined here:
If you already tried running this:
/opt/cpanel/composer/bin/composer --ignore-platform-req=ext-iconv --ignore-platform-req=ext-iconv --ignore-platform-req=ext-ldap require sabre/vobject
and things still aren't working, we'll likely need to see a ticket.
0 -
Refreshing the page didn't work.
Running the composer code you suggested (after I enabled all PHP functions and allow_url_fopen) seemed to install no problem, but the roundcube issue persists.
I'd open a ticket but you guys no-longer allow support tickets for people who've bought their licence through a third party sadly. I'd be happy to pay to expedite a ticket for it, but the facility is not available to me.
Any other suggestions?
0 -
You can open a ticket with your license provider and then they can escalate the issue to us if necessary.
0 -
I've asked. Meanwhile when I look again in the error log I still see:
[02-May-2024 17:11:17 Europe/London] 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
Do I need to do something else to get that composer required package to be available to all sub-accounts?
0 -
I'm honestly not sure as I don't have any similar reports of that error on my end.
0 -
same problem here, same error message
0 -
I switched my licence to one direct from cP and they then resolved it saying:
Reviewing the email account for [redacted], the issue you are encountering is the same issue described in the article below.
v120: Unable to view emails in Roundcube
However, the workaround was initially failing due to your server's default PHP version not having the zip module installed and allow_url_fopen being disabled. I temporarily installed the zip module for PHP 8.3 and enabled allow_url_fopen so that I could install the missing classes and am happy to report that your emails are now loading.1 -
BobHoliday - thanks for sharing!
1
Please sign in to leave a comment.
Comments
8 comments