Author Topic: RoundCube 1.5.12 Released  (Read 9321 times)

0 Members and 1 Guest are viewing this topic.

Online
*****
Re: RoundCube 1.5.12 Released
« Reply #15 on: October 20, 2026, 01:05:07 AM »
Simple and elegant solution -- thanks so much!

Offline
***
Re: RoundCube 1.5.12 Released
« Reply #16 on: October 20, 2026, 03:50:00 AM »
Sorry, I just forgot one thing:
It’s possible that `cwpsrv` might start reporting in the logs that it cannot write log files to the `/usr/local/cwpsrv/var/services/roundcube/logs/` directory, with a message like this:

Code: [Select]
2026/10/19 21:06:04 [error] 3687601#0: *253 FastCGI sent in stderr: "PHP message: PHP Warning:  file_put_contents(/usr/local/cwpsrv/var/services/roundcube/logs/imap.log): failed to open stream: Read-only file system in (continue...)

You simply need to authorize systemd to write files to that folder, using the version of PHP you have chosen.

For example, I chose to use php-fpm74, so I need to edit its startup file with the following command:
Code: [Select]
# systemctl edit php-fpm74

Include the following directive in the [Service] section:
Code: [Select]
[Service]
ReadWritePaths=/usr/local/cwpsrv/var/services/roundcube/logs/

And restart your php-fpm:
Code: [Select]
# systemctl restart php-fpm74

(thanks, overseer ;D)
« Last Edit: October 20, 2026, 04:03:50 AM by Netino »

Online
*
Re: RoundCube 1.5.12 Released
« Reply #17 on: Today at 07:25:08 AM »
Thank you, everyone.

Before asking for help here on the forum, I used Claude to go through Netino's procedure and tested it on a fresh VPS with CWP installed. The procedure worked, but I discovered two issues:

Roundcube webmail redirect issue: Accessing host.domain.com or mail.domain.com works correctly. However, when I access domain.com/webmail, the Roundcube login interface opens normally, but after entering my email address and password, I am automatically redirected to domain.com instead of being logged into Roundcube.

High process usage in CWP: After following the procedure, I noticed that the number of running processes in CWP started increasing significantly. In my case, the server was running PHP 8.3, although I am not sure whether the PHP version is related to this issue.

Has anyone experienced similar issues or knows what might be causing them?

Thank you for your help.