RoundCube Showing a Blank Page

pr0gr4mm3r

Member
Aug 25, 2006
16
0
151
I have had RoundCube enabled on my server ever since it was available, and all of the sudden, it stopped working. When I log in to my webmail and click on the RoundCube logo, it shows an empty page. A peak at the response headers shows that I am being returned a 500 Internal Server Error. Is there a place where these errors are logged?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
I have had RoundCube enabled on my server ever since it was available, and all of the sudden, it stopped working. When I log in to my webmail and click on the RoundCube logo, it shows an empty page. A peak at the response headers shows that I am being returned a 500 Internal Server Error. Is there a place where these errors are logged?
Yes, /usr/local/cpanel/logs/error_log is where you will find the error logs for pages served by cpsrvd (such as the webmail interfaces).
 

pr0gr4mm3r

Member
Aug 25, 2006
16
0
151
Hmmm....nothing showed up in the error log related to the webmail issue. Is there anything else I can do to pinpoint the problem?
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
Try restarting cpanel. It should log the exact error to /usr/local/cpanel/logs/error_log.

Try /usr/local/cpanel/bin/update-roundcube --force

if that did not help, make sure that

/usr/local/cpanel/3rdparty/bin/php and /usr/local/cpanel/3rdparty/bin/php-cgi executable. otherwise do,

chmod 755 /usr/local/cpanel/3rdparty/bin/php-cgi
chmod 755 /usr/local/cpanel/3rdparty/bin/php
/scripts/makecpphp

if it is some database error, make sure that /tmp/mysql.sock is present. If no create symbolic link

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
 

pr0gr4mm3r

Member
Aug 25, 2006
16
0
151
"/usr/local/cpanel/bin/update-roundcube --force" did the trick. Thanks!

Seeing the following when running the command made me nervous though. It looks like I lost all RoundCube settings:

Code:
Failed to backup existing Roundcube DB. DB likely did not exist.Database "roundcube" dropped
Cleaning old Roundcube data archives
Creating Roundcube database
Roundcube updated to 0.1.1c
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
it looks like your roundcube database was corrupted and hence the script failed to backup the settings. Corrupted database might have caused the problem with roundcube earlier as well.
 

almecho

Member
Feb 6, 2005
14
0
151
i had this exact same problem today as well, and had to do a forced update as well to fix the problem...

i'm not one to believe in random coincidence...
 

stacman

Member
Aug 25, 2001
9
0
301
same thing happened to us now

/usr/local/cpanel/bin/update-roundcube --force

did the fix
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
I've had the same issue, but it was because of a different cause:
Code:
mysqldump: Got error: 1033: Table './roundcube/cache' was created with a different version of MySQL and cannot be read when using LOCK TABLES
Failed to backup existing Roundcube DB. DB likely did not exist.Database "roundcube" dropped
I've droped the roundcube database manually and then re-run the updateroundcube, and then it worked succesfully