Project

General

Profile

Redmine Scrumdashboard plugin

Added by Mats Klepsland over 15 years ago

Scrumdashboard is a plugin for Redmine. It enables Redmine to better support the Scrum process by giving the users access to a digital "dashboard". This shows the status for the current sprint through a digital representation of a whiteboard with post-it notes detailing User Stories/Features/etc (from the product backlog) which is often used with projects using Scrum.

The data used in the application to display this information is taken from the "Versions","Trackers" and "Issues" you register in your Redmine project.

In other words, the application does not allow you to register new information, it just allows you to display the current registered information in a new manner to give you a quick status overview. It also allows for manipulation of some of the data (specifically dragging & dropping user stories/tasks to new statues - by supporting the workflow configured for the project).

A typical scenario involves a number of versions, that can be named such as "Sprint 1", "Sprint 2" and a series of trackers, such as "User Story", "Feature", "Bug". It will display all the trackers that are linked to a specific version (sprint) in the application.

Features:
- Drag & Drop to change the status of an issue, following the workflow
- Change the types of statuses/trackers displayed on the dashboard
- Column sorting for statuses
- Choose which version to display on the dashboard
- Tooltips for each issue
- Display all the issues or only the issues assigned to the current user
- Configure colors for issues displayed

For more information check out the README file in our Github repository:
http://github.com/thus/redmine-scrumdashboard-plugin/tree/master

Note that this is our first project in Ruby on Rails so please go easy on us :)

scrumdashboard_1.png (80.8 KB) scrumdashboard_1.png Redmine-scrumdashboard-plugin: Main page
scrumdashboard_4.png (97.6 KB) scrumdashboard_4.png Redmine-scrumdashboard-plugin: Configuration page

Replies (137)

RE: Redmine Scrumdashboard plugin - Added by Mats Klepsland about 15 years ago

Abidoon Nadeem wrote:

In my case it is working fine after deleting the language file. Thanks

The language file shouldn't be a problem any more. I was a little quick when I merged it into the master branch on GitHub (without testing it :-s). I renamed it to the filename it should have had in the first place and changed the format on it (it used the new language engine instead of the old) and now it works :)

I didn't encounter the problem that you are experiencing Julian, but I'll look into it.

Kind regards,

Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Mats Klepsland about 15 years ago

