Virtualmin Roundcube – How we install and fix errors
Wanna install Roundcube on virtualmin? We can help you install it.
Accessing emails using webmail applications such as Horde and RoundCube is popular because of the user-friendly interface.
Luckily, Virtualmin allows installing Roundcube on Virtualmin with few steps.
At Bobcares, we often get requests to install Roundcube on Virtualmin as part of our Server Management Services.
Today, let’s get into the details and see how our Support Engineers install Roundcube on Virtualmin and fix errors.
How we install Roundcube on Virtualmin
1. Initially we log into the Virtualmin control panel by going to https://your-domain:10000.
2. Then, we select the primary domain from the left side panel and then click on Install Scripts.
3. From the given page, we go to Available Scripts, here in the Email section we have an option for Roundcube. We click on the green play button for Roundcube to begin the installation Wizard.
4. On the next page, we leave all the settings to its default and click on the Install Now button.
At last, we have a message and link to access the Roundcube Webmail panel like http://your-domain-name/roundcube.
How we fixed the common errors
At Bobcares, where we have more than a decade of expertise in managing servers, we see many customers face problems while setting up Roundcube on Virtualmin servers.
Now, let’s see the major reasons for this Roundcube related errors and how our Support Engineers fix the top errors.
Recently, one of our clients had a database error for Webmail client RoundCube.
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.
On checking, our Support Engineers found that the user password was not working. Normally, the database and the user is “roundcube”.
We tried to connect to the database with the user password. We could not connect to the roundcube database.
When the user password is not working that’s the reason for this db error.
So, we reset the user password. This solved the error.
Improper Roundcube installation
Another customer had an error while trying to install the Roundcube on Virtualmin server. The error said
Now installing RoundCube version X.X.X Failed to run database setup script : ERROR 1045 (28000): Access denied for user 'adminuser'@'localhost' (using password: YES) . More information on using this script can be found at http://www.roundcube.net/.
By investigating, our Support Engineers found the as a improper installation.
Therefore, we logged into Virtualmin control panel. Then, we selected Edit databases >> select the roundcube database >> Manage Database >> Execute SQL.
We assigned privileges for the RoundCube database to Roundcube database user.
GRANT ALL PRIVILEGES ON database-name_roundcube.* TO adminuser@localhost IDENTIFIED BY 'password';
Next, we run the install script once again.
[Need assistance to Virtualmin Roundcube errors? We’ll help you.]
In short, install Roundcube on Virtualmin is very simple. However, incorrect password, and improper Roundcube installation cause errors after installing Roundcube. Today, we saw how our Support Engineers fixed this error.