How can I upgrade from 1.2 to the latest version 2.1.4?
Added by Yong Zou over 11 years ago
I upgraded my redmine installation following the upgrade instructions, but failed to starts.
I have these plugins installed on Redmine 1.2.2.stable:
l redmine/vendor/plugins
drwxr-xr-x 3 33 tape 4096 Nov 21 2011 acts_as_activity_provider
drwxr-xr-x 3 33 tape 4096 Nov 21 2011 acts_as_attachable
drwxr-xr-x 3 33 tape 4096 Nov 21 2011 acts_as_customizable
drwxr-xr-x 3 33 tape 4096 Nov 21 2011 acts_as_event
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 acts_as_list
drwxr-xr-x 3 33 tape 4096 Nov 21 2011 acts_as_searchable
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 acts_as_tree
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 acts_as_versioned
drwxr-xr-x 3 33 tape 4096 Nov 21 2011 acts_as_watchable
drwxr-xr-x 5 33 tape 4096 Nov 21 2011 awesome_nested_set
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 classic_pagination
drwxr-xr-x 8 33 tape 4096 Nov 26 2011 easy_agile
drwxr-xr-x 5 33 tape 4096 Nov 21 2011 engines
drwxr-xr-x 8 33 tape 4096 Nov 25 2011 ezfaq_plugin
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 gravatar
drwxr-xr-x 7 33 tape 4096 Nov 26 2011 gruff
drwxr-xr-x 4 33 tape 4096 Nov 26 2011 nested_layouts
drwxr-xr-x 6 33 tape 4096 Nov 25 2011 open_flash_chart
drwxr-xr-x 5 33 tape 4096 Nov 21 2011 open_id_authentication
drwxr-xr-x 2 33 tape 4096 Nov 21 2011 prepend_engine_views
drwxr-xr-x 9 33 tape 4096 Apr 3 2012 redmine_better_gantt_chart
drwxr-xr-x 9 33 tape 4096 Nov 25 2011 redmine_charts
drwxr-xr-x 8 33 tape 4096 Apr 25 2012 redmine_ckeditor
drwxr-xr-x 8 33 tape 4096 Nov 25 2011 redmine_close_button
drwxr-xr-x 8 33 tape 4096 Oct 20 2011 redmine_code_review
drwxr-xr-x 8 33 tape 4096 Nov 24 2011 redmine_contacts
drwxr-xr-x 9 33 tape 4096 Nov 25 2011 redmine_lightbox
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 rfpdf
drwxr-xr-x 4 33 tape 4096 Nov 21 2011 ruby-net-ldap-0.0.4
I copied these plugins to 2.1.4 plugins directory:
l plugins/
total 32rw-r--r- 1 root root 31 Dec 14 11:13 README
drwxr-xr-x 9 root root 4096 Dec 14 12:31 redmine_better_gantt_chart
drwxr-xr-x 9 root root 4096 Dec 14 12:31 redmine_charts
drwxr-xr-x 8 root root 4096 Dec 14 12:31 redmine_ckeditor
drwxr-xr-x 8 root root 4096 Dec 14 12:31 redmine_close_button
drwxr-xr-x 8 root root 4096 Dec 14 12:31 redmine_code_review
drwxr-xr-x 8 root root 4096 Dec 14 12:31 redmine_contacts
drwxr-xr-x 9 root root 4096 Dec 14 12:31 redmine_lightbox
- Daemonized, any open files are closed. Look at tmp/pids/mongrel.8001.pid and log/mongrel.8001.log for info.
- Starting Mongrel listening at 127.0.0.1:8001
- Starting Rails with production environment...
/var/www/redmine/Gemfile:91:in `eval_gemfile': /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler/dsl.rb:82:in `gem': You cannot specify the same gem twice with different version requirements. You specified: rails (= 3.2.8) and rails (= 2.3.14) (Bundler::DslError)
from (eval):8:in `eval_gemfile'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler/dsl.rb:153:in `group'
from (eval):5:in `eval_gemfile'
from /var/www/redmine/Gemfile:89:in `glob'
from /var/www/redmine/Gemfile:89:in `eval_gemfile'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler/dsl.rb:7:in `evaluate'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler/definition.rb:18:in `build'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler.rb:144:in `definition'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler.rb:112:in `setup'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.3/lib/bundler/setup.rb:17
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/www/redmine/config/boot.rb:6
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/config/application.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/config/environment.rb:2
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:147:in `rails'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `call'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `listener'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `call'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /usr/bin/mongrel_rails:19:in `load'
from /usr/bin/mongrel_rails:19
Is it possible to upgrade from 1.2.2 to 2.1.4? If yes, any help docs?
Thanks!