It is now possible to use quotes in issue title and description. The journal is also handled correctly when moving issues to the same status. These changes were made by Yong Hwan (http://github.com/sio4). Thank you for contributing!

If anyone want to add support for their language in the plugin, please translate the language files located in the "lang" and "config/locales/ folders, and send them to me. If you don't know how to do these, send me a mail or something and we'll figure it out together. I really appreciate your help :)

Kind regards,

Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Yonghwan SO about 15 years ago

Mats Klepsland wrote:

It is now possible to use quotes in issue title and description. The journal is also handled correctly when moving issues to the same status. These changes were made by Yong Hwan (http://github.com/sio4). Thank you for contributing!

If anyone want to add support for their language in the plugin, please translate the language files located in the "lang" and "config/locales/ folders, and send them to me. If you don't know how to do these, send me a mail or something and we'll figure it out together. I really appreciate your help :)

Kind regards,

Mats Klepsland.

Hi, Thank you for your nice plugin too!

RE: Redmine Scrumdashboard plugin - Added by Pavel Karavaev about 15 years ago

Hi.
I'm installing plugin under Ubuntu.
During

rake db:migrate 

I've got the following error:

rake aborted!
Connection refused - /tmp/mysql.sock  

Link for mysql works correctly.
We also use redmine with "Redmine Burndown plugin" and "Redmine Task Board plugin".

Please help
Thanks

RE: Redmine Scrumdashboard plugin - Added by Mats Klepsland about 15 years ago

Pavel Karavaev wrote:

Hi.
I'm installing plugin under Ubuntu.
During
[...]

I've got the following error:
[...]

Link for mysql works correctly.
We also use redmine with "Redmine Burndown plugin" and "Redmine Task Board plugin".

Please help
Thanks

I believe that this is not a problem with the scrumdashboard plugin, but I will try and help you anyway. I have encountered this problem several times when creating new instances of Redmine on my debian box. What you need to do is to add the following line to your database.yml file:

socket: /var/run/mysqld/mysqld.sock

The following link shows an example file where this problem is fixed:
http://crunchlife.com/articles/2007/10/06/rake-aborted-no-such-file-or-directory-tmp-mysql-sock

Kind regards,

Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Julian Duque about 15 years ago

This is the error that is showing when i try to enter the Dashboard:

http://pastebin.ca/1550623

Processing DashboardController#index (for 10.10.0.1 at 2009-09-01 14:04:01) [GET]
  Session ID: a8072b8e8c87bb83e9a7304c95c08f75
  Parameters: {"action"=>"index", "id"=>"logistica-me-demo", "controller"=>"dashboard"}
Rendering template within layouts/base
Rendering dashboard/index

ActionView::TemplateError (No plugin called 'redmine_scrumdashboard' - please use the full name of a loaded plugin.) on line #2 of vendor/plugins/redmine-scrumdashboard-plugin/app/views/dashboard/index.html.erb:
1: <% content_for :header_tags do %>
2:   <%= stylesheet_link_tag 'dashboard', :plugin => 'redmine_scrumdashboard' %>
3:   <%= javascript_include_tag 'tooltip', :plugin => 'redmine_scrumdashboard' %>
4:   <%= javascript_include_tag :defaults %>
5: <% end %>

    vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:111:in `plugin_asset_path'
    vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:104:in `pluginify_sources'
    vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:104:in `map!'
    vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:104:in `pluginify_sources'
    vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:67:in `stylesheet_link_tag'
    vendor/plugins/redmine-scrumdashboard-plugin/app/views/dashboard/index.html.erb:2:in `_run_erb_47vendor47plugins47redmine45scrumdashboard45plugin47app47views47dashboard47index46html46erb'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:141:in `call'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:141:in `capture_erb_with_buffer'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:44:in `capture'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:125:in `content_for'
    app/helpers/application_helper.rb:599:in `content_for'
    vendor/plugins/redmine-scrumdashboard-plugin/app/views/dashboard/index.html.erb:1:in `_run_erb_47vendor47plugins47redmine45scrumdashboard45plugin47app47views47dashboard47index46html46erb'
    vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
    vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
    vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
    vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
    vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file'
    vendor/rails/actionpack/lib/action_controller/base.rb:1112:in `render_for_file'
    vendor/rails/actionpack/lib/action_controller/base.rb:845:in `render_with_no_layout'
    vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
    vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
    vendor/rails/actionpack/lib/action_controller/base.rb:1161:in `default_render'
    vendor/rails/actionpack/lib/action_controller/base.rb:1167:in `perform_action_without_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
    vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
    vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
    vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
    vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
    vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
    vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
    vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
    vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
    public/dispatch.cgi:10

Rendering /opt/redmine/public/500.html (500 Internal Server Error)

RE: Redmine Scrumdashboard plugin - Added by Jason Messmer about 15 years ago

A quick fix would be to rename the plug-in directory "vendor/plugins/redmine-scrumdashboard-plugin" to "vendor/plugins/redmine_scrumdashboard"

RE: Redmine Scrumdashboard plugin - Added by Mats Klepsland about 15 years ago

Jason Messmer wrote:

A quick fix would be to rename the plug-in directory "vendor/plugins/redmine-scrumdashboard-plugin" to "vendor/plugins/redmine_scrumdashboard"

Thank you for pointing it out Jason :)

The installation part of the readme file clearly points out that the folder have to be named "redmine_scrumdashboard" to work:

NOTE: The folder containing the plugin need to be called "redmine_scrumdashboard" for the plugin to work. 

Kind regards,

Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Eric Davis about 15 years ago

Mats Klepsland:

I just wanted to thank you for doing such a good job supporting your plugin. Keep up the good work.

Eric Davis

RE: Redmine Scrumdashboard plugin - Added by Jorge Martinez about 15 years ago

I followed the installation steps that appear in the README and every thing pretty good. But when I try to configure a ‘main tracker’, the ‘settings’ page is missing! When I click the 'Please set a main tracker' link I get the same result, a 404 error is throwed. I have repeated the installation and there's not changes. Please, if somebody had the same problem and could fix it I would like to know how.

PD: I downloaded the plugin from http://github.com/thus/redmine-scrumdashboard-plugin/tree/master.

Thanks.

after.jpg (75.8 KB) after.jpg

RE: Redmine Scrumdashboard plugin - Added by Julian Duque about 15 years ago

Hello!!

The plugin is now working and its excellent!! congratulations and thank you for the support!!!!

RE: Redmine Scrumdashboard plugin - Added by Mats Klepsland about 15 years ago

Jorge Martinez wrote:

I followed the installation steps that appear in the README and every thing pretty good. But when I try to configure a ‘main tracker’, the ‘settings’ page is missing! When I click the 'Please set a main tracker' link I get the same result, a 404 error is throwed. I have repeated the installation and there's not changes. Please, if somebody had the same problem and could fix it I would like to know how.

PD: I downloaded the plugin from http://github.com/thus/redmine-scrumdashboard-plugin/tree/master.

Thanks.

This is a known error that I said I was going to fix some time ago. Sorry about that! I just don't got much time these days. As a quick way to enter the setup page you could try the following link:

http://127.0.0.1:3000/dashboard/settings/<project identifier>

Just replace the IP-address and project identifier to match yours. You will still get the 404 when submitting, but the settings is being saved anyway. Hope this helps!

Kind regards,

Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Mats Klepsland about 15 years ago

Eric Davis wrote:

Mats Klepsland:

I just wanted to thank you for doing such a good job supporting your plugin. Keep up the good work.

Eric Davis

Thank you for the nice comment! It really means a lot to me!

Kind regards,

Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Jorge Martinez about 15 years ago

It work pretty good, thanks for your help Mats Klepsland.

RE: Redmine Scrumdashboard plugin - Added by Brian DeVries about 15 years ago

Jorge Martinez wrote:

I followed the installation steps that appear in the README and every thing pretty good. But when I try to configure a ‘main tracker’, the ‘settings’ page is missing! When I click the 'Please set a main tracker' link I get the same result, a 404 error is throwed. I have repeated the installation and there's not changes. Please, if somebody had the same problem and could fix it I would like to know how.

PD: I downloaded the plugin from http://github.com/thus/redmine-scrumdashboard-plugin/tree/master.

Thanks.

I encountered this problem as well. It seems that, at least on my installation (Redmine trunk + plugin master, several other plugins installed), if there is no version defined in the project settings, it defaults to a version of "4", which doesn't exist. However, if you add a version, then it appears to work fine from thereon out. So one possible workaround is to add a catch-all version for your latest work (maybe "Development" or "Experimental" or something), and then you can use it as normal.

RE: Redmine Scrumdashboard plugin - Added by Ozgun Koyun about 15 years ago

Hi,

I got the following error after clicking "Dashboard" link:

Processing DashboardController#index (for 127.0.0.1 at 2009-10-01 23:42:04) [GET]
  Session ID: 690dd9b2594cb3ccba6d9e0f887925bb
  Parameters: {"action"=>"index", "id"=>"testprj", "controller"=>"dashboard"}
  Setting Columns (0.001256)   SHOW FIELDS FROM `settings`
  SQL (0.000250)   SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` 
  User Columns (0.001500)   SHOW FIELDS FROM `users`
  User Load (0.000431)   SELECT * FROM `users` WHERE (`users`.`id` = 1) AND (users.status = 1) 
  Project Columns (0.001539)   SHOW FIELDS FROM `projects`
  Project Load (0.000253)   SELECT * FROM `projects` WHERE (`projects`.`identifier` = 'testprj') LIMIT 1
  Dashboard Load (0.000129)   SELECT * FROM `dashboards` WHERE (project_id = 1) LIMIT 1
  DashboardStatus Load (0.000148)   SELECT * FROM `dashboard_statuses` WHERE (`dashboard_statuses`.dashboard_id = 1) 
  IssueStatus Columns (0.001009)   SHOW FIELDS FROM `issue_statuses`
  IssueStatus Load (0.000160)   SELECT * FROM `issue_statuses` WHERE (`issue_statuses`.`id` = 1) 
  IssueStatus Load (0.000119)   SELECT * FROM `issue_statuses` WHERE (`issue_statuses`.`id` = 2)
  IssueStatus Load (0.000114)   SELECT * FROM `issue_statuses` WHERE (`issue_statuses`.`id` = 3) 
  IssueStatus Load (0.000114)   SELECT * FROM `issue_statuses` WHERE (`issue_statuses`.`id` = 4)
  IssueStatus Load (0.000112)   SELECT * FROM `issue_statuses` WHERE (`issue_statuses`.`id` = 5) 
  IssueStatus Load (0.000113)   SELECT * FROM `issue_statuses` WHERE (`issue_statuses`.`id` = 6)

SystemStackError (stack level too deep):
    /usr/lib/ruby/1.8/set.rb:93:in `empty?'
    /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:64:in `generated_methods?'
    /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:237:in `method_missing'
    /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:245:in `method_missing'
    /vendor/rails/activerecord/lib/active_record/base.rb:2446:in `hash'
    /vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:173:in `send'
    /vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:173:in `method_missing'
    /vendor/plugins/redmine_scrumdashboard/app/models/dashboard.rb:81:in `uniq'
    /vendor/plugins/redmine_scrumdashboard/app/models/dashboard.rb:81:in `project_statuses'
    /vendor/plugins/redmine_scrumdashboard/app/controllers/dashboard_controller.rb:216:in `get_globals'
    /vendor/plugins/redmine_scrumdashboard/app/controllers/dashboard_controller.rb:22:in `index'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
    /vendor/rails/railties/lib/commands/servers/mongrel.rb:64
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
    /vendor/rails/railties/lib/commands/server.rb:39
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    ./script/server:3

Rendering /home/ozgun/Temp/redmine-0.8.5/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)

