[DRE-maint] Bug#695774: redmine: fails to upgrade, says something about a pgsql_adapter

Jérémy Lal kapouer at melix.org
Mon Dec 17 10:06:31 UTC 2012


On 17/12/2012 11:02, Thorsten Glaser wrote:
> On Sun, 16 Dec 2012, Jérémy Lal wrote:
> 
>> The bug comes from configuring two instances with the same db user.
>> dbconfig-common regenerates a random password when configuring
>> the second instance, wiping the password set for the first instance
>> that has already been recorded in database.yml.
> 
> Okay, in this case, I know where it comes from:
> 
> I first tried installing redmine and redmine-pgsql, but the latter
> does not depend on a database server, and I had not set up one
> beforehand myself, leading to *first* dbconfig being run, *then*
> the package installation fail. When I saw that I need to manually
> install postgresql, I did that, and then the redmine packages
> were configured, running dbconfig a second time.
> 
> Thanks for your analysis!

Mind that it's really a problem of conception on my side :
naively installing two databases with same user should not
screw up the password assigned the first time.
It might be considered a bug of dbconfig-common, not sure yet.

Jérémy.




More information about the Pkg-ruby-extras-maintainers mailing list