Project

General

Profile

Search tutorial to install redmine 2.1.2 [Solved]

Added by Romain MONNIER about 12 years ago

Hi,

I would know if any body can me said if one simple tutorial exist for redmine 2.1.2, I try to install the serveur for test on My VirtualMachine since 2 days but it doesn't work.
I show you one or two problems i've find

Distribution debian Squeeze :

Problem rake generate_secret_token

All look install :

bundle install --without development test
Using rake (0.9.2.2) 
Using i18n (0.6.1) 
Using multi_json (1.3.6) 
Using activesupport (3.2.8) 
Using builder (3.0.0) 
Using activemodel (3.2.8) 
Using erubis (2.7.0) 
Using journey (1.0.4) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.2) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.1.3) 
Using actionpack (3.2.8) 
Using mime-types (1.19) 
Using polyglot (0.3.3) 
Using treetop (1.4.10) 
Using mail (2.4.4) 
Using actionmailer (3.2.8) 
Using arel (3.0.2) 
Using tzinfo (0.3.33) 
Using activerecord (3.2.8) 
Using activeresource (3.2.8) 
Using coderay (1.0.7) 
Using fastercsv (1.5.5) 
Using rack-ssl (1.3.2) 
Using json (1.7.5) 
Using rdoc (3.12) 
Using thor (0.16.0) 
Using railties (3.2.8) 
Using jquery-rails (2.0.3) 
Using mysql (2.8.1) 
Using net-ldap (0.3.1) 
Using pg (0.14.1) 
Using ruby-openid (2.1.8) 
Using rack-openid (1.3.1) 
Using bundler (1.2.1) 
Using rails (3.2.8) 
Using rmagick (2.13.1) 
Using sqlite3 (1.3.6) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

But when I lunch my rake :

# rake generate_secret_token --trace
(in /usr/local/share/redmine)
rake aborted!
uninitialized constant Rake::DSL
/usr/lib/ruby/1.8/rake.rb:2503:in `const_missing'
/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8
/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `require'
/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/testtask.rb:4
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/test_unit/testing.rake:2:in `require'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/test_unit/testing.rake:2
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/test_unit/railtie.rb:12:in `load'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/test_unit/railtie.rb:12
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie.rb:184:in `instance_exec'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie.rb:184:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie.rb:184:in `each'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie.rb:184:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/engine.rb:423:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application/railties.rb:8:in `each'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application/railties.rb:8:in `all'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/engine.rb:423:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/application.rb:145:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `send'
/var/lib/gems/1.8/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/local/share/redmine/Rakefile:7
/usr/lib/ruby/1.8/rake.rb:2383:in `load'
/usr/lib/ruby/1.8/rake.rb:2383:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2000:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28

I would like to create one good bash to install your Redmine solution on debian Squeeze, before i must to pass the install but at the moment te site http://stackoverflow.com has most help me to correct your how to than your wiki....

I will to post all bugs I'll cross with your tutorial :
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_210_on_Debian_Squeeze_with_Apache_Passenger

If you would like I'll can post my bash later, i think one install.deb can be one good idea it's always more simple to configure the security of one application after one aptitude install.


Replies (6)

RE: Search tutorial to install redmine 2.1.2 - Added by Romain MONNIER about 12 years ago

Corrected with :

# aptitude install libapache2-mod-passenger

RE: Search tutorial to install redmine 2.1.2 - Added by Kirill Bezrukov (RedmineUP) about 12 years ago

You should add gem "rake", "0.8.7" to the Gemfile and run bundle update rake

RE: Search tutorial to install redmine 2.1.2 - Added by Romain MONNIER about 12 years ago

I have uninstalled rake v0.9.2 and install rake -v 0.8.7 but when i make update rake the reke version look unchanged :

# gem uninstall rake -v=0.9.2
Successfully uninstalled rake-0.9.2
root@redmine2-2:/usr/local/share/redmine# gem install rake -v=0.8.7
Successfully installed rake-0.8.7
1 gem installed
Installing ri documentation for rake-0.8.7...
Building YARD (yri) index for rake-0.8.7...
Installing RDoc documentation for rake-0.8.7...
root@redmine2-2:/usr/local/share/redmine# bundle update rake
Fetching gem metadata from http://rubygems.org/.......
Using rake (0.9.2.2) 
Using i18n (0.6.1) 
Using multi_json (1.3.6) 
Using activesupport (3.2.8) 
Using builder (3.0.0) 
Using activemodel (3.2.8) 
Using erubis (2.7.0) 
Using journey (1.0.4) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.2) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.1.3) 
Using actionpack (3.2.8) 
Using mime-types (1.19) 
Using polyglot (0.3.3) 
Using treetop (1.4.10) 
Using mail (2.4.4) 
Using actionmailer (3.2.8) 
Using arel (3.0.2) 
Using tzinfo (0.3.33) 
Using activerecord (3.2.8) 
Using activeresource (3.2.8) 
Using bundler (1.2.1) 
Using coderay (1.0.7) 
Using fastercsv (1.5.5) 
Using rack-ssl (1.3.2) 
Using json (1.7.5) 
Using rdoc (3.12) 
Using thor (0.16.0) 
Using railties (3.2.8) 
Using jquery-rails (2.0.3) 
Using mysql (2.8.1) 
Using net-ldap (0.3.1) 
Using pg (0.14.1) 
Using ruby-openid (2.1.8) 
Using rack-openid (1.3.1) 
Using rails (3.2.8) 
Using rmagick (2.13.1) 
Using sqlite3 (1.3.6) 
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.

RE: Search tutorial to install redmine 2.1.2 - Added by Romain MONNIER about 12 years ago

(Other point)

For apache configuration 2 point are forget on the tutorial :

for open ports :
- open the file : /etc/apache2/ports.conf

and add fallow lines


NameVirtualHost *:8080
Listen 8080

- Before make a2ensite redmine.example.com
rename the file with these informations : /etc/apache2/sites-available/redmine.example.com


# 8080 in this case is because we use a reverse proxy before Apache. Otherwise simply use "*:80" 

<VirtualHost *:8080>
 ServerName redmine.example.com
 DocumentRoot /usr/local/share/redmine/public
 <Directory /usr/local/share/redmine/public>
   AllowOverride all
   Options -MultiViews
 </Directory>
</VirtualHost>

RE: Search tutorial to install redmine 2.1.2 - Added by Romain MONNIER about 12 years ago

All look right,

I will finish my script il post it later.

Thanks for your help.

    (1-6/6)