[chef] Re: 500 "Internal Server Error" chef-server-webui version 0.9.12


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: 500 "Internal Server Error" chef-server-webui version 0.9.12
  • Date: Thu, 23 Dec 2010 09:57:55 -0800

Can you show us the corresponding error from the API server?

On Thu, Dec 23, 2010 at 9:29 AM, < "> > wrote:
after upgrade to verison 0.9.12 I got the following error when accessing cookbook from web interface
 
 
[Thu, 23 Dec 2010 18:26:55 +0100] DEBUG: Signing the request as chef-webui
[Thu, 23 Dec 2010 18:26:55 +0100] DEBUG: Sending HTTP Request via GET to localhost:4000/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6         e3
[Thu, 23 Dec 2010 18:26:55 +0100] DEBUG: Streaming download from http://localhost:4000/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6e         3 to tempfile /tmp/chef-rest.6329.0
[Thu, 23 Dec 2010 18:26:55 +0100] ERROR: 500 "Internal Server Error"
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:269:in `streaming_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:284:in `retriable_rest_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:247:in `streaming_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:135:in `fetch'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:216:in `syntax_highlight'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:27:in `__usr__lib__ruby__gems__1_8__gems__chef__server__webui         __0_9_12__app__views__cookbooks__show_html_haml'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:24:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:24:in `__usr__lib__ruby__gems__1_8__gems__chef__server__webui         __0_9_12__app__views__cookbooks__show_html_haml'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:137:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:137:in `render'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:222:in `display'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/cookbooks.rb:64:in `show'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:in `_call_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `catch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:285:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:262:in `_call'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:252:in `call'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:91:in `dispatch_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:69:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:29:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:57:in `process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:305:in `start_at_port'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:138:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:35:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/bin/chef-server-webui:70
/usr/bin/chef-server-webui:19:in `load'
/usr/bin/chef-server-webui:19
 

Huy Le
Tecnología ING DIRECT
Administrador de sistema
Tel: +34 91 206 76 85

Por favor, no imprima este correo si no es necesario.

 

Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.




Archive powered by MHonArc 2.6.16.

§