Named route not found: new_node - (Merb::Router::GenerationError)

Hi guys,

I login to the 4040 web ui and got a merb page showing the “generation error
500”, and then I check the log on the chef server and find this:


DEBUG: Sending HTTP Request via GET to
localhost:5984/chef/_design/nodes/_view/all_id
merb : worker (port 4000) ~ {:after_filters_time=>2.1e-05,
:dispatch_time=>0.109564, :before_filters_time=>0.005522,
:action_time=>0.109166}
merb : worker (port 4000) ~

merb : worker (port 4040) ~ Named route not found: new_node -
(Merb::Router::GenerationError)
/usr/lib/ruby/gems/1.8/gems/merb-slices-1.1.0/lib/merb-slices/controller_mixin.rb:153:in
slice_url' /usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.8.6/app/views/nodes/_navigation.html.haml:3:in__usr__lib__ruby__gems__1_8__gems__chef__server__webui__0_8_6__app__views__nodes____navigation_html_haml’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:326:in
send' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:326:inpartial’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:321:in
map' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.0/lib/merb-core/controller/mixins/render.rb:321:inpartial’


Do you know why this happened?

I’m using chef 0.8.6.

Thanks
Dikang.

On Thu, Apr 1, 2010 at 9:07 PM, Dikang Gu dikang85@gmail.com wrote:

I login to the 4040 web ui and got a merb page showing the "generation error
500", and then I check the log on the chef server and find this:

http://tickets.opscode.com/browse/CHEF-1072

Install merb=1.0.15, uninstall merb 1.1.0, restart everything.

From irclogs:
gem install merb-core merb-assets merb-haml merb-helpers
merb-param-protection merb-slices -v=1.0.15
gem uninstall -I merb-core merb-assets merb-haml merb-helpers
merb-param-protection merb-slices -v=1.1.0

yes, it works, thanks!

On Fri, Apr 2, 2010 at 12:16 PM, Bryan McLellan btm@loftninjas.org wrote:

On Thu, Apr 1, 2010 at 9:07 PM, Dikang Gu dikang85@gmail.com wrote:

I login to the 4040 web ui and got a merb page showing the "generation
error
500", and then I check the log on the chef server and find this:

http://tickets.opscode.com/browse/CHEF-1072

Install merb=1.0.15, uninstall merb 1.1.0, restart everything.

From irclogs:
gem install merb-core merb-assets merb-haml merb-helpers
merb-param-protection merb-slices -v=1.0.15
gem uninstall -I merb-core merb-assets merb-haml merb-helpers
merb-param-protection merb-slices -v=1.1.0