Solved Roundcube not working

patrickkasie

Verified User
Joined
Sep 21, 2021
Messages
183
Location
Een echte Hollander
Dear you,

Thank you for taking the time to read this. Now I'm hoping for an answer to the following question:

TL;DR Roundcube's rights issue?

On a VPS, Roundcube 1.5.0 was installed, but it seemed to have suddenly disappeared. This may be contributed to me doing a ./build rewrite_confs after making a PHP version change. When trying to access domain.com/roundcube, this is the pop up:

1643119836612.png

When looking at the error log of /var/log/httpd/domains/domain.com.error/log, the following popped up:

[Tue Jan 25 13:40:30.286597 2022] [:error] [pid 1894] [client 62.194.16.102:54897] PHP Warning: config.inc.php was not found. in /var/www/html/roundcubemail-1.5.0/program/lib/Roundcube/rcube.php on line 1483
[Tue Jan 25 13:40:31.074433 2022] [:error] [pid 1894] [client 62.194.16.102:54897] PHP Warning: file_put_contents(/var/www/html/roundcubemail-1.5.0/logs/errors.log): failed to open stream: Permission denied in /var/www/html/roundcubemail-1.5.0/program/lib/Roundcube/rcube.php on line 1364
[Tue Jan 25 13:40:31.074505 2022] [:error] [pid 1894] [client 62.194.16.102:54897] PHP Warning: SQLSTATE[HY000] [1045] Access denied for user 'roundcube'@'localhost' (using password: NO) in /var/www/html/roundcubemail-1.5.0/program/lib/Roundcube/rcube.php on line 1483

I've tried building Roundcube again on Custombuild and on SSH, where it popped up the following notification:

RoundCube 1.5.0 requires newer version of MySQL than 5.5, alternatively, the following my.cnf configuration can be set
innodb_large_prefix=1
innodb_file_per_table=1
innodb_file_format=Barracuda

So I've done just that in /var/www/html/roundcube/config/my.cnf
It's still giving me the same result.

A full server reboot did not do anything either. A quick Google search tells me I have to check for the rights to be set correctly, but I believe this is not the issue at hand considering it was installed prior to this issue. I've still tried looking into it, but everything leading up to the config folder seems to have the correct ownership and rights. I'm at a loss on what to do here.

Regards,

Patrick
 
You could try to rebuild RoundCube to see if its fixes the issue.
Use: ./build roundcube
 
Hi Patrick, did you put this in the right my.cnf file ?
As I recall right that (var/www/html/roundcube/config/my.cnf) is not the standard my.cnf file location
 
Hi Patrick, did you put this in the right my.cnf file ?
As I recall right that (var/www/html/roundcube/config/my.cnf) is not the standard my.cnf file location
That's the location I've put it in, though I'm not aware of another location. Where should it be? Btw this folder is edited on october 21st 2021, which was around the release date of 1.5.0, leading me to believe this directory is actually used.
 
Back
Top