I recently just installed 0.21c version of mail-in-a-box on a DO droplet. However, when i upgraded to 0.22 using ‘curl -s … setup.sh | sudo bash’ and tried to access roundcube webmail, I saw the following error:
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
Looking inside roundcubemail errors file I see the following errors repeated several times:
[02-Apr-2017 11:44:28 -0400]: DB Error:  no such table: carddav_addressbooks (SQL Query: SELECT id FROM carddav_addressbooks WHERE user_id=’’ AND active=1) in Roundcube/rcube_db.php on line 539 (GET /mail/)
[02-Apr-2017 11:44:28 -0400]: DB Error:  no such table: carddav_addressbooks (GET /mail/)
Closest issue I could find is the following: