DMSF installation issue
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"
NoMethodError: undefined method `assets' for #<Rails::Engine::Configuration:0x0000000003f404e0>
/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 `<top (required)>'
/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 `block in require'
/opt/redmine-4.1.0/config/application.rb:18:in `<top (required)>'
/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)>'
(See full trace by running task with --trace)
Can anyone help me? Thank you!
RE: DMSF installation issue - Added by Francesco Carlini 4 months 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 3 months 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.:
RE: DMSF installation issue - Added by Pavel Rosický 3 months ago
hi, I'll be fixed in the upcoming version https://github.com/danmunn/redmine_dmsf/tree/devel-2.4.2