Redmine version is 0.8.5.

Thanks,
Ozgun.

RE: Redmine Scrumdashboard plugin - Added by alten benelux almost 15 years ago

Ozgun Koyun wrote:

Hi,

I got the following error after clicking "Dashboard" link:

[...]

Redmine version is 0.8.5.

Thanks,
Ozgun.

Exact same situation here, except I get this error on the first browsing after restarting apache.

RE: Redmine Scrumdashboard plugin - Added by Dario Laera almost 15 years ago

Hi,

very nice plugin, but I suggest you to do escaping (or translation to entity) of tick "'" in the text that will be inserted in the tooltip. Indeed italian translation of redmine uses "priorita'" for "priority" and this causes the onmouseover attribute to be closed badly.

Dario

RE: Redmine Scrumdashboard plugin - Added by Shoaibi . almost 15 years ago

I get an error when i try to install on Redmine 0.8.7

rake db:migrate_plugins
(in /var/www/vhosts.d/redmine.stagging.me)
Migrating engines...
Migrating actionwebservice...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating budget_plugin...
Migrating classic_pagination...
Migrating coderay-0.7.6.227...
Migrating gloc-1.1.0...
Migrating gravatar...
Migrating redmine-scrumdashboard-plugin...
== 1 ScrumdashboardSetup: migrating ===========================================
-- create_table("dashboards", {:force=>true})
   -> 0.0779s
