Forums » Problems or support »
Internal Error
Added by Elivane Almeida over 9 years ago
First sorry for the mistakes of English.
I performed the installation of the plugin and performed step by step as the link https://redmine.ociotec.com/projects/redmine-plugin-scrum/wiki guidelines, but unfortunately it still fails.
By enabling the scrum module in the project, this error appears "Internal Error".
In the production log file contained the following information:
C:/Redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1-x86-mingw32/lib/thin/runner.rb:156:in `run!'
C:/Redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1-x86-mingw32/bin/thin:6:in `<top (required)>'
C:/Redmine/apps/redmine/htdocs/bin/thin:16:in `load'
C:/Redmine/apps/redmine/htdocs/bin/thin:16:in `<main>'
...
No close tag for /lists/list
Line: 4
Position: 115
Last 80 unconsumed characters:
Output was:
<lists>
<list
path="https://redmine.fucapi.br/svn/repGSOFT/trunk/GSOFT">
Rendered common/error.html.erb within layouts/base (0.0ms)
Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.0ms)
Completed 404 Not Found in 90682.8ms (Views: 31.2ms | ActiveRecord: 0.0ms)
Started GET "/redmine/projects" for 170.10.84.14 at 2015-05-28 14:34:08 -0300
Processing by ProjectsController#index as HTML
Current user: elivanealmeida (id=6)
Rendered projects/index.html.erb within layouts/base (0.0ms)
Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.0ms)
Completed 200 OK in 31.2ms (Views: 31.2ms | ActiveRecord: 0.0ms)
Started GET "/redmine/projects/testeproject1" for 170.10.84.14 at 2015-05-28 14:34:09 -0300
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"testeproject1"}
Current user: elivanealmeida (id=6)
Rendered projects/_members_box.html.erb (0.0ms)
Rendered projects/_sidebar.html.erb (0.0ms)
Rendered projects/show.html.erb within layouts/base (15.6ms)
Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.0ms)
Completed 200 OK in 124.8ms (Views: 78.0ms | ActiveRecord: 15.6ms)
Started GET "/redmine/projects/testeproject1/issues/new" for 170.10.84.14 at 2015-05-28 14:34:11 -0300
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"testeproject1"}
Current user: elivanealmeida (id=6)
DEPRECATION WARNING: You're trying to create an attribute `sprint_id'. Writing arbitrary attributes on a model is deprecated. Please just use `attr_writer` etc. (called from add_default_sprint at C:/Redmine/apps/redmine/htdocs/plugins/scrum/lib/scrum/issues_controller_patch.rb:26)
Rendered issues/_form_custom_fields.html.erb (93.6ms)
Rendered issues/_attributes.html.erb (140.4ms)
Rendered plugins/scrum/app/views/scrum_hooks/issues/_form.html.erb (15.6ms)
Rendered issues/_form.html.erb (187.2ms)
Rendered issues/new.html.erb within layouts/base (202.8ms)
Completed 500 Internal Server Error in 483.6ms
ActionView::Template:: Error (Mysql2::Error: Table 'bitnami_redmine.sprints' doesn't exist: SHOW FULL FIELDS FROM `sprints`):
3: <div class="splitcontentleft">
4: <p>
5: <%- sprints = @issue.project.sprints_and_product_backlog
6: options = options_for_select(sprints.collect {|sprint| [sprint.name, sprint.id]}, @issue.sprint_id) ->
7: <= form.select :sprint_id, options, :include_blank => true %>
8: </p>
9: </div>
lib/redmine/hook.rb:111:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:158:in `call_hook'
app/views/issues/_form.html.erb:44:in `block in app_views_issues_form_html_erb___40885214_33040656'
app/helpers/application_helper.rb:1063:in `labelled_fields_for'
app/views/issues/_form.html.erb:1:in `_app_views_issues__form_html_erb___40885214_33040656'
app/views/issues/new.html.erb:11:in `block in app_views_issues_new_html_erb__872250530_32334036'
app/helpers/application_helper.rb:1056:in `labelled_form_for'
app/views/issues/new.html.erb:5:in `_app_views_issues_new_html_erb___872250530_32334036'
app/controllers/issues_controller.rb:143:in `block (2 levels) in new'
app/controllers/issues_controller.rb:142:in `new'
------------------------------------------------
Environment:
Redmine version 2.6.0.stable
Ruby version 2.0.0-p594 (2014-10-27) [i386-mingw32]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.5
Git 1.9.5
Filesystem
-----------------------------------------------------
Please if anyone has any idea how to solve the problem thank you very much.
I enjoyed both this plugin. :(
production.log (1.69 MB) production.log |
Replies (5)
RE: Internal Error - Added by Emilio González Montaña over 9 years ago
I trhink you miss migration step, review WIKI instructions.
RE: Internal Error - Added by Elivane Almeida over 9 years ago
True .. sorry ... :)
I ran the command but the error appears attached.
RE: Internal Error - Added by Elivane Almeida over 9 years ago
Hi...
Performed the command line: rake redmine:plugins:migrate RAILS_ENV=production
And this error appears.
rake aborted!
You have already activated rake 10.1.0, but your Gemfile requires rake 10.4.2.
Prepending `bundle exec` to your command may solve this.
C:/Redmine/apps/redmine/htdocs/config/boot.rb:8:in `<top (required)>'
C:/Redmine/apps/redmine/htdocs/config/application.rb:1:in `<top (required)>'
C:/Redmine/apps/redmine/htdocs/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
You know how I can fix?
Thanks.
RE: Internal Error - Added by Jürgen Schreier over 9 years ago
I guess I can help you with that:
there are 2 possibilities to fix this:
1. go to the root-dir of your redmine installation and (look for the file "Gemfile") run: 'RAILS_ENV=production bundle exec rake redmine:plugins:migrate'
2. go to the root-dir of your redmine installation and (look for the file "Gemfile"), delete file "Gemfile.lock" and run: 'RAILS_ENV=production bundle install'.
After "bundle install" finishes successfully run 'RAILS_ENV=production rake redmine:plugins:migrate'
you can start with solution 1. for its quicker. If unseccessful try solution 2.
best regards
Jürgen
RE: Internal Error - Added by Elivane Almeida over 9 years ago
Thank you Jürgen Schreier
Problem solved. ;)