[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
Hey,
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:
roundcube.config:
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
dbc_dbtypes="mysql, pgsql, sqlite3"
dbc_authmethod_user="password"
. /usr/share/dbconfig-common/dpkg/config·
dbc_go roundcube $@
fi
added to prerm and postrm and on postinst there some settings:
. /usr/share/dbconfig-common/dpkg/postinst
dbc_generate_include=php:/etc/roundcube/debian-db.php
dbc_generate_include_owner="root:www-data"
dbc_generate_include_perms="640"
dbc_dbfile_owner="www-data:www-data"
dbc_dbfile_perms="0660"
dbc_dbuser=roundcube
dbc_dbname=roundcube
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
fi
block?
Best Regards,
sandro
@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