-- create_table("dashboard_trackers", {:force=>true})
   -> 0.0156s
rake aborted!
"Plugins::Redmine-scrumdashboard-plugin::App::Models" is not a valid constant name!

(See full trace by running task with --trace)

# rake db:migrate_plugins --trace
(in /var/www/vhosts.d/redmine.stagging.me)
** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate_plugins
Migrating engines...
Migrating actionwebservice...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating budget_plugin...
Migrating classic_pagination...
Migrating coderay-0.7.6.227...
Migrating gloc-1.1.0...
Migrating gravatar...
Migrating redmine-scrumdashboard-plugin...
== 1 ScrumdashboardSetup: migrating ===========================================
-- create_table("dashboards", {:force=>true})
   -> 0.0821s
-- create_table("dashboard_trackers", {:force=>true})
   -> 0.0272s
rake aborted!
"Plugins::Redmine-scrumdashboard-plugin::App::Models" is not a valid constant name!
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:116:in `qualified_const_defined?'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:339:in `new_constants_in'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:331:in `collect'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:331:in `new_constants_in'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `load_file'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `require_or_load_without_engine_additions'
/var/www/vhosts.d/redmine.stagging.me/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:139:in `require_or_load'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in `load_missing_constant'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in `const_missing'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in `send'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in `const_missing'
/var/www/vhosts.d/redmine.stagging.me/vendor/plugins/redmine-scrumdashboard-plugin/db/migrate/001_scrumdashboard_setup.rb:36:in `up_without_benchmarks'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:280:in `send'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:280:in `migrate'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:280:in `migrate'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:455:in `migrate'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:445:in `each'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:445:in `migrate'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:373:in `up'
/var/www/vhosts.d/redmine.stagging.me/vendor/rails/activerecord/lib/active_record/migration.rb:356:in `migrate'
/var/www/vhosts.d/redmine.stagging.me/vendor/plugins/engines/lib/engines/plugin/migrator.rb:23:in `migrate_plugin'
/var/www/vhosts.d/redmine.stagging.me/config/../vendor/plugins/engines/lib/engines/plugin.rb:122:in `migrate'
/var/www/vhosts.d/redmine.stagging.me/lib/tasks/migrate_plugins.rake:8
/var/www/vhosts.d/redmine.stagging.me/lib/tasks/migrate_plugins.rake:5:in `each'
/var/www/vhosts.d/redmine.stagging.me/lib/tasks/migrate_plugins.rake:5
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

