[DRE-maint] Bug#698837: Bug#695774 cloned and reopened to #698837

Jérémy Lal kapouer at melix.org
Sat Feb 2 00:34:55 UTC 2013


This went fine : (dist)upgrade from redmine 1.0.1-2 (squeeze) configured
with a postgresql database, to version 1.4.4+dfsg1-1.1 (testing) then
1.4.4+dfsg1-2 (last upload in sid).

I can obtain the same error message :
  cannot load such file -- active_record/connection_adapters/pgsql_adapter

By setting manually in /etc/redmine/default/database.yml
  adapter: pgsql

The right value being :
  adapter: postgresql

The problem is to find how the wrong value has been set in that file.

The postinst script is supposed to replace pgsql by postgresql after the
database.yml file has been generated by dbconfig-common, and register that
fact to ucf. It is probable something went wrong at that moment.

So it would be nice to know :
- do you have adater: pgsql in database.yml ?
- was the file modified manually before the upgrade ?
- are you able to reproduce the bug on another machine ?

Jérémy.




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