Can't open issue internal error 500

Added by Tom Helscher 5 months ago

I am really new to redmine and ruby on rails...

Error from production log:

Completed 500 Internal Server Error in 274ms (ActiveRecord: 156.8ms)

ActionView::Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess):
71: rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
72: end
73: end >
74: <
= render_half_width_custom_fields_rows(@issue) >
75: <
= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
76: </div>
77:

My Environment:

Redmine version 4.0.5.stable
Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu]
Rails version 5.2.3
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.13.0
Cvs 1.12.13
Bazaar 3.0.2
Git 2.25.1
Filesystem
Redmine plugins:
easy_gantt 1.12
redmine_checklists 3.1.18
redmine_default_assign 0.6
redmine_image_clipboard_paste 3.3.0
redmine_questions 1.0.2
redmine_tags 4.0.0
redmine_theme_changer 0.4.0
wiki_graphviz_plugin 0.8.0

RubyGems Environment:
- RUBYGEMS VERSION: 3.1.2
- RUBY VERSION: 2.7.0 (2019-12-25 patchlevel 0) [x86_64-linux-gnu]
- INSTALLATION DIRECTORY: /var/lib/gems/2.7.0
- USER INSTALLATION DIRECTORY: /root/.gem/ruby/2.7.0
- RUBY EXECUTABLE: /usr/bin/ruby2.7
- GIT EXECUTABLE: /usr/bin/git
- EXECUTABLE DIRECTORY: /usr/local/bin
- SPEC CACHE DIRECTORY: /root/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/2.7.0
- /root/.gem/ruby/2.7.0
- /usr/lib/ruby/gems/2.7.0
- /usr/share/rubygems-integration/2.7.0
- /usr/share/rubygems-integration/all
- /usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["https://rubygems.org/"]
- "gem" => "--document=yri"
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /snap/bin

Replies (1)

RE: Can't open issue internal error 500 - Added by Liane Hampe 5 months ago

Hi Tom

Welcome in the Redmine community!

It's great that you send all required information. I would guess that the error comes along with one of your plugins.

Therefore, I would recommend you first to move out all plugins from your Redmine instance. Second, you should move one plugin after another back into Redmine in order to find out which plugin causes the error.

With this information at hand it might be easier to find the real reason for your problem when you post your findings here.

Best Regards
Liane

(1-1/1)