Defect #2486
closedfailed during upgrade from 0.7 --> 0.8, at db migration
0%
Description
Today the redmine has stopped working. I thought dreamhost has changed something, which they did. They have upgrade the rails to 2.2.2, but in the enviornment.rb, it says 2.1.2; so I have manually changed it. Still not working >_<
I decided to upgrade it to latest version 0.8. Followed the upgrading guide and failed during DB Migration. I have screen capture the --trace of migration.
Ruby Info
[pizarro]$ ruby script/about /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in `const_missing': uninitialized constant Rails::Plugin::Dependencies (NameError) from /home/.amethyst/manageadmin/redmine-0.7/vendor/plugins/actionwebservice/init.rb:4:in `evaluate_init_rb' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin.rb:103:in `evaluate_init_rb' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin.rb:99:in `evaluate_init_rb' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin.rb:44:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:33:in `load_plugins' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:32:in `each' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:32:in `load_plugins' ... 7 levels... from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/about.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/about:3
Files
Updated by aeron chang almost 16 years ago
the error is displayed on my company's site:
http://manage.honixtech.com/projects
Updated by Jean-Philippe Lang almost 16 years ago
- Status changed from New to Closed
- Affected version (unused) deleted (
0.7.3) - Resolution set to Invalid
- Affected version deleted (
0.7.3)
Sorry but this is not a defect in the db migration script.
Redmine 0.8.0 requires Rails 2.1.2 as stated here. Simply changing RAILS_GEM_VERSION
to '2.2.2'
in environment.rb won't make it automagically work with Rails 2.2.2.
If Rails 2.1.2 gem is not available on your host, freeze Redmine with Rails 2.1.2.
Try to get some help in the forums if you're having trouble with it. Thanks.