Actions
Defect #19051
closedUnable to load Projects
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
For the past few weeks (ever since a Ruby update) I've been unable to do anything with my Projects. I am still able to view my Home and Administrative panels, but every time I try to view a Project I get an "Internal Error".
The CLI output (from Redmine launch up to and including the error) is as follows:
/usr/lib/ruby/gems/2.2.0/gems/activesupport-3.2.21/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now => Booting WEBrick => Rails 3.2.21 application starting in production on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2015-02-07 01:40:15] INFO WEBrick 1.3.1 [2015-02-07 01:40:15] INFO ruby 2.2.0 (2014-12-25) [x86_64-linux] [2015-02-07 01:40:15] INFO WEBrick::HTTPServer#start: pid=20177 port=3000 /usr/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/associations/has_many_association.rb:53: warning: circular argument reference - reflection /usr/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/associations/has_many_association.rb:57: warning: circular argument reference - reflection /usr/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/associations/has_many_association.rb:61: warning: circular argument reference - reflection /usr/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/associations/has_many_association.rb:80: warning: circular argument reference - reflection Started GET "/" for 127.0.0.1 at 2015-02-07 01:40:18 -0500 Processing by WelcomeController#index as HTML Current user: robert (id=5) Rendered welcome/index.html.erb within layouts/base (62.0ms) Completed 200 OK in 178.8ms (Views: 103.4ms | ActiveRecord: 19.9ms) Started GET "/projects/test" for 127.0.0.1 at 2015-02-07 01:40:20 -0500 Processing by ProjectsController#show as HTML Parameters: {"id"=>"test"} Current user: robert (id=5) Rendered projects/_members_box.html.erb (0.4ms) Rendered projects/_sidebar.html.erb (1.3ms) Rendered projects/show.html.erb within layouts/base (12.2ms) Completed 500 Internal Server Error in 113.2ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 42: <% end %> 43: 44: <h1><%= page_header_title %></h1> 45: 46: <% if display_main_menu?(@project) %> 47: <div id="main-menu"> 48: <%= render_main_menu(@project) %> lib/redmine.rb:246:in `block (2 levels) in <top (required)>' lib/redmine/menu_manager.rb:199:in `call' lib/redmine/menu_manager.rb:199:in `allowed_node?' lib/redmine/menu_manager.rb:166:in `block in menu_items_for' lib/redmine/menu_manager.rb:165:in `each' lib/redmine/menu_manager.rb:165:in `menu_items_for' lib/redmine/menu_manager.rb:90:in `render_menu' lib/redmine/menu_manager.rb:80:in `render_main_menu' app/views/layouts/base.html.erb:45:in `_app_views_layouts_base_html_erb__3144639456856195886_69943781430900' app/controllers/projects_controller.rb:163:in `show'
I launch it using this desktop shortcut:
#!/bin/bash cd /usr/share/webapps/redmine sudo ruby script/rails server webrick -e production
I am running Arch Linux (up-to-date) and followed the ArchWiki instructions for a single-user, non-RVM installation. It has worked fine for nearly 6 months now, up until 2-3 weeks ago when Ruby updated. Since then I haven't been able to use the glory that is Redmine.
I am not a Ruby guy, else I would be more helpful.
Related issues
Actions