upgrade 0.7 - latest
Added by Florian Keclik about 14 years ago
Hi,
we are planning to upgrade redmine from 0.7 to the latest build.
Is that something that's supposed to work? Has that been tested or is it necessary to upgrade step by step from 0.7 to 0.8 to 0.9 etc.?
Any recommendations except of "do a backup" are very welcome!
Thanks
Replies (3)
RE: upgrade 0.7 - latest - Added by Glenn Gould about 14 years ago
What I do for upgrading in generally is:
- dump the production database and copy it's content into the test-database
- untar new redmineversion to a seperate folder
- do upgrade procedure within this folder (copy over files-directoriy, configs and so on
- do all migrations for environment=test
- test with webrick
- if that succeeds, I wouldn't expect problems with upgrading/migrating production environment
- other community members may give more specific details about rails, rack and other dependencies on the long way from 0.7 to recent version.
RE: upgrade 0.7 - latest - Added by Florian Keclik about 14 years ago
Unfortunately the process didn't succeed as expected. I keep getting errors from certain pages from the admin panel (not from all) like "users" or "settings" and also if I select a single issue.
ArgumentError in Users#index Showing app/views/users/index.rhtml where line #21 raised: wrong number of arguments (2 for 0) Extracted source (around line #21): 18: <div class="autoscroll"> 19: <table class="list"> 20: <thead><tr> 21: <%= sort_header_tag('login', :caption => l(:field_login)) %> 22: <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> 23: <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %> 24: <%= sort_header_tag('mail', :caption => l(:field_mail)) %> RAILS_ROOT: /home/redmine-1.0.3 Application Trace | Framework Trace | Full Trace /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:158:in `warn_syntax_deprecation!' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:158:in `interpolate_without_deprecated_syntax' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:153:in `gsub' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:153:in `interpolate_without_deprecated_syntax' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:46:in `translate' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n.rb:160:in `t' /home/redmine-1.0.3/lib/redmine/i18n.rb:15:in `l' /home/redmine-1.0.3/app/helpers/sort_helper.rb:231:in `sort_header_tag' /home/redmine-1.0.3/app/views/users/index.rhtml:21:in `_run_rhtml_app47views47users47index46rhtml' /home/redmine-1.0.3/app/controllers/users_controller.rb:49:in `index' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:21:in `interpolate' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:987:in `render_without_benchmark' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' /home/redmine-1.0.3/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call' /home/redmine-1.0.3/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /home/redmine-1.0.3/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:158:in `warn_syntax_deprecation!' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:158:in `interpolate_without_deprecated_syntax' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:153:in `gsub' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:153:in `interpolate_without_deprecated_syntax' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:21:in `interpolate' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:46:in `translate' /var/lib/gems/1.8/gems/i18n-0.4.2/lib/i18n.rb:160:in `t' /home/redmine-1.0.3/lib/redmine/i18n.rb:15:in `l' /home/redmine-1.0.3/app/helpers/sort_helper.rb:231:in `sort_header_tag' /home/redmine-1.0.3/app/views/users/index.rhtml:21:in `_run_rhtml_app47views47users47index46rhtml' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:987:in `render_without_benchmark' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine-1.0.3/app/controllers/users_controller.rb:49:in `index' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /home/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /home/redmine-1.0.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' /home/redmine-1.0.3/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call' /home/redmine-1.0.3/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run' /home/redmine-1.0.3/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 Request Parameters: None Show session dump --- Response Headers: {"Content-Type"=>"", "Cache-Control"=>"no-cache"}
RE: upgrade 0.7 - latest - Added by Florian Keclik about 14 years ago
Nevermind. The issue was related to il8n
uninstalling it did the trick
gem uninstall i18n -v=0.4.2
the upgrade seems to work now