[Pkg-roundcube-maintainers] Bug#870479: Installation of roundcube fails with Maria DB

Sandro Knauß hefee at debian.org
Mon Aug 21 16:41:07 UTC 2017


actually I think the problem is not roundcube itself, but dbconfig-common 
package that is responsible for the whole database creation, update and 
removal. As far as i look, roundcube does not set wired settings:


if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
        dbc_dbtypes="mysql, pgsql, sqlite3"
        . /usr/share/dbconfig-common/dpkg/config·
        dbc_go roundcube $@

added to prerm and postrm and on postinst there some settings:

. /usr/share/dbconfig-common/dpkg/postinst                                         
dbc_go roundcube $@

can this be the problem, that the postinst part must be secured with a 

if [ -f /usr/share/dbconfig-common/dpkg/postinst ]; then 


Best Regards,


@Paul Gevers: the problem is that there are some annoying questions about 
user/password for mariadb instead of just using the unix socket. Maybe you can 
check, that roundcube is using dbconfig correctly :) I'm a little bit lost 
because dbconfig was just working :)


On Montag, 21. August 2017 09:21:30 CEST Karsten wrote:
> Hi,
> Am 21.08.2017 um 01:55 schrieb Sandro Knauß:
> > Control: tags -1 +unreproducible
> > Hey,
> > 
> > for the new version 1.3.0 I actually needed to made some tests so I tested
> > this bug too, but couldn't reproduce it.
> > 
> > I set up a new virtualbox image (vagrant init debian/stretch64) and
> > installed apache and mariadb:
> > apt install -y apache2 mariadb-server
> > 
> > after that I run:
> > apt install roundcube roundcube-mysql
> > 
> > and I had not to enter any password. Well the installation asks for a
> > password to register to the database server, but you leave it bank to
> > create a random one, that is also written aboth the text field. After
> > leave this empty and hitting enter the installation was done and I ended
> > up with a configured roundcube instance like expected.
> I am not sure if this fits to my conditions.
> It is possible that a root password was set, but it is not needed.
> Now i have added an additional account for the administration.
> After so much days i can't remember why it didn't work afterwards, sorry.
> But roundcube could not be used instantly.
> Roundcube should be unpacked at this time, only the configuration is missing
> - correct? With the original installation procedure i didn't run into a
> similar problem.
> > Or are you annoyed by the fact it asks for a password and user?
> This is annoying because it is not clear what to do at this point.
> Best regards
> Karsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20170821/5f4777f2/attachment.sig>

More information about the Pkg-roundcube-maintainers mailing list