256MbTeam / Redmine-Scrumbler

Easy to use plugin for Redmine. It allows users to use the Scrum/Agile process in projects. Scrumbler have interactive dashboard with the ability to configure for each sprint. Plugin adds Scrum Points field in every issue in project. Scrumbler as possible using the standard redmine structure of projects.
GNU General Public License v2.0
112 stars 41 forks source link

Error 500 after Installation #53

Closed stf675 closed 12 years ago

stf675 commented 12 years ago

Bitnami Redmine 1.3

Ran rake db:migrate_plugins NAME=redmine_scrumbler RAILS_ENV=production (it says migrate_plugin in instruction but it gives "Don't know how to build task 'db:migrate_plugin'", so I assume it iwas a typo)

Processing WelcomeController#index (for 10.8.4.51 at 2012-03-06 10:35:17) [GET] Parameters: {"action"=>"index", "controller"=>"welcome"} Rendering template within layouts/base Rendering welcome/index

ActionView::TemplateError (No plugin called 'redmine_scrumbler' - please use the full name of a loaded plugin.) on line #20 of app/views/layouts/base.html.erb: 17: body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} 18: 19: <![endif]--> 20: <%= call_hook :view_layouts_base_html_head %> 21: 22: <%= yield :header_tags -%> 23:

lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `tap'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/layouts/base.html.erb:20
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering C:/Program Files/BitNami Redmine Stack131/apps/redmine/public/500.html (500 Internal Server Error)

Also the results from migrate_plugins command:

C:\Program Files\BitNami Redmine Stack131\apps\redmine>rake db:migrate_plugins NAME=redmine_scrumbler RAILS_ENV=production (in C:/Program Files/BitNami Redmine Stack131/apps/redmine) Migrating engines... Migrating Redmine_Scrumbler... == CreateScrumblerSprints: migrating ========================================= -- create_table(:scrumbler_sprints, {:force=>true}) -> 0.1250s == CreateScrumblerSprints: migrated (0.1250s) ================================

== CreateScrumblerProjectSettings: migrating ================================= -- create_table(:scrumbler_project_settings, {:force=>true}) -> 0.0781s == CreateScrumblerProjectSettings: migrated (0.0781s) ========================

== RemoveDeprecatedMigrations: migrating ===================================== == RemoveDeprecatedMigrations: migrated (0.0156s) ============================

== UpdateScrumblerSprints: migrating ========================================= -- add_column(:scrumbler_sprints, :max_points, :integer, {:null=>false, :default =>0}) -> 0.2187s == UpdateScrumblerSprints: migrated (0.2187s) ================================

== AddFactCloseDateFieldScrumblerSprints: migrating ========================== -- add_column(:scrumbler_sprints, :fact_close_date, :date) -> 0.0937s == AddFactCloseDateFieldScrumblerSprints: migrated (0.1094s) =================

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 awesome_nested_set... Migrating classic_pagination... Migrating gravatar... Migrating issue_hot_buttons_plugin... Migrating myneid-Redmine-Periodic-Task-53146c5... Migrating open_id_authentication... Migrating prepend_engine_views... Migrating redmine_better_gantt_chart... Migrating redmine_issue_checklist... Migrating redmine_knowledgebase... Migrating rfpdf... Migrating ruby-net-ldap-0.0.4... Migrating wadewomersley-redmine-auto-percent-b523688...

stf675 commented 12 years ago

Also I looked in closed issue https://github.com/256MbTeam/Redmine-Scrumbler/issues/35 that describe the same problem, and suggestion to read Readme.MD file. But I believe that file contain number of errors:

you have to specify RAILS_ENV=production and the command is rake db:migrate_plugins

zloydadka commented 12 years ago

just rename plugin dir to redmine_scrumbler in vendor/plugins

stf675 commented 12 years ago

that the name I used

stf675 commented 12 years ago

Looks like someone closed that issue, but it not resolved my plugin folder name was always "redmine_scrumbler".

As soon as I restart services - I got 500 error, than I removed plugin folder, restart services again and redmine worked. Copying folder back without further restart has no effect.

Anything else I can try to fix it?

-----Original Message----- From: Alexander Andrianov [mailto:reply@reply.github.com] Sent: Thursday, March 08, 2012 10:58 AM To: Finkelshteyn, Steven Subject: Re: [Redmine-Scrumbler] Error 500 after Installation (#53)

just rename plugin dir to redmine_scrumbler in vendor/plugins


Reply to this email directly or view it on GitHub: https://github.com/256MbTeam/Redmine-Scrumbler/issues/53#issuecomment-4395748

This message is intended only for the personal and confidential use of the recipients named above. If the reader of this email is not the intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and permanently delete the copy you received.

This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. Wolverine is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity that may be attached to or contained in this communication. Wolverine accepts no liability for any content contained in the email, or any errors or omissions arising as a result of email transmission. Any opinions contained in this email constitute the sender's best judgment at this time and are subject to change without notice.

stf675 commented 12 years ago

fixed by moving plugin folder out, restarting redmine, copying folder back and restarting again