Project

General

Profile

About plugin migration

Added by Nils Linde over 13 years ago

I have stumbled upon many users, who had same problem and none solutions I found, worked for me.
Here is what I did:
  1. Downloaded ZIP file of plugin
  2. Unarchived it, sent it through FTP with root account, to plugins directory
  3. Connected with SSH, go to that plugin directory
  4. Launched command rake db:migrate_plugins
  5. Received error Don't know how to build task 'db:migrate_plugins'

I have rake (0.8.7) and ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux] with Redmine 0.8.7.stable.4359 (MySQL).
Currently, tested question_plugin (http://www.redmine.org/wiki/redmine/PluginQuestion) that is Compatible with: Redmine 0.8.x & Redmine Trunk and cutomer_plugin (http://www.redmine.org/wiki/redmine/PluginCustomer) that is Compatible with: Redmine 0.8.x & Redmine Trunk.

Please, give me a clue, wheat should be done, to get plugins to work.
Thanks


Replies (3)

RE: About plugin migration - Added by Nils Linde over 13 years ago

nils2:/usr/local/lib/redmine-0.8/vendor/plugins/question_plugin# rake db:migrate_plugins --trace
(in /usr/local/lib/redmine-0.8/vendor/plugins/question_plugin)
rake aborted!
Don't know how to build task 'db:migrate_plugins'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050: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

RE: About plugin migration - Added by Felix Schäfer over 13 years ago

Nils Linde wrote:

  1. Connected with SSH, go to that plugin directory

Nope, go to your redmine directory.

RE: About plugin migration - Added by Nils Linde over 13 years ago

Thanks, it worked.

    (1-3/3)