Project

General

Profile

Redmine 500 Internal error Issues

Added by Shubham Salunkhe almost 6 years ago

Hi

I am using redmine and some of my project issues when clicked show me a 500 internal 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.

Error.odt (118 KB) Error.odt

Replies (3)

RE: Redmine 500 Internal error Issues - Added by Martin Denizet (redmine.org team member) almost 6 years ago

Hello,
Please attach relevant log entries.
To do so:

tail -f /opt/redmine/log/production.log # Replace path with the one relevant to your install

Then reload the page giving you the error.
You should have the complete error trace in your terminal now.
Cheers,

RE: Redmine 500 Internal error Issues - Added by Shubham Salunkhe almost 6 years ago

Hi Team,

Please see the error.

Started GET "/reports" for 192.168.106.156 at 2018-04-09 19:25:39 +0530

ActionController::RoutingError (uninitialized constant DchbxreportsController):
  activesupport (4.2.8) lib/active_support/inflector/methods.rb:261:in `const_get'
  activesupport (4.2.8) lib/active_support/inflector/methods.rb:261:in `block in constantize'
  activesupport (4.2.8) lib/active_support/inflector/methods.rb:259:in `each'
  activesupport (4.2.8) lib/active_support/inflector/methods.rb:259:in `inject'
  activesupport (4.2.8) lib/active_support/inflector/methods.rb:259:in `constantize'
  actionpack (4.2.8) lib/action_dispatch/routing/route_set.rb:70:in `controller_reference'
  actionpack (4.2.8) lib/action_dispatch/routing/route_set.rb:60:in `controller'
  actionpack (4.2.8) lib/action_dispatch/routing/route_set.rb:39:in `serve'
  actionpack (4.2.8) lib/action_dispatch/journey/router.rb:43:in `block in serve'
  actionpack (4.2.8) lib/action_dispatch/journey/router.rb:30:in `each'
  actionpack (4.2.8) lib/action_dispatch/journey/router.rb:30:in `serve'
  actionpack (4.2.8) lib/action_dispatch/routing/route_set.rb:817:in `call'
  rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'
  request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'
  rack (1.6.9) lib/rack/etag.rb:24:in `call'
  rack (1.6.9) lib/rack/conditionalget.rb:25:in `call'
  rack (1.6.9) lib/rack/head.rb:13:in `call'
  actionpack-xml_parser (1.0.2) lib/action_dispatch/xml_params_parser.rb:16:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/flash.rb:260:in `call'
  rack (1.6.9) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.6.9) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/cookies.rb:560:in `call'
  activerecord (4.2.8) lib/active_record/query_cache.rb:36:in `call'
  activerecord (4.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (4.2.8) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
  activesupport (4.2.8) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
  activesupport (4.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.2.8) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.2.8) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.2.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.2.8) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.2.8) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.2.8) lib/rails/rack/logger.rb:20:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.9) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.9) lib/rack/runtime.rb:18:in `call'
  activesupport (4.2.8) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  actionpack (4.2.8) lib/action_dispatch/middleware/static.rb:120:in `call'
  rack (1.6.9) lib/rack/content_length.rb:15:in `call'
  rack (1.6.9) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.8) lib/rails/engine.rb:518:in `call'
  railties (4.2.8) lib/rails/application.rb:165:in `call'
  railties (4.2.8) lib/rails/railtie.rb:194:in `public_send'
  railties (4.2.8) lib/rails/railtie.rb:194:in `method_missing'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'

Thanks,
Shubham

RE: Redmine 500 Internal error Issues - Added by Martin Denizet (redmine.org team member) almost 6 years ago

This is a routing issue in the 3rd party plugin redmine_reports.
I suggest you to try updating or re-installing the plugin. Also, make sure the name of the directory containing the plugin files is redmine_reports and not redmine_reports_master for example.
I note that the last version of the plugin is 2 years old. Maybe it suffers a compatibility issue.
You could also try contacting the plugin author about that.
Cheers,

    (1-3/3)