Cannot display Trackers
Added by Arnold Kühnle 5 months ago
Hello,
After Update form 5.0.5 to 5.1.2 when clicking on "Administration->Tracker" i get the followin error:
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.
These are the LOG-File entries at that time.
Rendered trackers/index.html.erb within layouts/admin (Duration: 16.0ms | Allocations: 5942)
I, [2024-06-27T14:19:45.976343 #237493] INFO -- : [3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] Rendered layout layouts/admin.html.erb (Duration: 16.1ms | Allocations: 5970)
I, [2024-06-27T14:19:45.976576 #237493] INFO -- : [3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] Completed 500 Internal Server Error in 27ms (ActiveRecord: 4.3ms | Allocations: 8073)
F, [2024-06-27T14:19:45.977692 #237493] FATAL -- : [3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99]
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] ActionView::Template::Error (undefined method `name' for nil:NilClass):
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 17: <% for tracker in @trackers >
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 18: <tr>
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 19: <td class="name"><= link_to tracker.name, edit_tracker_path(tracker) ></td>
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 20: <td><= tracker.default_status.name ></td>
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 21: <td class="description"><= tracker.description ></td>
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 22: <td>
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] 23: < unless tracker.workflow_rules.exists? >
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99]
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] app/views/trackers/index.html.erb:20
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] app/views/trackers/index.html.erb:17:in `each'
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] app/views/trackers/index.html.erb:17
[3f5690bc-a2b7-45e7-bc3e-5e10d2c52b99] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
I, [2024-06-27T14:19:50.397606 #237493] INFO -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] Started GET "/trackers" for 192.168.20.137 at 2024-06-27 14:19:50 +0200
I, [2024-06-27T14:19:50.398500 #237493] INFO -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] Processing by TrackersController#index as HTML
I, [2024-06-27T14:19:50.403497 #237493] INFO -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] Current user: arnold.kuehnle@tricat.net (id=240)
I, [2024-06-27T14:19:50.423616 #237493] INFO -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] Rendered trackers/index.html.erb within layouts/admin (Duration: 16.3ms | Allocations: 5938)
I, [2024-06-27T14:19:50.423715 #237493] INFO -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] Rendered layout layouts/admin.html.erb (Duration: 16.5ms | Allocations: 5966)
I, [2024-06-27T14:19:50.423961 #237493] INFO -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] Completed 500 Internal Server Error in 25ms (ActiveRecord: 4.1ms | Allocations: 8069)
F, [2024-06-27T14:19:50.425037 #237493] FATAL -- : [0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3]
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] ActionView::Template::Error (undefined method `name' for nil:NilClass):
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 17: < for tracker in @trackers >
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 18: <tr>
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 19: <td class="name"><= link_to tracker.name, edit_tracker_path(tracker) ></td>
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 20: <td><= tracker.default_status.name ></td>
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 21: <td class="description"><= tracker.description ></td>
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 22: <td>
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] 23: < unless tracker.workflow_rules.exists? %>
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3]
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] app/views/trackers/index.html.erb:20
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] app/views/trackers/index.html.erb:17:in `each'
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] app/views/trackers/index.html.erb:17
[0ec8b6c7-f5bb-4985-9d71-30ce24c59ec3] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
I can look at the two files intex.html.erb and admin.html.erb.
Unfortunately i cannot do anything about the error ..
Can anybody help me any further?
Bye, Arnold
Replies (1)
RE: Cannot display Trackers - Added by Arnold Kühnle 5 months ago
Description: Debian GNU/Linux 11 (bullseye)
Environment:
Redmine version 5.1.2.stable
Ruby version 2.7.4-p191 (2021-07-07) [x86_64-linux-gnu]
Rails version 6.1.7.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Git 2.30.2
Filesystem
Redmine plugins:
additional_tags 3.0.9
additionals 3.0.9
easy_gantt 2.0
easy_gantt_pro 2.0
redmine_agile 1.6.6
redmine_checklists 3.1.22
redmine_ckeditor 1.2.4
redmine_drive 1.2.0
redmine_logs 0.3.0
redmine_questions 1.0.4
redmine_resources 2.0.0
redmine_x_lightbox2 1.0.0