Project

General

Profile

Upgrade from 0.9.6 to 1.0.3

Added by Bryan Allen about 14 years ago

I recently upgraded to the 1.0.3 version. The Projects all show up but when I click on the issues tabs I get an internal Error 500. Any ideas? When I create a New issue in the project it will show.


Replies (3)

RE: Upgrade from 0.9.6 to 1.0.3 - Added by Bryan Allen about 14 years ago

Actually the error I get is "An error occured on the page you were trying to access. If you continue to expereince this problem contact your redmine administrator for assictance."

RE: Upgrade from 0.9.6 to 1.0.3 - Added by Felix Schäfer about 14 years ago

Did the database migration go through correctly? Do you have any plugins installed, and if so, are all compatible with 1.0? What is the error trace from log/production.log?

RE: Upgrade from 0.9.6 to 1.0.3 - Added by Bryan Allen about 14 years ago

There were no errors during the Database migration. I have no installed plugins. and here is part of the production log where I logged in and tried to view issues.

Processing AccountController#login (for 192.168.10.135 at 2010-11-05 07:57:49) [POST]
Parameters: {"back_url"=>"http%3A%2F%2Fecbhproject%2Fredmine%2Fprojects", "action"=>"login", "authenticity_token"=>"KSUWoKVxAxLG4cG51bZnLZSBG9gfNa+MX3VVS1UflAI=", "username"=>"ballen", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login »"}
Redirected to http://ecbhproject/redmine/projects
Completed in 94ms (DB: 62) | 302 Found [http://ecbhproject/login]

Processing ProjectsController#index (for 192.168.10.135 at 2010-11-05 07:57:49) [GET]
Parameters: {"action"=>"index", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/index
Completed in 234ms (View: 234, DB: 0) | 200 OK [http://ecbhproject/projects]

Processing ProjectsController#show (for 192.168.10.135 at 2010-11-05 07:57:53) [GET]
Parameters: {"action"=>"show", "id"=>"capumur", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/show
Completed in 641ms (View: 547, DB: 0) | 200 OK [http://ecbhproject/projects/capumur]

Processing IssuesController#index (for 192.168.10.135 at 2010-11-05 07:57:55) [GET]
Parameters: {"project_id"=>"capumur", "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:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'
app/views/issues/_list.rhtml:1:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'
app/views/issues/index.rhtml:63:in `_run_rhtml_app47views47issues47index46rhtml'
app/controllers/issues_controller.rb:84:in `index'
app/controllers/issues_controller.rb:83:in `index'

Rendering C:/webserver/railsapps/Redmine/public/500.html (500 Internal Server Error)

Processing ProjectsController#show (for 192.168.10.135 at 2010-11-05 07:57:58) [GET]
Parameters: {"action"=>"show", "id"=>"capumur", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/show
Completed in 234ms (View: 156, DB: 0) | 200 OK [http://ecbhproject/projects/capumur]

    (1-3/3)