Fixed two roundcube bugs

Discussion in 'Installation/Configuration' started by Pyanepsion, Sep 26, 2019.

  1. Pyanepsion

    Pyanepsion Member

    Hello,
    I needed to install the new Roundcube version on NGINX / Debian to use some of the new messaging features.
    The update of Debian 9 in Debian 10 has caused some Roundcube dysfunctions. Here's how to fix them.
    1. Messaging is unreachable.
    roundcube-01.png

    This comes from the update of PHP 7.0 in 7.3.
    The RoundCube webmail is accessible on a Nginx ISPConfig web server through the vhost application. The PHP-FPM vhost applications runs under the user and ispapps group. To correct the Roundcube error, you must change the owner of some RoundCube files.
    Code:
    chown root:ispapps /etc/roundcube/debian-db.php
    chmod 640 /etc/roundcube/debian-db.php
    chown root:ispapps /etc/roundcube/config.inc.php
    chmod 640 /etc/roundcube/config.inc.php
    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
    2. Completing recipient names does not work properly when groups of contacts are created.
    roundcube-02.png

    The problem is a bug in regex management if updating the installed Roundcube version that was installed is a bit dated.
    Find /lib/Roundcube/rcube_vcard.php
    Replace
    Code:
    '/\n+/',                 // remove empty lines
    '/^(N:[^;\R]*)$/m',      // if N doesn't have any semicolons, add some
    By
    Code:
    '/\n+/',                  // remove empty lines
    '/^(N:[^;\r\n]*)$/m',     // if N doesn't have any semicolons, add some
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I've updated the tutorial to fix issue (1). the second issue is basically a bug in RoundCube and should be fixed by its developers.
     
    Pyanepsion and ahrasis like this.
  3. Pyanepsion

    Pyanepsion Member

    Warning: it was the installation of multiple versions of PHP that brought a problem of rights. The problem has apparently disappeared.
    However, adjusting the permissions now produces an error in tutorial of Perfect Server Debian 10 NGINX.
     

Share This Page