Error was not found Roundcube on DirectAdmin

Category : DirectAdmin

You might get the CONFIGURATION ERROR was not found. Please read the INSTALL instructions! error while accessing the WebMail.  Unable to use RoundCube WebMail on your DirectAdmin Server after installing or upgrading? This could be due to bad file permissions, missing file or incorrect webmail database details. Error will look similar to the below image. was not found.

The error was not found can be fixed with a few easy steps on the DirectAdmin based server.


  • root access to DirectAdmin Server
  • CustomBuild 2.0 installed with roundcube=yes in the options.conffile.


  1. Log in to the root user of the DirectAdmin Server.
  2. Cleanup existing Roundcube files and directories.
    cd /usr/local/directadmin/custombuild
    rm -f roundcubemail*
    rm -rf /var/www/roundcube*
  3. Clean and update CustomBuild scripts followed by building RoundCube.
    cd /usr/local/directadmin/custombuild
    ./build clean

    ./build update
    ./build roundcube
  4. If above commands work without any error then your /var/www/html/roundcube/config/, it should contain this:
    -r--r----- 1 webapps webapps 4511 Jan 16 14:35
    -rw-r--r-- 1 webapps webapps 3981 Jan 2 01:30
    -rw-r--r-- 1 webapps webapps 55612 Jan 2 01:30
    -rw-r--r-- 1 webapps webapps 164 Jan 2 01:30 .htaccess
    -rw-r--r-- 1 webapps webapps 50737 Jan 11 14:10 mime.types
    -rw-r--r-- 1 webapps webapps 2815 Jan 2 01:30 mimetypes.php
    -rw------- 1 webapps webapps 50 Jan 16 14:35 my.cnf
  5. If you find is missing in /var/www/html/roundcube/config/, you could create one from the sample file.
    First-line should look like:
    $config['db_dsnw'] = 'mysql://da_roundcube:yourdamysqlpasswordhere@localhost/da_roundcube';
    Note: You will find yourdamysqlpasswordhere in /var/www/html/roundcube/config/my.cnf file from the same directory.
  6. After saving the following steps the Roundcube error was not found should be fixed.

Find more guides and information on DirectAdmin by visiting:

Feel free to reach us out if you need kind of assistance with DirectAdmin, Roundcube, or any technical queries. Shoot us an email at, and our professional experts will get in touch with you.