VestaCP — Ubuntu 18/16 Roundcube / Mail troubleshooting

After installing the Vestacp in ubuntu systems the webmail and the mail server with mozilla might not work. To get back the webmail working do the following:

DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

1. Open /var/lib/roundcube/config/db.inc.php or (db.inc.php.dpkg-bak)
and look for the password in the command 
$rcmail_config[‘db_dsnw’] = ‘mysql://roundcube:password@localhost/roundcube’;

2. copy that password only

3. Open /etc/roundcube/debian-db.php

4. find $dbpass=’wrongpassword’;

5. Paste to replace ‘wrongpassword’ with the correct password.

To get rid of error : Roundcube error ‘Server Error: STATUS: Internal error occurred. Refer to server log for more information.’

 remove:

CODE: SELECT ALL

…and restarted dovecot:

L

Leave a Reply

Your email address will not be published. Required fields are marked *