db:migrate_plugins error: "rake aborted! Child already added"
Added by Aaron Brown over 14 years ago
When trying to install any number of plugins, but specifically (exclusively, not simultaneously) Redmine Sprints, Redmine Charts, or Redmine Scumdashboard, I am unable to successfully run db:migrate_plugins and receive the "Child already added" error. The output of a trace, my versions, and my other plugins are all listed below. I don't see anything in production.log.
I have read the suggestions in this thread and it did not resolve my issue.
Any help that can be provided would be of great assistance. If more info is required, I am happy to supply.
Thank you!
Aaron
output of "rake db:migrate_plugins RAILS_ENV=production --trace"
(in /var/www/redmine-0.9.4) ** Invoke db:migrate_plugins (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Child already added /var/www/redmine-0.9.4/lib/redmine/menu_manager.rb:53:in `add_at' /var/www/redmine-0.9.4/lib/redmine/menu_manager.rb:365:in `push' /var/www/redmine-0.9.4/vendor/plugins/redmine_sprints/init.rb:27:in `evaluate_init_rb' /var/www/redmine-0.9.4/lib/redmine/menu_manager.rb:303:in `map' /var/www/redmine-0.9.4/vendor/plugins/redmine_sprints/init.rb:26:in `evaluate_init_rb' /var/www/redmine-0.9.4/lib/redmine/plugin.rb:67:in `instance_eval' /var/www/redmine-0.9.4/lib/redmine/plugin.rb:67:in `register' /var/www/redmine-0.9.4/vendor/plugins/redmine_sprints/init.rb:13:in `evaluate_init_rb' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb' /var/www/redmine-0.9.4/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/rails/plugin.rb:48:in `load' /var/www/redmine-0.9.4/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/initializer.rb:369:in `load_plugins' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/initializer.rb:165:in `process' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' /var/www/redmine-0.9.4/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' /var/www/redmine-0.9.4/config/environment.rb:20 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /var/www/redmine-0.9.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /var/www/redmine-0.9.4/vendor/rails/railties/lib/tasks/misc.rake:4 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
Versions:
CentOS 5 Redmine 0.9.4 rack 1.0.1 rails 2.3.5 rake 0.8.7 ruby 1.8.6
Other Plugins installed:
acts_as_activity_provider acts_as_attachable acts_as_customizable acts_as_event acts_as_list acts_as_searchable acts_as_tree acts_as_versioned acts_as_watchable attachment_fu awesome_nested_set classic_pagination coderay-0.7.6.227 engines gravatar open_flash_chart open_id_authentication prepend_engine_views redmine_graphs redmine_quips redmine_sprints redmine_whining rfpdf ruby-net-ldap-0.0.4
Replies (1)
RE: db:migrate_plugins error: "rake aborted! Child already added" - Added by Aaron Brown over 14 years ago
Am I the only one experiencing this error? I get it with a number of different plugins.