项目

一般

简介

插件目录 » Redmine Agile 敏捷开发插件

评论

添加评论

#1 Chen Snowman7 天 之前添加

zgq zgq 重新按如下方法再试一遍

set RAILS_ENV=production
cd E:\Bitnami\redmine-4.1.1-5\apps\redmine\htdocs\
bundle exec rake redmine:plugins NAME=redmine_agile 

#2 zgq zgq7 天 之前添加

E:\Bitnami\redmine-4.1.1-5\apps\redmine\htdocs\plugins>bundle exec rake redmine:plugins NAME=redmine_agile RAILS_ENV=production
(in E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs)
rake aborted!
LoadError: cannot load such file -- openid
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/lib/plugins/open_id_authentication/lib/open_id_authentication.rb:2:in `<top (required)>'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/lib/plugins/open_id_authentication/init.rb:3:in `block in <top (required)>'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/config/initializers/00-core_plugins.rb:14:in `eval'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/config/initializers/00-core_plugins.rb:14:in `block in <top (required)>'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/config/initializers/00-core_plugins.rb:4:in `each'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/config/initializers/00-core_plugins.rb:4:in `<top (required)>'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/config/environment.rb:16:in `<top (required)>'
E:/Bitnami/redmine-4.1.1-5/apps/redmine/htdocs/lib/tasks/redmine.rake:57:in `block (2 levels) in <top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

#3 du yujin29 天 之前添加

已经修复

#4 du yujin29 天 之前添加

刚安装完,点击应用后,点击敏捷 报错,日志信息如下
ActiveRecord::StatementInvalid (Mysql2::Error: Table 'redmine.agile_data' doesn't exist: SELECT COUNT FROM `issues` INNER JOIN `projects` ON `projects`.`id` = `issues`.`project_id` LEFT OUTER JOIN `issue_statuses` ON `issue_statuses`.`id` = `issues`.`status_id` LEFT OUTER JOIN `users` ON `users`.`id` = `issues`.`assigned_to_id` LEFT OUTER JOIN `trackers` ON `trackers`.`id` = `issues`.`tracker_id` LEFT OUTER JOIN `enumerations` ON `enumerations`.`id` = `issues`.`priority_id` AND `enumerations`.`type` IN ('IssuePriority') LEFT OUTER JOIN `issue_categories` ON `issue_categories`.`id` = `issues`.`category_id` LEFT OUTER JOIN `versions` ON `versions`.`id` = `issues`.`fixed_version_id` LEFT OUTER JOIN `agile_data` ON `agile_data`.`issue_id` = `issues`.`id` WHERE (projects.status <> 9 AND EXISTS (SELECT 1 AS one FROM enabled_modules em WHERE em.project_id = projects.id AND em.name='issue_tracking')) AND (projects.id = 1) AND `issues`.`status_id` IN (SELECT `issue_statuses`.`id` FROM `issue_statuses` WHERE `issue_statuses`.`is_closed` = FALSE)):

plugins/redmine_agile/app/models/agile_query.rb:623:in `issue_board'
plugins/redmine_agile/app/controllers/agile_boards_controller.rb:61:in `index'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
Started GET "/projects" for 10.28.64.35 at 2020-10-27 17:59:20 +0800
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendering projects/index.html.erb within layouts/base
Rendered queries/_filters.html.erb (2.7ms)
Rendered queries/_columns.html.erb (0.7ms)
Rendered queries/_query_form.html.erb (5.1ms)
Rendered projects/_board.html.erb (3.7ms)
Rendered projects/_sidebar.html.erb (1.9ms)
Rendered projects/index.html.erb within layouts/base (14.1ms)
Completed 200 OK in 42ms (Views: 21.2ms | ActiveRecord: 9.5ms)
Started GET "/projects/test" for 10.28.64.35 at 2020-10-27 17:59:21 +0800
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"test"}
Current user: admin (id=1)
Rendering projects/show.html.erb within layouts/base
Rendered projects/_members_box.html.erb (0.0ms)
Rendered projects/show.html.erb within layouts/base (6.1ms)
Completed 200 OK in 39ms (Views: 17.7ms | ActiveRecord: 10.9ms)
Started GET "/projects/test/agile/board" for 10.28.64.35 at 2020-10-27 18:00:35 +0800
Processing by AgileBoardsController#index as HTML
Parameters: {"project_id"=>"test"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 9.7ms)

