[DRE-maint] Bug#684067: redmine postgresql backend fails in redmine clean instalation (whatever version 1.4.3, 1.4.4 or 1.4.2)

PICCORO McKAY Lenz mckaygerhard at gmail.com
Mon Aug 6 19:21:39 UTC 2012


i have news, some outputs, i tested and confirmed other ruby apps can
coonenct and i can setup redmine perfectly by hand but dbconfig-common
not! this its very severy

the problem its that default database for new users in postgres engine
are same as user connected, testin fount it:

root at sys001web:/etc/redmine/default# psql -h localhost -U redmine -W
Contraseña para usuario redmine:
psql: FATAL:  no existe la base de datos <<redmine>>
root at sys001web:/etc/redmine/default#
root at sys001web:/etc/redmine/default# su - postgres
postgres at sys001web:~$ createdb -O redmine redmine redmine
postgres at sys001web:~$ ^D
postgres at sys001web:~$ logout
root at sys001web:/etc/redmine/default# psql -h localhost -U redmine -W
Contraseña para usuario redmine:
psql (9.1.3)
conexión SSL (cifrado: DHE-RSA-AES256-SHA, bits: 256)
Digite «help» para obtener ayuda.

redmine=> \q
root at sys001web:/etc/redmine/default#

then i reconfigured a found this:

dbconfig-common: writing config to
/etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/redmine/default/database.yml.new with new version
creating postgres user redmine:  already exists.
resetting password:  success.
creating database redmine_default: already exists.
dbconfig-common: flushing administrative password
Populating database for redmine instance "default".
This may take a while.
NOTE: Gem.source_index is deprecated, use Specification. It will be
removed on or after 2011-11-01.
Gem.source_index called from
/usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
Please install RDoc 2.4.2+ to generate documentation.
rake aborted!
el servidor ha cerrado la conexión inesperadamente
        Probablemente se debe a que el servidor terminó de manera anormal
        antes o durante el procesamiento de la petición.

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Error when running rake db:migrate, check database configuration.
exit: 295: Illegal number: -1
dpkg: error al procesar redmine (--configure):
 el subproceso instalado el script post-installation devolvió el
código de salida de error 2




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