RoundCube reinstallation

Hi @johnv,

What problem?

You should not install roundcube using apt, if you did it remove it.

apt remove roundcube

As I don’t know what you did, just in case it exists, delete db, db user and one file in roundcube installation (Hestia script v-add-sys-roundcube will remove all later):

mysql -uroot -e 'DROP DATABASE IF EXISTS roundcube'
mysql -uroot -e 'DROP USER 'roundcube'@'localhost''
rm /var/lib/roundcube/index.php

Now install roundcube:

v-add-sys-roundcube

Change perms:

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/

Try to access webmail.

1 Like