Issues and Issue list can not be shown.
Added by Martin Bagge over 14 years ago
I run a small Redmine setup and after a recent update of the Subversion trunk I can not get the issue list to show, instead I get a 500 error (see below for log). As far as I can tell right now it is only the issues that are dead.
I haven't got too much RnR experience but I'll answer any follow ups if any. Try to help me along with what commands to use.
The site is accessible via the net at http://redmine.sis.bthstudent.se but there are no interesting output at the error page.
Processing IssuesController#index (for 90.224.34.234 at 2010-04-02 01:37:23) [GET] Parameters: {"project_id"=>"drift", "action"=>"index", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/index.rhtml ActionView::TemplateError (undefined method `-' for nil:NilClass) on line #16 of app/views/issues/_list.rhtml: 13: </tr></thead> 14: <% previous_group = false %> 15: <tbody> 16: <% issue_list(issues) do |issue, level| -%> 17: <% if @query.grouped? && (group = @query.group_by_column.value(issue)) != previous_group %> 18: <% reset_cycle %> 19: <tr class="group open"> app/helpers/issues_helper.rb:28:in `issue_list' app/helpers/issues_helper.rb:23:in `each' app/helpers/issues_helper.rb:23:in `issue_list' app/views/issues/_list.rhtml:16 app/views/issues/_list.rhtml:1:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query' app/views/issues/index.rhtml:62:in `_run_rhtml_app47views47issues47index46rhtml' app/controllers/issues_controller.rb:80 app/controllers/issues_controller.rb:79:in `index' /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/railz/application_spawner.rb:400:in `start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:349: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/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154: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 Rendering /var/lib/sis/redmine/public/500.html (500 Internal Server Error)
I run this on Debian with Apache and mod_pasenger, here is my other data.
About your application's environment Ruby version 1.8.7 (i486-linux) RubyGems version 1.3.5 Rack version 1.0 Rails version 2.3.5 Active Record version 2.3.5 Active Resource version 2.3.5 Action Mailer version 2.3.5 Active Support version 2.3.5 Application root /var/lib/sis/redmine Environment production Database adapter mysql Database schema version 20091220184736 About your Redmine plugins Redmine Repo Pygments plugin 0.0.2
About the SVN co if that would matter.
brigham:/var/lib/sis/redmine# svn info Path: . URL: svn://rubyforge.org/var/svn/redmine/trunk Repository Root: svn://rubyforge.org/var/svn/redmine Repository UUID: e93f8b46-1217-0410-a6f0-8f06a7374b81 Revision: 3625 Node Kind: directory Schedule: normal Last Changed Author: jplang Last Changed Rev: 3625 Last Changed Date: 2010-03-29 21:50:00 +0200 (Mon, 29 Mar 2010)
Replies (5)
RE: Issues and Issue list can not be shown. - Added by Felix Schäfer over 14 years ago
Just to make sure: have you restarted redmine after the upgrade (with passenger, either touch REDMINE/tmp/restart.txt
or /etc/init.d/apache reload
).
RE: Issues and Issue list can not be shown. - Added by Martin Bagge over 14 years ago
Yes. I did restart Apache and that solved another problem where some icons had moved to CSS properties.
RE: Issues and Issue list can not be shown. - Added by Martin Bagge over 14 years ago
Updated trunk to r3625 and restarted apache. Same issue still stays (even in another browser and stuff - no cache issue at the client).
RE: Issues and Issue list can not be shown. - Added by Felix Schäfer over 14 years ago
Did you run the migrations too? It seems the database schema version is a little old.
RE: Issues and Issue list can not be shown. - Added by Martin Bagge over 14 years ago
No I didn't but now I did and restarted apache and all is working again. I think. At least the issue list is showing. Thanks alot!