- Server operating system version
- AlmaLinux 9.5
- Plesk version and microupdate number
- 18.0.67.2
I found that after having updated to Plesk Obsidian 18.0.67 (and now to the latest 67 Update 2 as well), Roundcube webmail is showing:
When looking at the Roundcube logs, I noticed:
After diagnosing any password issues, I was able to connect from the command line without issues:
Finally, I found that disabling SELinux temporarily resolved the issue:
From a discussion with ChatGPT, I found that the SELinux bool for `httpd_can_connect_mysql` is missing:
This implies an issue with SELinux rules bundled with Roundcube for Plesk, right?
Software used:
Product version: Plesk Obsidian 18.0.67.2
OS version: AlmaLinux 9.5 x86_64
Build date: 2025/02/05 19:00
Revision: f88f36449702f778b1cf43d8886ff00b56f2a1e5
With:
- plesk-roundcube-1.6.9-2.redhat.9+p18.0.67.0+t250115.1634.noarch
- Drop-in MariaDB-server-11.4.5-1.el9.x86_64
Oops... something went wrong!
An internal error has occurred. Your request cannot be processed at this time.
For administrators: Please check the application and/or server error logs for more information.
When looking at the Roundcube logs, I noticed:
Code:
tail -n1 -f /var/log/plesk-roundcube/errors
[18-Feb-2025 08:51:42 +0000]: <ed2i91dg> DB Error: SQLSTATE[HY000] [2002] Permission denied in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_db.php on line 201 (GET /)
After diagnosing any password issues, I was able to connect from the command line without issues:
Code:
# mariadb -h localhost -u roundcube roundcubemail -p
Enter password:
#
Finally, I found that disabling SELinux temporarily resolved the issue:
Code:
# setenforce 0
From a discussion with ChatGPT, I found that the SELinux bool for `httpd_can_connect_mysql` is missing:
Code:
# getsebool -a | grep httpd | grep 'httpd_can_network_connect_db'
httpd_can_network_connect_db --> on
# getsebool -a | grep httpd | grep 'httpd_can_connect_mysql'
#
This implies an issue with SELinux rules bundled with Roundcube for Plesk, right?
Software used:
Product version: Plesk Obsidian 18.0.67.2
OS version: AlmaLinux 9.5 x86_64
Build date: 2025/02/05 19:00
Revision: f88f36449702f778b1cf43d8886ff00b56f2a1e5
With:
- plesk-roundcube-1.6.9-2.redhat.9+p18.0.67.0+t250115.1634.noarch
- Drop-in MariaDB-server-11.4.5-1.el9.x86_64