Redmine Update
Great, there is a new Redmine 3.0.1 published!
Note! Redmine 3.0.1 has A LOT of unsupported plugins from old versions! Better remove them all and update it without plugins and than move back one by one.
Some plugins can produce error like:
rake generate_secret_token
root@tet-redmine www/redmine# rake generate_secret_token
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
Warning: you should require 'minitest/autorun' instead.
Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
From:
/var/lib/gems/1.9.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/var/lib/gems/1.9.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/var/lib/gems/1.9.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/lib/gems/1.9.1/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/lib/ruby/1.9.1/test/unit.rb:3:in `<top (required)>'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:85:in `require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:85:in `rescue in block in require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:68:in `block in require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:61:in `each'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:61:in `require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler.rb:134:in `require'
/var/www/redmine/config/application.rb:5:in `<top (required)>'
/var/www/redmine/Rakefile:5:in `<top (required)>'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/lib/ruby/1.9.1/test/unit/testcase.rb:8:in `<module:Unit>'
rake aborted!
NameError: uninitialized class variable @@installed_at_exit in Test::Unit::Runner
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:85:in `require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:85:in `rescue in block in require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:68:in `block in require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:61:in `each'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler/runtime.rb:61:in `require'
/var/lib/gems/1.9.1/gems/bundler-1.8.1/lib/bundler.rb:134:in `require'
/var/www/redmine/config/application.rb:5:in `<top (required)>'
/var/www/redmine/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
My lost plugins:
- redmine_digest
- global_roles
- redmine_ckeditor (update found)
- redmine_people
- hooks_manager
- redmine_issue_checklist (update found)
Shitty stuff
root@tet-redmine redmine/plugins# rake redmine:plugins:migrate RAILS_ENV=production
(in /var/www/redmine)
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
An error occurred while loading the routes definition of hooks_manager plugin (/var/www/redmine/plugins/hooks_manager/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
Instead of: match "controller#action"
Do: get "controller#action".
root@tet-redmine redmine/plugins# rake redmine:plugins:migrate RAILS_ENV=production
(in /var/www/redmine)
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
An error occurred while loading the routes definition of redmine_issue_checklist plugin (/var/www/redmine/plugins/redmine_issue_checklist/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
Instead of: match "controller#action"
Do: get "controller#action".
Also it has another warning I can’t figure out still:
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
If anybody can show me where does this require – I’ll change. But this is not urgent as I see.
Conclusion:
This new Redmine 3 version is compatible only with itself – all needed plugins are lost and new versions work bad or lost at all. So I’ve revert it. You can update to 3 only if you use clean install.
Like this:
Like Loading...
Related
About trianglesis
Александр Брюндтзвельт - гений, филантроп, 100 гривен в кармане.
Этот блог - "сток" моих мыслей и заметок. Достаточно одного взгляда на него, чтобы понять, что такой же бардак творится у меня в голове.
Если вам этот бардак интересен - милости прошу.