Project

General

Profile

Error installing redmine

Added by Carles Cognoms almost 11 years ago

hello,
I'm trying to install redmine on :
- Ubuntu Server 13.10
- Postgres 9.1
- Apache 2.4

and i follow that tutorial:
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu

All gone ok until i try to install redmine with the packaged version:
#apt-get install redmine redmine-pgsql
(...)
S'està configurant ruby-net-http-persistent (2.8-1)…
S'està configurant bundler (1.3.5-2ubuntu1)…
S'està configurant ruby-rails-3.2 (3.2.13-2)…
S'està configurant dbconfig-common (1.8.47+nmu1)…

Creating config file /etc/dbconfig-common/config with new version
S'està configurant libruby1.9.1 (1.9.3.194-8.1ubuntu2)…
S'està configurant ruby-pg (0.14.0-1)…
S'està configurant ruby-coderay (1.0.9-1)…
S'està configurant ruby-net-ldap (0.3.1-2)…
S'està configurant ruby-fastercsv (1.5.5-1)…
S'està configurant ruby-hmac (0.4.0-3)…
S'està configurant ruby-openid (2.1.8debian-6)…
S'està configurant ruby-rack-openid (1.3.1-1)…
S'està configurant libfcgi0ldbl (2.4.0-8.1ubuntu4)…
S'està configurant libfcgi-ruby1.9.1 (0.8.8-1)…
S'està configurant ruby-yajl (1.1.0-2)…
S'està configurant rubygems-integration (1.2)…
S'està configurant redmine-pgsql (2.3.1-1)…
S'està configurant redmine (2.3.1-1)…
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/dbconfig-common/redmine/instances/default.conf with new version

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: success.
verifying database redmine_default exists: success.
dbconfig-common: flushing administrative password

Creating config file /etc/redmine/default/database.yml with new version
rake aborted!
cannot load such file -- rails/all
/usr/share/redmine/config/application.rb:3:in `require'
/usr/share/redmine/config/application.rb:3:in `<top (required)>'
/usr/share/redmine/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
dpkg: s'ha produït un error en processar redmine (--configure):
el subprocés s'ha instaŀlat el script post-installation retornà el codi d'eixida d'error 1
S'estan processant els activadors per a libc-bin…
S'han trobat errors en processar:
redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)

I read somewhere ruby1.9.1 have problems with latests versions of redmine ... but i have instaled
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
(previous instalation of gitlab server)
Someone know how to fix that ?


Replies (1)

RE: Error installing redmine - Added by Martin Denizet (redmine.org team member) over 10 years ago

Hello Carles,
Few suggestions:
  1. Address your issue to the maintainer of that specific Ubuntu package
  2. Switch back to a "native" installation. I was using a package before, even though it was fast to install, I got stuck with an old version and was not easy to troubleshoot without hacking around how the package should work. My favorite is: InstallRedmineOnDebianStableApacheMysqlPassenger
  3. Install your system in English, it will much easier to Google your problems that in French.

Cheers,

Martin

    (1-1/1)