Project

General

Profile

Error in attempting to upgrade redmine 1.4 to 2.5

Added by Rafael Soufraz over 9 years ago

In an attempt to update my redmine, I get the following information after the update.
I've tried:
gem install bundler
bundle install --without development test
--without development test bundle install rmagick

The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message.

Error message:
Redmine requires Bundler 1.0.21 (you're using 1.0.15). Please install a newer version with `gem install bundler`.

Application root:
/usr/share/redmine

Backtrace:
#    File    Line    Location
0    /usr/share/redmine/config/preinitializer.rb    11    in `exit'
1    /usr/share/redmine/config/preinitializer.rb    11    
2    /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb    36    in `gem_original_require'
3    /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb    36    in `require'
4    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb    301    in `preload_application'
5    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb    252    in `initialize_server'
6    /usr/lib/ruby/1.8/phusion_passenger/utils.rb    255    in `report_app_init_status'
7    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb    237    in `initialize_server'
8    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb    194    in `start_synchronously'
9    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb    163    in `start'
10    /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb    213    in `start'
11    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb    262    in `spawn_rails_application'
12    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb    126    in `lookup_or_add'
13    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb    256    in `spawn_rails_application'
14    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb    80    in `synchronize'
15    /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb    79    in `synchronize'
16    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb    255    in `spawn_rails_application'
17    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb    154    in `spawn_application'
18    /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb    287    in `handle_spawn_application'
19    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb    352    in `__send__'
20    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb    352    in `main_loop'
21    /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb    196    in `start_synchronously'
22    /usr/lib/phusion_passenger/passenger-spawn-server    61    

Replies (3)

RE: Error in attempting to upgrade redmine 1.4 to 2.5 - Added by Jan Niggemann (redmine.org team member) over 9 years ago

Redmine requires Bundler 1.0.21 (you're using 1.0.15). Please install a newer version with `gem install bundler`.

You need to update your bundler gem:
gem install bundler -v 1.0.21

RE: Error in attempting to upgrade redmine 1.4 to 2.5 - Added by Rafael Soufraz over 9 years ago

I did reinstall all of ruby on my server. Now, I have another problem.
All libraries are installed.

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- /var/www/redmine/../config/boot (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/www/redmine/dispatch.fcgi:3:in `<main>'
[Thu Aug 14 18:41:45 2014] [warn] [client 10.0.0.120] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Aug 14 18:41:45 2014] [error] [client 10.0.0.120] Premature end of script headers: dispatch.fcgi

RE: Error in attempting to upgrade redmine 1.4 to 2.5 - Added by Jan Niggemann (redmine.org team member) over 9 years ago

Can you get RM up and running under webrick?
Go to your redmine directory, run ruby script/rails server webrick -e production and check http://localhost:3000 ...

    (1-3/3)