Lacking symlinks prevent config scripts from running

Bug #1966087 reported by Roland Giesler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
roundcube (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have installed roundcube and roundcube-psql on Ubuntu 20.04 from the packages. At the top of /etc/apache2/conf-available/roundcube.conf there is a single alias which I have uncommented.

    # Uncomment them to use it or adapt them to your configuration
    Alias /roundcube /var/lib/roundcube

After reloading Apache, the login screen works in a browser when I load http://ipaddress/roundcube, but the /usr/share/roundcube/installer/config.php file cannot be found by http://ipaddress/roundcube/installer/config.php.

https://help.ubuntu.com/community/Roundcube says there should be two alias lines to uncomment, but in the latest source code of Roundcube there's only one alias.

Roundcube is installed into /usr/share/roundcube, but there are symlinks in /var/lib/roundcube as below:

    lrwxrwxrwx 1 www-data www-data 14 Feb 24 2020 config -> /etc/roundcube
    lrwxrwxrwx 1 www-data www-data 30 Feb 24 2020 index.php -> /usr/share/roundcube/index.php
    lrwxrwxrwx 1 www-data www-data 19 Feb 24 2020 logs -> ../../log/roundcube
    drwxr-xr-x 2 www-data www-data 4096 Mar 21 17:16 plugins
    lrwxrwxrwx 1 www-data www-data 28 Feb 24 2020 program -> /usr/share/roundcube/program
    drwxr-xr-x 2 www-data www-data 4096 Mar 21 17:16 skins
    drwxr-x--- 2 www-data www-data 4096 Feb 24 2020 temp

There's index.php linking to /usr/share/roundcube/index.php, but not to the setup scripts. So I added the following symlink:

    installer -> /usr/share/roundcube/installer

This allows the installer to run, but on the "create config" step, nothing is generated, so clearly there are more missing links ;-)

This seems like a bug in the package to me.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: roundcube 1.4.3+dfsg.1-1
ProcVersionSignature:

Uname: Linux 5.15.19-2-pve x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Mar 23 16:04:57 2022
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C
 SHELL=/bin/bash
SourcePackage: roundcube
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Roland Giesler (lifeboy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.