Internal error

Added by maxim zaripov about 1 year ago

Hello, friend!
I have problem.
I am installed redmine 3.4 and mariadb 5.5. I did and created dump sql in new database.

It's Work.
Users are relevant, the tasks created are all present (redmine2.png). When you try to enter the task, it gives an error(redmine1.png)
"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."

redmine1.PNG (9.54 KB)

redmine2.PNG (41.2 KB)

Replies (4)

RE: Internal error - Added by Go MAEDA about 1 year ago

Maybe the detail of the error is logged in the log/production.log. Could you paste it?

RE: Internal error - Added by maxim zaripov about 1 year ago

!Started GET "/issues/18167" for at 2019-06-21 11:48:22 +0300
Processing by IssuesController#show as HTML
Parameters: {"id"=>"18167"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (2.8ms)
Rendered issue_relations/_form.html.erb (0.6ms)
Rendered issues/_relations.html.erb (0.9ms)
Rendered issues/_history.html.erb (3.5ms)
Rendered issues/_action_menu.html.erb (1.1ms)
Rendered issues/_attributes.html.erb (3.3ms)
Rendered issues/_form.html.erb (15.2ms)
Rendered issues/_edit.html.erb (15.5ms)
Rendered issues/show.html.erb within layouts/base (34.3ms)
Completed 500 Internal Server Error in 538ms (ActiveRecord: 492.8ms)

ActionView::Template::Error (undefined method `accessor' for #<ActiveRecord::Type::Value:0x00007fed253b7558>):
15: <% end >
17: <
if @issue.safe_attribute? 'assigned_to_id' >
18: <p><
= :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), :include_blank => true, :required => @issue.required_attribute?('assigned_to_id') ></p>
19: <
end >
21: <
if @issue.safe_attribute?('category_id') && @issue.project.issue_categories.any? %>
app/models/role.rb:229:in `permissions_all_trackers'
app/models/role.rb:238:in `permissions_all_trackers?'
app/models/role.rb:244:in `permissions_tracker?'
app/models/project.rb:559:in `block in assignable_users'
app/models/project.rb:559:in `assignable_users'
app/models/issue.rb:927:in `assignable_users'
app/views/issues/_attributes.html.erb:18:in `block in app_views_issues_attributes_html_erb___682704466992368240_70328248405080'
app/helpers/application_helper.rb:1197:in `labelled_fields_for'
app/views/issues/_attributes.html.erb:1:in `_app_views_issues__attributes_html_erb___682704466992368240_70328248405080'
app/views/issues/_form.html.erb:43:in `block in app_views_issues_form_html_erb__4241967776747092323_41085180'
app/helpers/application_helper.rb:1197:in `labelled_fields_for'
app/views/issues/_form.html.erb:1:in `_app_views_issues__form_html_erb__4241967776747092323_41085180'
app/views/issues/_edit.html.erb:8:in `block in app_views_issues_edit_html_erb___3133428117017170002_37341380'
app/helpers/application_helper.rb:1190:in `labelled_form_for'
app/views/issues/_edit.html.erb:1:in `_app_views_issues__edit_html_erb___3133428117017170002_37341380'
app/views/issues/show.html.erb:143:in `_app_views_issues_show_html_erb__3201281631344903642_70328085301040'
app/controllers/issues_controller.rb:107:in `block (2 levels) in show'
app/controllers/issues_controller.rb:100:in `show'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

RE: Internal error - Added by maxim zaripov about 1 year ago

Some tasks open correctly

RE: Internal error - Added by maxim zaripov about 1 year ago

not relevant. I deleted this system