Internal error on project
Added by Lin Duxe about 11 years ago
Hi everybody,
I have an error when I try to configure a project. When I click on "Configuration" on a project ( french version), I have the following message :
+Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back+
I upgrade the version in August. 2.30 o 2.31
This is my configuration :
Environment:
Redmine version 2.3.1.stable
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
clipboard_image_paste 1.7
redmine_backlogs v1.0.3
redmine_code_review 0.5.0
I have others projects and no error
If a add a new project , I don't have this problem too.
Can you help me to resolve this ?
Regards
Linduxe
Replies (6)
RE: Internal error on project - Added by Martin Denizet (redmine.org team member) about 11 years ago
Hello Linduxe,
Could you include the error in the log please?
To do so, you can do:
tail -f /path/to/redmine/log/production.log
Cause the error to happen again and do a
Ctrl+C
in the shell to stop the tail
from scrolling down.
I guess it might be related to a plugin.
Cheers,
RE: Internal error on project - Added by Lin Duxe about 11 years ago
Hi martin ,
thanks for your response.
First, my file production.log was big : 320 MO. It was impossible to write in.ang I had warnings concerning it size
I removed it.
Now the file is ok .
When I try to reproduce the error, this is what I have with your command
Started GET "/redmine/projects/portail/settings" for 192.168.1.7 at 2013-10-16 18:48:18 +0200
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"portail"}
Current user: linduxe (id=35)
It's all. Yesterday, I restarted the apache service, witouth succes. I didn't restart the server because I have lot of users connected. But I can planify this.
RE: Internal error on project - Added by Martin Denizet (redmine.org team member) about 11 years ago
That is odd, this doesn't look like an Internal Error log entry.
You may want to check your logging configuration.
Without log, it's not possible to establish a diagnostic.
I'd suspect that the error could be linked to the "redmine_backlogs" plugin. You could try an upgrade on a development server.
Cheers,
RE: Internal error on project - Added by Lin Duxe about 11 years ago
Hi !
This is my file production.log, with news datas ! :)
tarted GET "/redmine/projects/portail/settings" for 192.168.1.7 at 2013-10-28 18:00:28 +0100
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"portail"}
Current user: linduxe (id=35)
Rendered projects/_form.html.erb (42.1ms)
Rendered projects/_edit.html.erb (48.6ms)
Rendered projects/settings/_modules.html.erb (4.7ms)
Rendered projects/settings/_members.html.erb (239.1ms)
Rendered projects/settings/_versions.html.erb (49.2ms)
Rendered projects/settings/_issue_categories.html.erb (9.6ms)
Rendered projects/settings/_wiki.html.erb (2.9ms)
Rendered projects/settings/_repositories.html.erb (39.3ms)
Rendered projects/settings/_activities.html.erb (25.6ms)
Rendered plugins/redmine_backlogs/app/views/backlogs/_project_settings.html.erb (17.7ms)
Rendered plugins/redmine_code_review/app/views/code_review_settings/_filters.html.erb (254.2ms)
Rendered plugins/redmine_code_review/app/views/code_review_settings/_show.html.erb (398.7ms)
Rendered common/_tabs.html.erb (868.0ms)
Rendered projects/settings.html.erb within layouts/base (874.2ms)
Completed 500 Internal Server Error in 1074ms
ActionView::Template::Error (undefined method `button_to_remote' for #<#<Class:0xb7a0bc4>:0xb799aa4>):
99: <td><%= text_field_tag('auto_assign_add_filter[expression]', '', :size => 60)%>
100: </td>
101: <td></td>
102: <td style="white-space: nowrap;">
103: <%= button_to_remote(l(:button_apply), :url => {:controller => 'code_review_settings', :action => 'add_filter', :id => Herve Harster},
104: :update => 'auto_assignment_filters', :submit => 'code_review_form', :condition => "is_valid_expression($('auto_assign_add_filter_expression'))") >
105: <= button_to_function(l(:button_cancel), "$('add_filter_form').style.display = 'none'") %>
app/helpers/application_helper.rb:948:in `labelled_form_for'
app/views/common/_tabs.html.erb:24:in `block in app_views_common_tabs_html_erb___1028347094_95318200'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb___1028347094_95318200'
app/helpers/application_helper.rb:271:in `render_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__365451904_95081240'
I noticethat I have upgraded "redmine backlogs" . V1.0.3 to v1.0.6
What do you think about it ?
Regards,
Linduxe
RE: Internal error on project - Added by Martin Denizet (redmine.org team member) about 11 years ago
This log tell me redmine_code_review plugin is not compatible with Redmine 2.x
There was changes with the *_to_remote
methods.
You can disable it for now the time to find a new version.
Cheers
RE: Internal error on project - Added by Lin Duxe about 11 years ago
I installed the last version of redmine_code_review !
It works, thanks Martin .
Regards