Project

General

Profile

Actions

Defect #7150

closed

NoMethodError - Update 0.8 to 1.0

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-21
Due date:
% Done:

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I've upgraded redmine from 0.8 to 1.0.. But I've problems to run the new version.. I've also done the migrations AND the migrations for plugins..

The commands were:

vs2052239:~/docs$ rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production
vs2052239:~/docs$ rake db:migrate_plugins RAILS_ENV=production

The error-message on Welcome-Screen is:

Showing app/views/layouts/base.rhtml where line #41 raised:

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<=>

Extracted source (around line #41):

38:         <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
39:         <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
40:         <% end %>
41:         <%= render_project_jump_box %>
42:     </div>
43:     
44:     <h1><%= page_header_title %></h1>

RAILS_ROOT: /var/www/projects/redmine-1.0

My enviroment is:

vs2052239:~/docs$ RAILS_ENV="production" script/about
Ruby version              1.8.7 (i486-linux)
RubyGems version          1.3.6
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/www/...../redmine-1.0
Environment               production
Database adapter          mysql
Database schema version   101

Thanks for any help..

Actions

Also available in: Atom PDF