Cannot update database after updating from 1.3.0 to 1.4.4.
Added by Arno Schoenmakers about 12 years ago
Hi,
I tried to update Redmine on our system (SLES11) from 1.3.0 to 1.4.4; I had to update some ruby things to do that with ''bundle install''.
When I want to run the database migration command, I get the following error:
> rake --trace db:migrate RAILS_ENV=production Please install RDoc 2.4.2+ to generate documentation. ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! no such file to load -- ldap /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' /srv/redmine-1.4.4/vendor/plugins/redmine_changepass/init.rb:3:in `evaluate_init_rb' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/plugin.rb:158:in `evaluate_init_rb' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/plugin.rb:154:in `evaluate_init_rb' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/plugin.rb:48:in `load' /srv/redmine-1.4.4/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/plugin/loader.rb:38:in `load_plugins' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in `each' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in `load_plugins' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:369:in `load_plugins' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:165:in `process' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `send' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `run' /srv/redmine-1.4.4/config/environment.rb:21 /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.14/lib/tasks/misc.rake:4 /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain' /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run' /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33 /usr/bin/rake:19:in `load' /usr/bin/rake:19 Tasks: TOP => db:migrate => environment
The gem list shows:
> gem list *** LOCAL GEMS *** actionmailer (2.3.14, 2.3.11) actionpack (2.3.14, 2.3.11) activerecord (2.3.14, 2.3.11) activeresource (2.3.14, 2.3.11) activesupport (2.3.14, 2.3.11) arel (3.0.2) builder (3.0.0) bundler (1.2.0) coderay (1.0.7) crash-watch (1.1.3) daemon_controller (0.2.6, 0.2.5) fastercsv (1.5.5) fastthread (1.0.7) hoe (3.0.8) holidays (1.0.3) i18n (0.6.1, 0.4.2) icalendar (1.1.6) json (1.6.4) ldapi (0.1.0) log4r (1.1.10) mysql (2.8.1) net-ldap (0.3.1) nokogiri (1.5.0) open-uri-cached (0.0.4) passenger (3.0.11, 3.0.9, 3.0.8, 3.0.7) password (1.3) pdf-reader (0.10.0) rack (1.4.0, 1.1.3, 1.1.2, 1.1.1, 1.1.0) rack-protection (1.2.0) rails (2.3.14, 2.3.11, 2.3.5) rake (0.9.2.2, 0.8.7) ruby-openid (2.1.8) rubygems-update (1.8.24) sinatra (1.3.2) tilt (1.3.3) ttfunk (1.0.3) tzinfo (0.3.33)
Am I missing some gem? Or something else?
Help is appreciated, as this blocks our necessary upgrade.
Replies (2)
RE: Cannot update database after updating from 1.3.0 to 1.4.4. - Added by Etienne Massip about 12 years ago
Looking at the trace, this due to redmine_changepass plugin, so maybe you want to remove it before running migration?
RE: Cannot update database after updating from 1.3.0 to 1.4.4. - Added by PICCORO LenzMcKAY about 12 years ago
many plugin that are able in redmine 1.3.X anre not compatible or usable in 1.4.4
if u remove plugins added every works fine!