[fixed] roundcube not found after upgrade to bullseye

Discussion in 'ISPConfig 3 Priority Support' started by liane, Dec 13, 2021.

  1. liane

    liane Member HowtoForge Supporter

    Hi,
    I upgraded from buster to bullseye, also updated ispconfig from 3.2.6 to 3.2.7p1 and now access to roundcube shows a page "Not found" (https://mail.myserver.com:8080/webmail)
    Looks like roundcube was updated from 1.3.17 to 1.4.12
    I can't find anything in the apache conf files that would redirect to the correct roundcube folder.
    Can someone point me to where is this config please
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Add 'Alias /webmail /var/lib/roundcube/public_html' to /etc/roundcube/apache.conf if it's not there. You might also check that the apache conf-enabled link ultimately points to that file (conf-enabled -> conf-available -> actual file).
     
  3. liane

    liane Member HowtoForge Supporter

    Thanks, the alias in /etc/roundcube/apache.conf was missing indeed!!!
    Now, instead of "not found", I have "Forbidden", that's a progress ;-)
     
  4. liane

    liane Member HowtoForge Supporter

    Fixed!!!
    The first directory in etc/apache2/conf-enabled/roundcube.conf was reading:
    <Directory /var/lib/roundcube/public_html/>
    changing it to <Directory /var/lib/roundcube/> fixed it.
    Thanks @Jesse Norell for your help!
     
    Th0m likes this.
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Which version of Roundcube is installed? In newer versions, you need to use the public_html folder.
     
  6. liane

    liane Member HowtoForge Supporter

    Thanks for asking
    Good question, I haven't found a clue in the GUI of Roundcube.
    Code:
    # dpkg -l | grep roundcube
    ii  roundcube                            1.4.12+dfsg.1-1~deb11u1               all          skinnable AJAX based webmail solution for IMAP servers - metapackage
    ii  roundcube-core                       1.4.12+dfsg.1-1~deb11u1               all          skinnable AJAX based webmail solution for IMAP servers
    ii  roundcube-mysql                      1.4.12+dfsg.1-1~deb11u1               all          metapackage providing MySQL dependencies for RoundCube
    ii  roundcube-plugins                    1.4.12+dfsg.1-1~deb11u1               all          skinnable AJAX based webmail solution for IMAP servers - plugins
    
    but I'm not sure which version is used :/
    in /var/lib/roundcube/apache.conf I have:
    Code:
    Alias /webmail /var/lib/roundcube
    <Directory /var/lib/roundcube/>
    
    then in /var/lib/roundcube:
    Code:
    # ls -lh /var/lib/roundcube
    total 28K
    lrwxrwxrwx 1 root     root     14 Dec  7  2016 config -> /etc/roundcube
    lrwxrwxrwx 1 root     root     30 Nov 18 20:07 index.php -> /usr/share/roundcube/index.php
    lrwxrwxrwx 1 root     root     19 Dec  7  2016 logs -> ../../log/roundcube
    drwxr-xr-x 2 root     root     35 Dec 12 04:40 plugins
    lrwxrwxrwx 1 root     root     28 Dec  7  2016 program -> /usr/share/roundcube/program
    drwxr-xr-x 3 root     root      7 Dec 12 04:41 public_html
    drwxr-xr-x 2 root     root      5 Dec 12 04:41 skins
    drwxr-x--- 2 www-data www-data 69 Dec 14 15:34 temp
    
    which means that it is the one in /usr/share/roundcube that is used, not the one in /var/lib/roundcube/public_html, which according to the date looks more recent.
    should I change that, then delete the /usr/share/roundcube that will be unused?
    edit: I changed to use /var/lib/roundcube/public_html, I guess it is the right one to use and I found the version number in the bottom left about, it matches the dpkg version 1.4.12
     
    Last edited: Dec 14, 2021
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Yes, it's 1.4.12. If it works for you right now, don't worry and let it be.
     

Share This Page