Project

General

Profile

Actions

Defect #13721

closed

2.2 --> 2.3 Internal server error

Added by Kevin Gallagher about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

After upgrading from 2.2 to 2.3 (I did everything properly, I've upgraded Redmine many times before) I'm experiencing 500 internal server error when I try to load issues and other pages. Can anyone help me? Here is the log:

Completed 500 Internal Server Error in 623ms

ActionView::Template::Error (undefined method `watch_path' for #<#<Class:0x7f0d153f1140>:0x7f0d153eaf70>):
    1: <div class="contextual">
    2: <%= link_to l(:button_update), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
    3: <%= link_to l(:button_log_time), new_issue_time_entry_path(@issue), :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
    4: <%= watcher_link(@issue, User.current) %>
    5: <%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:add_issues, @project) %>
    6: <%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if User.current.allowed_to?(:delete_issues, @project) %>
    7: </div>
  app/helpers/watchers_helper.rb:36:in `watcher_link'
  app/views/issues/_action_menu.html.erb:4:in `_app_views_issues__action_menu_html_erb___1107709118_69847083572720'
  app/views/issues/show.html.erb:1:in `_app_views_issues_show_html_erb__1022581627_69847083739660'
  app/controllers/issues_controller.rb:119:in `show'
  app/controllers/issues_controller.rb:116:in `show'

Started GET "/" for 24.62.204.150 at Tue Apr 09 06:31:19 -0400 2013
Processing by WelcomeController#index as HTML
  Current user: kevin (id=92)
  Rendered news/_news.html.erb (90.5ms)
  Rendered welcome/index.html.erb within layouts/base (107.8ms)
Completed 200 OK in 159ms (Views: 118.6ms | ActiveRecord: 12.5ms)
Started GET "/stylesheets/jquery/jquery-ui-1.8.21" for 24.62.204.150 at Tue Apr 09 06:31:20 -0400 2013

ActionController::RoutingError (No route matches [GET] "/stylesheets/jquery/jquery-ui-1.8.21"):
  actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
  rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
  rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
  rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
  rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/application.rb:223:in `call'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `send'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
  /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:118:in `run'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:65:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:58:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:41:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:159:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/phusion_passenger/passenger-spawn-server:61

Started GET "/news/56" for 24.62.204.150 at Tue Apr 09 06:31:21 -0400 2013
Processing by NewsController#show as HTML
  Parameters: {"id"=>"56"}
  Current user: kevin (id=92)
  Rendered news/show.html.erb within layouts/base (30.6ms)
Completed 500 Internal Server Error in 51ms

ActionView::Template::Error (undefined method `watch_path' for #<#<Class:0x7f0d15157e98>:0x7f0d15151c50>):
    1: <div class="contextual">
    2: <%= watcher_link(@news, User.current) %>
    3: <%= link_to(l(:button_edit),
    4:       edit_news_path(@news),
    5:       :class => 'icon icon-edit',
  app/helpers/watchers_helper.rb:36:in `watcher_link'
  app/views/news/show.html.erb:2:in `_app_views_news_show_html_erb__1954377271_69847082493700'

Started GET "/my/page" for 24.62.204.150 at Tue Apr 09 06:31:24 -0400 2013
Processing by MyController#page as HTML
  Current user: kevin (id=92)
  Rendered issues/_list_simple.html.erb (12.8ms)
  Rendered my/blocks/_issuesassignedtome.html.erb (137.4ms)
  Rendered my/blocks/_timelog.html.erb (217.7ms)
  Rendered issues/_list_simple.html.erb (23.1ms)
  Rendered my/blocks/_issuesreportedbyme.html.erb (112.9ms)
  Rendered issues/_list_simple.html.erb (95.6ms)
  Rendered my/blocks/_issueswatched.html.erb (117.9ms)
  Rendered my/page.html.erb within layouts/base (665.0ms)
Completed 200 OK in 683ms (Views: 666.8ms | ActiveRecord: 12.5ms)
Started GET "/stylesheets/jquery/jquery-ui-1.8.21" for 24.62.204.150 at Tue Apr 09 06:31:25 -0400 2013

ActionController::RoutingError (No route matches [GET] "/stylesheets/jquery/jquery-ui-1.8.21"):
  actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
  rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
  rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
  rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
  rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/application.rb:223:in `call'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `send'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
  /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:118:in `run'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:65:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:58:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:41:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:159:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/phusion_passenger/passenger-spawn-server:61

Started GET "/issues/5494" for 24.62.204.150 at Tue Apr 09 06:31:27 -0400 2013
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"5494"}
  Current user: kevin (id=92)
  Rendered issues/_action_menu.html.erb (102.9ms)
  Rendered issues/show.html.erb within layouts/base (103.2ms)
Completed 500 Internal Server Error in 160ms

ActionView::Template::Error (undefined method `watch_path' for #<#<Class:0x7f0d153f1140>:0x7f0d150336e8>):
    1: <div class="contextual">
    2: <%= link_to l(:button_update), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
    3: <%= link_to l(:button_log_time), new_issue_time_entry_path(@issue), :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
    4: <%= watcher_link(@issue, User.current) %>
    5: <%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:add_issues, @project) %>
    6: <%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if User.current.allowed_to?(:delete_issues, @project) %>
    7: </div>
  app/helpers/watchers_helper.rb:36:in `watcher_link'
  app/views/issues/_action_menu.html.erb:4:in `_app_views_issues__action_menu_html_erb___1107709118_69847083572720'
  app/views/issues/show.html.erb:1:in `_app_views_issues_show_html_erb__1022581627_69847083739660'
  app/controllers/issues_controller.rb:119:in `show'
  app/controllers/issues_controller.rb:116:in `show'

Started GET "/issues/3931" for 24.62.204.150 at Tue Apr 09 06:31:30 -0400 2013
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"3931"}
  Current user: kevin (id=92)
  Rendered issues/_action_menu.html.erb (109.7ms)
  Rendered issues/show.html.erb within layouts/base (110.8ms)
Completed 500 Internal Server Error in 170ms

ActionView::Template::Error (undefined method `watch_path' for #<#<Class:0x7f0d153f1140>:0x7f0d150d60a0>):
    1: <div class="contextual">
    2: <%= link_to l(:button_update), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
    3: <%= link_to l(:button_log_time), new_issue_time_entry_path(@issue), :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
    4: <%= watcher_link(@issue, User.current) %>
    5: <%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:add_issues, @project) %>
    6: <%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if User.current.allowed_to?(:delete_issues, @project) %>
    7: </div>
  app/helpers/watchers_helper.rb:36:in `watcher_link'
  app/views/issues/_action_menu.html.erb:4:in `_app_views_issues__action_menu_html_erb___1107709118_69847083572720'
  app/views/issues/show.html.erb:1:in `_app_views_issues_show_html_erb__1022581627_69847083739660'
  app/controllers/issues_controller.rb:119:in `show'
  app/controllers/issues_controller.rb:116:in `show'

Actions

Also available in: Atom PDF