Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Cobra91151 on December 27, 2022, 07:53:14 PM

Title: Roundcube issue
Post by: Cobra91151 on December 27, 2022, 07:53:14 PM
Hello!

When I click on the icon - Open Webmail in HestiaCP it should open Roundcube but it returns error 500.
I think this issue started to occur after the last update.

Apache log:
Got error 'PHP message: PHP Warning:  file_put_contents(/var/lib/errors.log): failed to open stream: Permission denied in /var/lib/roundcube/program/lib/Roundcube/rcube.php on line 1364\nPHP message: PHP Warning:  Configuration error. Unsupported database driver:  in /var/lib/roundcube/program/lib/Roundcube/rcube.php on line 1487\n'

I had Roundcube Version 1.5.3 but now it displays Version 1.6.0.

Any ideas how to fix this issue or install the previous version of Roundcube? Thank you.
Title: Re: Roundcube issue
Post by: Cobra91151 on December 28, 2022, 07:13:17 AM
Hello!

I have fixed the issue by removing the roundcube and do the following tasks:
1. Remove roundcube directory - /var/lib/roundcube
2. Download the roundcubemail-1.5.3-complete.tar.gz from https://github.com/roundcube/roundcubemail/releases/tag/1.5.3 (https://github.com/roundcube/roundcubemail/releases/tag/1.5.3)
3. Copy to /var/lib/roundcube
4. Extract it using this command: tar -xf roundcubemail-1.5.3-complete.tar.gz
5. Run mail.domain.tst/installer to configure it
6. When you get temp/:  NOT OK (not writeable for the webserver), feel free to run: chown -R www-data:www-data /var/lib/roundcube/temp/
7. Remove the installer directory to protect it from unauthorized access and open: mail.domain.tst.

Now, it should work well and without any issue.
The issue is resolved. Thank you.