Author Topic: Roundcube issue  (Read 1370 times)

Offline Cobra91151

  • Newbie
  • *
  • Posts: 2
Roundcube issue
« 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.
« Last Edit: December 27, 2022, 08:30:01 PM by Cobra91151 »

Offline Cobra91151

  • Newbie
  • *
  • Posts: 2
Re: Roundcube issue
« Reply #1 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
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.