#5 redmineplugins.cn Admin大约 2 个月 之前添加

明确指定环境变量再试试 bundle exec rake redmine:plugins NAME=agile RAILS_ENV=production

#6 zl6536 zl6536大约 2 个月 之前添加

有幾個插件安裝都報這個錯誤
Bundle complete! 46 Gemfile dependencies, 82 gems now installed.
Gems in the groups development, test and sqlite were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bash-4.2# RAILS=production bundle exec rake redmine:plugins:migrate NAME=agile
rake aborted!
Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/opt/redmine-4.1.1-3/apps/redmine/htdocs/plugins/accept/init.rb:11:in `block in <top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:94:in `instance_eval'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:94:in `register'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/plugins/accept/init.rb:4:in `<top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:181:in `block in load'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:172:in `each'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:172:in `load'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/config/initializers/30-redmine.rb:20:in `<top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/config/environment.rb:16:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
bash-4.2#

#7 redmineplugins.cn Admin3 个月 之前添加

那是肯定的。从 项目范围管理 角度看,一定要是同一个项目范围内或是其子项目的活动或工作才可以,很难想象用同一'看版'去展示不同项目、不同愿景、不同目标、不同范围的内容会是什么效果。

#8 Lee Billy3 个月 之前添加

試了一下, 應該是可以顯示子項目的Cross Project issue, 但是平行階級的Cross Project issue沒辦法.

free-demo 上面的是

1. Redmine Issue Autoflow 问题审批管理插件演示项目
底下的 我可是子项目啊 issue可以在 "1. Redmine Issue Autoflow" Agile board 顯示

但是
1. Redmine Issue Autoflow 底下的issue 跟 2. Redmine Ueditor百度富文本测试项目
有相關Cross Project issue, 不會在 "2. Redmine Ueditor百度富文本测试项目" Agile board顯示

#9 redmineplugins.cn Admin3 个月 之前添加

Agile Lite版我没有注意,但Pro版的看版的确是可以跨项目的,例如这里的全局看版 https://free-demo.saas.craftmine.pro/agile/board

#10 Lee Billy3 个月 之前添加

或者應該是說, 如果有Ticket是Based on Project 1, related to Project 2, Project 3.
那在Project 1 底下的Agile Board可以看到, 在Project 2, Project 3 底下的Agile Board 不會出現.
只會在All Project的Agile Board 出現

#11 Lee Billy3 个月 之前添加

奇怪, 請問是使用Agile Redmine (Redmineup) 正式版本才有的功能嗎?

#12 redmineplugins.cn Admin3 个月 之前添加

Lee Billy 可以的,请看这里 https://free-demo.saas.craftmine.pro/projects/test/agile/board ,其中敏捷看板中的Bug #186就是来自不同项目的。

#13 Lee Billy3 个月 之前添加

在Agile Board 裡面好像沒有辦法顯示 Cross Project Issue, 有標示跨項目的Ticket不會在Agile board顯示, 在一般列表沒有問題.

#14 redmineplugins.cn Admin3 个月 之前添加

说明agile插件没有安装成功,补充执行 bundle exec rake redmine:plugins:migrate NAME=redmine_agile

#15 xu renfeng3 个月 之前添加

插件报错,查看log,其中有一段提示如下:
ActiveRecord::StatementInvalid (Mysql2::Error: Table 'bitnami_redmine.agile_data' doesn't exist: SELECT COUNT FROM...

请问这个怎么解决?

#16 Chen Snowman4 个月 之前添加

只是语法警告,并不影响使用,可以忽略。

#17 zhou rongxuan4 个月 之前添加

[root@redmine-app01 redmine]# RAILS=production bundle exec rake redmine:plugins:migrate NAME=agile
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /app/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /app/redmine/config/routes.rb:370)
Plugin agile was not found.

添加评论