Issue with Webmail (HTTP error 500) and pdo_mysql Extension in PHP 8.2

apt remove roundcube
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following packages will be REMOVED:
roundcube
0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
After this operation, 9216 B disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 117056 files and directories currently installed.)
Removing roundcube (1.5.0+dfsg.1-2) …

mysql -uroot -e ‘DROP DATABASE IF EXISTS roundcube’
mysql -uroot -e ‘DROP USER ‘roundcube’@‘localhost’’
rm /var/lib/roundcube/index.php
rm -rf /usr/share/roundcube
root@srv519942:~# v-add-sys-roundcube
grep: /usr/local/hestia/conf/mysql.conf: No such file or directory
Error: mysql config parsing failed

v-add-sys-roundcube
Error: Installed version (1.6.5) is equal to the available version (1.6.5)

You should remove also the other roundcube packages:

apt remove roundcube-core roundcube-mysql roundcube-plugins

Hestia can’t create the roundcube db because /usr/local/hestia/conf/mysql.conf doesn’t exist. I’m wondering the reason it doesn’t exist if you installed mysql or mariadb when installed Hestia. Any idea?

This is normal because it detects that roundcube is already using the latest version assigned in Hestia.

Hello sahsanu,
Honestly, no. I have no idea.

And sorry for my absence in response (I couldn’t answer in that day because I hit my limit in responses) and thank you for your continued help.

Unfortunately, while following your suggestions and trying a few other things, I ended up making the situation worse. To get back to a stable point, I restored a snapshot of my server, so I’m essentially back to square one.

I would like to ask if you are available to help me troubleshoot this further, perhaps using anydesk or in a call where I provided you with the access to my server? I feel like it might be easier to pinpoint the issue and resolve it.

Of course, I understand if you’re not available for that.
Let me know if you’re available to assist further.

Thank you again,
Luis