Problems with webmail

Hi! After the update, my webmail stopped working. I’ve already reinstalled Roundcube and reset PHP to version 8.3, but it’s still the same. What should I check? Error: 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.

you can look this thread

I’ve already done that; the problem isn’t with the certificate, but rather that the Roundcube website doesn’t appear, only the error shown.

how exactly did you do that?

apt remove --purge roundcube roundcube-core roundcube-mysql
apt autoremove
apt install roundcube roundcube-mysql

I kept the database and configuration when it asked me to.

roundcube is actually not installed from apt packages anymore but has been replaced by a composer install a while ago.

I suggest you remove the debian packages again and then run

v-add-sys-roundcube

to get it back.

ERROR: Install done from apt source, unable to continue

my solution:

apt-get autoremove --purge roundcube roundcube-core roundcube-mysql roundcube-plugins

rm -rf /usr/share/roundcube
rm -rf /etc/roundcube
rm -rf /var/lib/roundcube

v-add-sys-roundcube
Error: Unable to create database roundcube

mysql -uroot -e “DROP DATABASE IF EXISTS roundcube;”
mysql -uroot -e “DROP USER IF EXISTS ‘roundcube’@‘localhost’;”
mysql -uroot -e “FLUSH PRIVILEGES;”
rm -rf /var/lib/roundcube/index.php
rm -rf /etc/roundcube/config.inc.php

v-add-sys-roundcube

chown -R hestiamail:www-data /etc/roundcube/
find /etc/roundcube/ -type f -iname “*.php” -exec chmod 640 {} ;
chown -R hestiamail:www-data /var/lib/roundcube/
chown -R hestiamail:www-data /var/log/roundcube/
systemctl restart php8.3-fpm

tanks!!

Thanks for reporting back with your solution and glad to see you got it solved!

If you have larger installations you might want to save the roundcube db before you drop it to keep relevant data and be able to play it back after reinstall.