Roundcube problem...

Discussion in 'Installation/Configuration' started by T1mur, Jun 22, 2011.

  1. T1mur

    T1mur New Member


    i got instaled roundcube like in

    got small problem and have no idea how to resolve it...
    after i got

    CONFIGURATION ERROR was not found.
    Please read the INSTALL instructions!

    what can be wrong after apt-get installation ?


    is that can be the problem ?

    [email protected]:/usr/share/roundcube# ls -l

    drwxr-xr-x 2 root root 4096 Jun 22 13:12 bin
    lrwxrwxrwx 1 root root 25 Jun 22 13:12 config -> /var/lib/roundcube/config
    -rw-r--r-- 1 root root 9829 Oct 31 2009 index.php
    lrwxrwxrwx 1 root root 23 Jun 22 13:12 logs -> /var/lib/roundcube/logs
    -rw-r--r-- 1 root root 18294 Oct 18 2010
    lrwxrwxrwx 1 root root 26 Jun 22 13:12 plugins -> /var/lib/roundcube/plugins
    drwxr-xr-x 7 root root 4096 Jun 22 13:12 program
    -rw-r--r-- 1 root root 26 Mar 22 2008 robots.txt
    lrwxrwxrwx 1 root root 24 Jun 22 13:12 skins -> /var/lib/roundcube/skins
    lrwxrwxrwx 1 root root 23 Jun 22 13:12 temp -> /var/lib/roundcube/temp

    /usr/share/roundcube/config# ls -l

    lrwxrwxrwx 1 root root 25 Jun 22 13:12 -> /etc/roundcube/
    lrwxrwxrwx 1 root root 27 Jun 22 13:12 -> /etc/roundcube/
    lrwxrwxrwx 1 root root 28 Jun 22 13:12 mimetypes.php -> /etc/roundcube/mimetypes.php
    Last edited: Jun 22, 2011
  2. marco

    marco New Member

    You must have to create a database for ROUNDCube.
    Also run the installer script in the installer folder.


  3. 8omas

    8omas Member HowtoForge Supporter

  4. 8omas

    8omas Member HowtoForge Supporter

    He should NOT do this. The manual is based on apt-get installation of roundcube. He should not mess things up.
    The problem and the answer is here

    LAKSHA Member

    I followed this tutorial and all is smooth except the roundcube
    debian 8.6 perfect server

    last part where symlin is created with roundcube and squirrel mail .when we open the webmail url i get the following error
    CONFIGURATION ERROR was not found.
    Please read the INSTALL instructions!
    url is

    LAKSHA Member

    oops the url is
  7. ahrasis

    ahrasis Well-Known Member

    To locate the complained file run:
    Last edited: Mar 16, 2017
  8. Clemente Nogueira

    Clemente Nogueira New Member

    Hello, I notice that roundcube drops down with that message error after I check the System - Server config.
    The ISPConfig 3.1 auto saves and the roundcube pop this error message. It's the 3th time I test it and hapens after I check the system config. So, this is about ISPConfig 3.1 System configuration, but still not found what detail is it, because hapens without I change anything.
    My idea is that somehow ISPConfig saves something that override the proper configuration and brakes the roundcube access.
    luigi mangili likes this.
  9. ahrasis

    ahrasis Well-Known Member

    I think ISPC system config only enable the /webmail extension for the browsers and do nothing to roundcube.

    My roundcube is accessed via (apps port of) domain.tld:8081/webmail (previously via domain.tld:8080/webmail), so my thought is, did you enabled it via this port 8081 (or 8080) too, but later trying to access it directly via port 80 i.e. domain.tld/webmail (without 8081 or 8080)?
  10. Clemente Nogueira

    Clemente Nogueira New Member

    Yes, Roundcube works fine days over, I create mail boxes, I receive emails, I send emails, all works fine at port 8081. Till I access the System Config, ISPConfig auto saves and then the warning pops.

    CONFIGURATION ERROR was not found.
    Please read the INSTALL instructions!

    I check the database access config, username, password == all fine.
    I check == all fine.
    It is bugging me how this happens, but the ISPconfig have some influence that break the Roundcube access.

    How I'm certain? Because I installed fresh the ISPconfig, 3 times only to test the theory and always the same.
    Roundcube works fine till I access the System Config Panel.

    Port 80 is for website
    Port 8080 is for ISPConfig
    Port 8081 is for phpMyAdmin and Roundcube.
    phpMyadmin always work fine, problem is Roundcube.
    luigi mangili likes this.
  11. ahrasis

    ahrasis Well-Known Member

    I don't think it is ISPC problem because, so far that I know, none of it is modifying RC.

    Mine is Ubuntu 16.04 + Nginx and RC do work no matter how many times my ISPC > Server Config > Mail is auto saving.

    What is the content of your settings there? What is your distro / build? What is the version of your RC?
  12. Clemente Nogueira

    Clemente Nogueira New Member

    • Ubuntu 16.04.1 LTS, 4.8.0-46-generic
    • nginx: Installed: 1.10.0-0ubuntu0.16.04.4
    • roundcube: Installed: 1.2~beta+dfsg.1-0ubuntu1
    • postfix: Installed: 3.1.0-3
    • PHP 7.0
    I'm sure the problem is in the ISPConfig interface.
    It's a matter of logic. If the problem happens only when I access to System, Server Config and after auto save the warning in Roundcube appears, then the problem also will be of that factor.

    In the Server - Config you have many configuration factors, Server, Mail, Getmail, Web, etc. ISPConfig auto save it all when you change from any tab.

    After ISPConfig (red circle update) "datalog_status_u_server:2" finish, the roundcube error window pop up.

    I can consider that the change is not directly in the Roundcube core, but it is certainly some feature that the Roundcube uses to work and has been compromised or not installed. Or else maybe the security permissions to some folder or file, let's suppose.
    Last edited: Apr 17, 2017
  13. ahrasis

    ahrasis Well-Known Member

    Sorry, but I don't see anything that could have changed RC in there. Anyway, have a good luck fixing it your way then.
  14. Clemente Nogueira

    Clemente Nogueira New Member

    Yes, this is difficult to solve because I really do not know what ISPConfig modifies for this to happen. Maybe if a developer in ISPConfig finds out if they can solve the problem in a future version of ISPConfig. For me I'll have to waste hours debugging to figure out the solution. Or change software.
    But anyway, thank you for trying to help.
  15. Viktor

    Viktor New Member

    In Roundcube out of the box permission on some files & dirs depends on user is apache running as - www-data.
    In nginx the apps.vhost running as ispapps user. After ISPConfig installation the permissions do not change.
    Try to use:
    chown root:ispapps /etc/roundcube/debian-db.php
    chmod 640 /etc/roundcube/debian-db.php
    chown root:ispapps /etc/roundcube/
    chmod 640 /etc/roundcube/
    chown -R ispapps:adm /var/log/roundcube
    chmod -R 750 /var/log/roundcube
    chown -R ispapps:ispapps /var/lib/roundcube/temp
    chmod -R 750 /var/lib/roundcube/temp
    ahrasis likes this.
  16. Clemente Nogueira

    Clemente Nogueira New Member

    Than you Viktor I tested it today in a Debian 8.8.0 server and worked very well after the error appeared.
  17. For my work
    chmod 640 /etc/roundcube/
    chmod 644 /etc/roundcube/
  18. Lucas Nascimento

    Lucas Nascimento New Member

    I've got the same problem, when I access System Config something happened that changed RC somehow.
    To fixed that I've run the command below.
    This update the system and make some corrections if anything went wrong.
    Hope it helps.
  19. tivanov

    tivanov New Member

    Thank you for advice.
    When i setup roundcube i edited my permission for file to 644 and it helps for me.

Share This Page