RE: Redmine Scrumdashboard plugin - Added by Kevin Bosman almost 15 years ago

Shoaibi . wrote:

I get an error when i try to install on Redmine 0.8.7
[...]

You've installed the plugin into the wrong folder. See the "Installation" section in the readme:

== Installation

To install the Scrumdashboard please follow the steps outlined below.

1: Copy the files to "\vendor\plugins\redmine_scrumdashboard" 
 (Example:  c:\ruby\redmine-0.8.0\vendor\plugins\redmine_scrumdashboard)

NOTE: The folder containing the plugin need to be called "redmine_scrumdashboard" for 
the plugin to work.

RE: Redmine Scrumdashboard plugin - Added by Shoaibi . almost 15 years ago

ooopppppssss, mine was redmine-scrumdashboard, sorry... and thanks for the support, really appreciate it, great plugin.

RE: Redmine Scrumdashboard plugin - Added by Shoaibi . almost 15 years ago

I am getting this:

404

The page you were trying to access doesn't exist or has been removed.

Back

in browser and this
Processing DashboardController#settings (for 203.99.57.238 at 2009-12-23 04:37:15) [GET]
  Session ID: d6953cf662aae234865cb26fa6b09430
  Parameters: {"action"=>"settings", "id"=>"bs-interface", "controller"=>"dashboard", "version"=>"4"}
