Closed btmndkh closed 1 year ago
Which branch of the plugin you're using?
MASTER...I believe this is the latest version of your release . All I did was clone it and tried to run it on Redmine using Docker.
command I used: git clone https://github.com/Loriowar/redmine_issues_tree.git
My apologies! I was installing it the wrong way. I should have cloned a specific branch. :(
This works for me -> git clone -b 5.0.x https://github.com/Loriowar/redmine_issues_tree.git
Got following error?
root@db1ce043a5f9:/home/redmine/redmine# bundle exec rake redmine:plugins:migrate RAILS_ENV=production rake aborted! NameError: uninitialized constant RedmineIssuesTree::VERSION Did you mean? RedmineIssuesTree::Version Version /home/redmine/redmine/plugins/redmine_issues_tree/init.rb:7:in
block in <top (required)>' /home/redmine/redmine/lib/redmine/plugin.rb:96:in
instance_eval' /home/redmine/redmine/lib/redmine/plugin.rb:96:inregister' /home/redmine/redmine/plugins/redmine_issues_tree/init.rb:3:in
<top (required)>' /home/redmine/redmine/lib/redmine/plugin_loader.rb:31:inload' /home/redmine/redmine/lib/redmine/plugin_loader.rb:31:in
run_initializer' /home/redmine/redmine/lib/redmine/plugin_loader.rb:108:ineach' /home/redmine/redmine/lib/redmine/plugin_loader.rb:108:in
block in load' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:427:ininstance_exec' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:427:in
block in make_lambda' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:198:inblock (2 levels) in halting' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:604:in
block (2 levels) in default_terminator' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:603:incatch' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:603:in
block in default_terminator' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:199:inblock in halting' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:512:in
block in invoke_before' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:512:ineach' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:512:in
invoke_before' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/callbacks.rb:105:inrun_callbacks' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/reloader.rb:88:in
prepare!' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/application/finisher.rb:124:inblock in <module:Finisher>' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/initializable.rb:32:in
instance_exec' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/initializable.rb:32:inrun' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/initializable.rb:61:in
block in run_initializers' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/initializable.rb:60:inrun_initializers' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/application.rb:391:in
initialize!' /home/redmine/redmine/config/environment.rb:16:in<top (required)>' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in
require' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:inrequire' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in
block in require' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:299:inload_dependency' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in
require' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/application.rb:367:inrequire_environment!' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/railties-6.1.7.2/lib/rails/application.rb:533:in
block in run_tasks_blocks' /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>' Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with --trace)Here is my versions:
Environment: Redmine version 5.0.5.stable Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux-gnu] Rails version 6.1.7.2 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp Redmine settings: Redmine theme Default SCM: Subversion 1.13.0 Mercurial 5.3.1 Cvs 1.12.13 Bazaar 3.0.2 Git 2.40.0 Filesystem
Redmine plugins: no plugin installed