...
Just my blog

Blog about everything, mostly about tech stuff I made. Here is the list of stuff I'm using at my blog. Feel free to ask me about implementations.

Soft I recommend
Py lib I recommend

I'm using these libraries so you can ask me about them.

Redmine update 3.0.1

Redmine Update

Great, there is a new Redmine 3.0.1 published!

[su_note]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.[/su_note] Some plugins can produce error like: [su_spoiler title="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)

[/su_spoiler] My lost plugins:

  • redmine_digest
  • global_roles
  • redmine_ckeditor (update found)
  • redmine_people
  • hooks_manager
  • redmine_issue_checklist (update found)

[su_spoiler title="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".

  [/su_spoiler] 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.