DMSF installation issue
Added by Francesco Carlini almost 5 years ago
Hi there,
I'm new to Redmine and have an error in the DMSF plugin setup.
I did an installation from scratch of Redmine 4.1 following the guide http://www.redmine.org/projects/redmine/wiki/RedmineInstall and everything went well, however, I can't install the DMSF plugin.
I followed the guide http://www.redmine.org/plugins/dmsf and https://github.com/danmunn/redmine_dmsf, but when try to execute bundle exec rake redmine:plugins:migrate NAME=redmine_dmsf RAILS_ENV="production" I get the error:
$ bundle exec rake redmine:plugins:migrate RAILS_ENV="production"
(in /opt/redmine-4.1.0)
rake aborted!
NoMethodError: undefined method `assets' for #<Rails::Engine::Configuration:0x0000000003f404e0>
/usr/local/rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/railtie/configuration.rb:97:in `method_missing'
/usr/local/rvm/gems/ruby-2.6.3/gems/redmine_extensions-0.2.16/lib/redmine_extensions/engine.rb:20:in `<class:Engine>'
/usr/local/rvm/gems/ruby-2.6.3/gems/redmine_extensions-0.2.16/lib/redmine_extensions/engine.rb:9:in `<module:RedmineExtensions>'
/usr/local/rvm/gems/ruby-2.6.3/gems/redmine_extensions-0.2.16/lib/redmine_extensions/engine.rb:8:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.6.3/gems/redmine_extensions-0.2.16/lib/redmine_extensions.rb:1:in `require_relative'
/usr/local/rvm/gems/ruby-2.6.3/gems/redmine_extensions-0.2.16/lib/redmine_extensions.rb:1:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler/runtime.rb:74:in `require'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler/runtime.rb:74:in `block (2 levels) in require'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler/runtime.rb:69:in `each'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler/runtime.rb:69:in `block in require'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler/runtime.rb:58:in `each'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler/runtime.rb:58:in `require'
/usr/local/rvm/gems/ruby-2.6.3/gems/bundler-2.1.2/lib/bundler.rb:174:in `require'
/opt/redmine-4.1.0/config/application.rb:18:in `<top (required)>'
/opt/redmine-4.1.0/Rakefile:5:in `require'
/opt/redmine-4.1.0/Rakefile:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.6.3/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
(See full trace by running task with --trace)
Can anyone help me? Thank you!
Replies (3)
RE: DMSF installation issue - Added by Francesco Carlini almost 5 years ago
This are my step and versions:
- CentOS 7 minimal with update
- ruby 2.6.3 using RVM
- MySQL 8
- Redmine 4.1.0 with bundle
- DMFS plugin 2.4.1
RE: DMSF installation issue - Added by Mischa The Evil almost 5 years ago
For future readers:
This is caused by an incompatibility issue between Redmine 4.1.0 and DMSF plugin 2.4.1 (note that the plugin version is not explicitly given to be compatible with this new Redmine version).
The root cause of the incompatibility lies in the fact that the DMSF plugin 2.4.1 has a dependency on another plugin called redmine_extensions by easyredmine1 (as a result of the DMSF plugin's compatibility with the (commercial) easyredmine extensions/fork suite, under which the DMSF plugin is known as "Easy DMS" plugin2). That plugin uses functionality that is by default not present on a Redmine 4.1.0 stack (any longer). This, according to a/the DMSF plugin developer, seems to be caused by Redmine issue #32223.
Ref.:1 https://github.com/danmunn/redmine_dmsf/blob/51c1c79cad50c8de09c0ec78cae2cedd8bf3c7b3/Gemfile#L33
2 https://github.com/danmunn/redmine_dmsf/blob/51c1c79cad50c8de09c0ec78cae2cedd8bf3c7b3/init.rb#L24
RE: DMSF installation issue - Added by Pavel Rosický almost 5 years ago
hi, I'll be fixed in the upcoming version https://github.com/danmunn/redmine_dmsf/tree/devel-2.4.2