Rendering template within layouts/base
Rendering common/404 (404)
Completed in 0.03773 (26 reqs/sec) | Rendering: 0.03025 (80%) | DB: 0.00486 (12%) | 404 Not Found [http://redmine.example.com/dashboard/settings/bs-interface?version=4]

in production.log when i try to access settings.

RE: Redmine Scrumdashboard plugin - Added by Adrian Wallaschek almost 15 years ago

Problem when installing...

I had a few attempt on installing the dashboard, but failed. I seem to have made the did-not-rename-the-directory-properly-error before.

When I try to do the rake db:migrate_plugins:

root@redmine:/var/www/railsapp# rake db:migrate_plugins --trace
(in /var/www/railsapp)
  • Invoke db:migrate_plugins (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute db:migrate_plugins
    Migrating engines...
    rake aborted!
    Mysql::Error: Table 'railsapp_development.plugin_schema_info' doesn't exist: SELECT version FROM plugin_schema_info
    WHERE plugin_name = 'engines'
    /var/www/railsapp/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:147:in `log'
    /var/www/railsapp/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:302:in `execute'
    /var/www/railsapp/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:537:in `select'
    /var/www/railsapp/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache'
    /var/www/railsapp/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
    /var/www/railsapp/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:13:in `select_one'
    /var/www/railsapp/vendor/plugins/engines/lib/engines/plugin/migrator.rb:36:in `current_version'
    /var/www/railsapp/vendor/plugins/engines/lib/engines/plugin/migrator.rb:22:in `migrate_plugin'
    /var/www/railsapp/config/../vendor/plugins/engines/lib/engines/plugin.rb:122:in `migrate'
    /var/www/railsapp/lib/tasks/migrate_plugins.rake:8
    /var/www/railsapp/lib/tasks/migrate_plugins.rake:5:in `each'
    /var/www/railsapp/lib/tasks/migrate_plugins.rake:5
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
    /usr/bin/rake:19:in `load'
    /usr/bin/rake:19

That seems to be wrong all over 8-(.

Question is this a consequential error of some previous mistake. How do I reset the DB to the previous state?

Kind regards,
Adrian

RE: Redmine Scrumdashboard plugin - Added by Adrian Wallaschek almost 15 years ago

Hmm,

I solved the problem with the migrate_plugins. The log showed that it tried to do this in dev-mode.

rake db:migrate_plugins RAILS_ENV=production

The env definition was the solution, found it on some website. I use the Turnkeylinux.org appliance for Redmine. Seems there is some fixing required, just I do not know Ruby nor Rails.

Now I could configure the DB, I went into the configuration enable the dashboard, it complained about no master, so I configured a master.

And then: internal error. I have to versions: Microbe (2 issues existing) and Amoeba (no issues existing). On Amoeba, no display (as expected) on Microbe ... Bang ... internal error.

Any clue? Where would I find the logfiles for redmine? Apache logs are empty.

Cheers,
Adrian

RE: Redmine Scrumdashboard plugin - Added by Jamie Schmidt almost 15 years ago

Adrian Wallaschek wrote:

Hmm,

I solved the problem with the migrate_plugins. The log showed that it tried to do this in dev-mode.

rake db:migrate_plugins RAILS_ENV=production

The env definition was the solution, found it on some website. I use the Turnkeylinux.org appliance for Redmine. Seems there is some fixing required, just I do not know Ruby nor Rails.

Now I could configure the DB, I went into the configuration enable the dashboard, it complained about no master, so I configured a master.

And then: internal error. I have to versions: Microbe (2 issues existing) and Amoeba (no issues existing). On Amoeba, no display (as expected) on Microbe ... Bang ... internal error.

Any clue? Where would I find the logfiles for redmine? Apache logs are empty.

Cheers,
Adrian

I am in the same situation now. In my project, I have 2 versions defined, which I can see in the Dashboard drop down list. But, as soon as I assign an issue to one of those versions, the Scrum Dashboard gives me the Internal Error message (when I select the given version in the drop down). However, I can still view the empty dashboard for the version with no associated issues though.

Where can i find the logs for this? No luck so far.

(76-100/137)