Webui 500 error


#1

I just build a new server on centos 6.5 with chef-server-11.1.3-1.el6.x86_64.rpm. When trying to log into the webui, I get “We’re sorry, but something went wrong.” Looking into /var/log/chef-server/chef-server-webui/current I found the attached error log. I noticed there is a 11.1.4-1 release, I upgraded to that version but the results are still the same. What would be causing this and how to I fix it?

Thanks,
Jordan

2014-08-18_14:48:55.10333 Started POST “/users/login_exec” for 127.0.0.1 at 2014-08-18 10:48:55 -0400
2014-08-18_14:48:55.14341 Processing by UsersController#login_exec as HTML
2014-08-18_14:48:55.14352 Parameters: {“utf8”=>“✓”, “authenticity_token”=>“1N8UheAJ9/+KsxMYzohGyKuq2+kWPq+qDN0aMD+ZW80=”, “name”=>“admin”, “commit”=>“login”, “password”=>"[FILTERED]"}
2014-08-18_14:48:55.16591 [2014-08-18T10:48:55-04:00] ERROR: 401 "Unauthorized"
2014-08-18_14:48:55.16594 /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:2633:in error!' 2014-08-18_14:48:55.16594 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:199:inblock in raw_http_request’
2014-08-18_14:48:55.16595 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:280:in retriable_rest_request' 2014-08-18_14:48:55.16595 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:164:inraw_http_request’
2014-08-18_14:48:55.16596 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:158:in api_request' 2014-08-18_14:48:55.16596 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:99:inget’
2014-08-18_14:48:55.16597 /opt/chef-server/embedded/service/chef-server-webui/lib/chef_server/rest_client.rb:48:in block (2 levels) in <class:RestClient>' 2014-08-18_14:48:55.16597 /opt/chef-server/embedded/service/chef-server-webui/app/models/user.rb:175:inload’
2014-08-18_14:48:55.16598 /opt/chef-server/embedded/service/chef-server-webui/app/models/user.rb:157:in authenticate' 2014-08-18_14:48:55.16598 /opt/chef-server/embedded/service/chef-server-webui/app/controllers/users_controller.rb:124:inlogin_exec’
2014-08-18_14:48:55.16599 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:4:in send_action' 2014-08-18_14:48:55.16600 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:167:inprocess_action’
2014-08-18_14:48:55.16600 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:10:in process_action' 2014-08-18_14:48:55.16601 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:18:inblock in process_action’
2014-08-18_14:48:55.16601 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:415:in block in _run__3886544328416850265__process_action__3851871119317117551__callbacks' 2014-08-18_14:48:55.16602 /opt/chef-server/embedded/service/chef-server-webui/app/controllers/application_controller.rb:31:incall’
2014-08-18_14:48:55.16602 /opt/chef-server/embedded/service/chef-server-webui/app/controllers/application_controller.rb:31:in block in <class:ApplicationController>' 2014-08-18_14:48:55.16603 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in_conditional_callback_around_79’
2014-08-18_14:48:55.16604 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:403:in _run__3886544328416850265__process_action__3851871119317117551__callbacks' 2014-08-18_14:48:55.16604 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in__run_callback’
2014-08-18_14:48:55.16605 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' 2014-08-18_14:48:55.16605 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:inrun_callbacks’
2014-08-18_14:48:55.16606 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:17:in process_action' 2014-08-18_14:48:55.16608 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rescue.rb:29:inprocess_action’
2014-08-18_14:48:55.16609 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:30:in block in process_action' 2014-08-18_14:48:55.16609 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:inblock in instrument’
2014-08-18_14:48:55.16610 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in instrument' 2014-08-18_14:48:55.16610 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:ininstrument’
2014-08-18_14:48:55.16611 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:29:in process_action' 2014-08-18_14:48:55.16611 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/params_wrapper.rb:207:inprocess_action’
2014-08-18_14:48:55.16612 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:121:in process' 2014-08-18_14:48:55.16612 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:45:inprocess’
2014-08-18_14:48:55.16613 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:203:in dispatch' 2014-08-18_14:48:55.16613 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
2014-08-18_14:48:55.16614 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:246:in block in action' 2014-08-18_14:48:55.16614 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:incall’
2014-08-18_14:48:55.16615 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in dispatch' 2014-08-18_14:48:55.16615 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:36:incall’
2014-08-18_14:48:55.16616 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call' 2014-08-18_14:48:55.16616 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
2014-08-18_14:48:55.16617 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in call' 2014-08-18_14:48:55.16617 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:incall’
2014-08-18_14:48:55.16618 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' 2014-08-18_14:48:55.16618 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:incall’
2014-08-18_14:48:55.16619 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in call' 2014-08-18_14:48:55.16619 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/head.rb:14:incall’
2014-08-18_14:48:55.16620 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/params_parser.rb:21:in call' 2014-08-18_14:48:55.16620 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/flash.rb:242:incall’
2014-08-18_14:48:55.16620 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context' 2014-08-18_14:48:55.16621 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:incall’
2014-08-18_14:48:55.16622 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in call' 2014-08-18_14:48:55.16623 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call’
2014-08-18_14:48:55.16623 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in _run__4009718171392740137__call__127571606666271097__callbacks' 2014-08-18_14:48:55.16624 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in__run_callback’
2014-08-18_14:48:55.16624 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in _run_call_callbacks' 2014-08-18_14:48:55.16624 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:inrun_callbacks’
2014-08-18_14:48:55.16625 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in call' 2014-08-18_14:48:55.16626 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:incall’
2014-08-18_14:48:55.16626 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' 2014-08-18_14:48:55.16627 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:incall’
2014-08-18_14:48:55.16627 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in call_app' 2014-08-18_14:48:55.16628 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:18:incall’
2014-08-18_14:48:55.16628 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in call' 2014-08-18_14:48:55.16628 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall’
2014-08-18_14:48:55.16629 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call' 2014-08-18_14:48:55.16630 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:incall’
2014-08-18_14:48:55.16630 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in call' 2014-08-18_14:48:55.16631 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:incall’
2014-08-18_14:48:55.16631 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-ssl-1.3.4/lib/rack/ssl.rb:27:in call' 2014-08-18_14:48:55.16631 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward’
2014-08-18_14:48:55.16632 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in pass' 2014-08-18_14:48:55.16632 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:ininvalidate’
2014-08-18_14:48:55.16633 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in call!' 2014-08-18_14:48:55.16633 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall’
2014-08-18_14:48:55.16634 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in call' 2014-08-18_14:48:55.16634 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:incall’
2014-08-18_14:48:55.16637 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:510:in process_client' 2014-08-18_14:48:55.16637 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:585:inblock in worker_loop’
2014-08-18_14:48:55.16638 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:583:in each' 2014-08-18_14:48:55.16639 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:583:inworker_loop’
2014-08-18_14:48:55.16639 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:473:in block (2 levels) in spawn_missing_workers' 2014-08-18_14:48:55.16640 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:470:infork’
2014-08-18_14:48:55.16640 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:470:in block in spawn_missing_workers' 2014-08-18_14:48:55.16641 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:466:ineach’
2014-08-18_14:48:55.16642 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:466:in spawn_missing_workers' 2014-08-18_14:48:55.16642 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:480:inmaintain_worker_count’
2014-08-18_14:48:55.16643 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:163:in start' 2014-08-18_14:48:55.16643 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn.rb:13:inrun’
2014-08-18_14:48:55.16643 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/bin/unicorn:120:in <top (required)>' 2014-08-18_14:48:55.16644 /opt/chef-server/embedded/service/gem/ruby/1.9.1/bin/unicorn:23:inload’
2014-08-18_14:48:55.16644 /opt/chef-server/embedded/service/gem/ruby/1.9.1/bin/unicorn:23:in <main>' 2014-08-18_14:48:55.20903 Rendered shared/http_status/unauthorized.html.haml within layouts/application (3.5ms) 2014-08-18_14:48:55.46861 Compiled chef.js (0ms) (pid 8891) 2014-08-18_14:48:55.50788 Compiled application.js (18ms) (pid 8891) 2014-08-18_14:48:59.79230 Completed 500 Internal Server Error in 4648.6ms 2014-08-18_14:48:59.79941 2014-08-18_14:48:59.79942 ActionView::Template::Error (undefined methodeach’ for nil:NilClass):
2014-08-18_14:48:59.79942 15: %select{:name => ‘environment-select’, :onchange => ‘jump(this)’, :size => 1, :class => ‘title-select’}
2014-08-18_14:48:59.79942 16: - current_env = session[:environment]
2014-08-18_14:48:59.79943 17: %option{:value => environment_select_url(’_none’), :selected => current_env == nil} None
2014-08-18_14:48:59.79943 18: - @environments.each do |env|
2014-08-18_14:48:59.79943 19: %option{:value => environment_select_path(env), :selected => current_env == env}= env
2014-08-18_14:48:59.79943 20: #user-navigation
2014-08-18_14:48:59.79944 21: %ul
2014-08-18_14:48:59.79944 app/views/layouts/application.html.haml:18:in _app_views_layouts_application_html_haml___1175579261485805108_32807200' 2014-08-18_14:48:59.79944 app/controllers/application_controller.rb:59:inblock in class:ApplicationController
2014-08-18_14:48:59.79944
2014-08-18_14:48:59.79944


#2

On Monday, August 18, 2014 at 8:13 AM, Wright, Jordan M. wrote:

I just build a new server on centos 6.5 with chef-server-11.1.3-1.el6.x86_64.rpm. When trying to log into the webui, I get “We’re sorry, but something went wrong.” Looking into /var/log/chef-server/chef-server-webui/current I found the attached error log. I noticed there is a 11.1.4-1 release, I upgraded to that version but the results are still the same. What would be causing this and how to I fix it?

Thanks,
Jordan

2014-08-18_14:48:55.10333 Started POST “/users/login_exec” for 127.0.0.1 at 2014-08-18 10:48:55 -0400
2014-08-18_14:48:55.14341 Processing by UsersController#login_exec as HTML
2014-08-18_14:48:55.14352 Parameters: {“utf8”=>“✓”, “authenticity_token”=>“1N8UheAJ9/+KsxMYzohGyKuq2+kWPq+qDN0aMD+ZW80=”, “name”=>“admin”, “commit”=>“login”, “password”=>"[FILTERED]"}
2014-08-18_14:48:55.16591 [2014-08-18T10:48:55-04:00] ERROR: 401 “Unauthorized”

Looks like a configuration error. Did you run the sudo chef-server-ctl reconfigure step? There might be more helpful info in the erchef (API service) log.


Daniel DeLeo


#3

Someone else emailed with the same problem on Aug 10. Below is the email
thread.​

On Sun, Aug 10, 2014 at 6:19 PM, idzzy idezebi@gmail.com wrote:

Hello,

Although I applied the patch and chef-server reconfigure, chef-server
restart and also deleted cookies, still there is same error msg.
Anyway I will wait next release.

Thank you so much.


idzzy

On August 10, 2014 at 12:17:57 PM, Nathan L Smith (smith@getchef.com)
wrote:

I’m not able to reproduce this (though, like I said, I have seen it
before), so I’m not sure how to correct it. I’d start with deleting cookies
for the site and restarting the Chef server and webui.

If you’re feeling brave, you could go in to
/opt/chef-server/embedded/service/chef-server-webui/app/controllers/users_controller.rb
and apply this patch:
https://github.com/opscode/chef-server-webui/commit/8b256f8a458da0c61b6149a4fa9b8fc6977af704.patch,
then restart chef-server-webui.

The next release of open source Chef server contains some security updates
and will be coming very soon, so doing this may be able to get you by for a
short period of time.

Hope that helps.

On Fri, Aug 8, 2014 at 5:07 AM, idzzy idezebi@gmail.com wrote:

Hello,

Sure. Understood about the error message.

Currently I cannot login and pass authentication.
Is there any way to avoid this phenomenon in version(11.1)? How can I
login to chef-server webui?

Thank you.


idzzy

On August 8, 2014 at 11:33:59 AM, Nathan L Smith (smith@getchef.com)
wrote:

I had seen this before in my development environment but not in
production. I’ve got a pull request open that should fix it:
https://github.com/opscode/chef-server-webui/pull/33

We’ll be doing a release soon with some security updates, so this fix
should also ship with that next release.

Thanks for reporting it!

On Wed, Aug 6, 2014 at 1:28 AM, idzzy idezebi@gmail.com wrote:

Hello,

When I access to chef-server webui, it’s displayed "We’re sorry, but
something went wrong”.

And output following log in
/var/log/chef-server/chef-server-webui/current

2014-08-06_06:08:10.53840 ActionView::Template::Error (undefined method
each' for nil:NilClass): 2014-08-06_06:08:10.53840 15: %select{:name => 'environment-select', :onchange => 'jump(this)', :size => 1, :class => 'title-select'} 2014-08-06_06:08:10.53840 16: - current_env = session[:environment] 2014-08-06_06:08:10.53841 17: %option{:value => environment_select_url('_none'), :selected => current_env == nil} None 2014-08-06_06:08:10.53841 18: - @environments.each do |env| 2014-08-06_06:08:10.53841 19: %option{:value => environment_select_path(env), :selected => current_env == env}= env 2014-08-06_06:08:10.53841 20: #user-navigation 2014-08-06_06:08:10.53841 21: %ul 2014-08-06_06:08:10.53842 app/views/layouts/application.html.haml:18:in_app_views_layouts_application_html_haml___4543768237136703618_28923760’
2014-08-06_06:08:10.53842
app/controllers/application_controller.rb:59:in `block in
class:ApplicationController

This phenomenon seems to be similar these cases.
https://tickets.opscode.com/browse/CHEF-5301
https://tickets.opscode.com/browse/CHEF-5307

Base on above cases I have already tried to modify like this 3 patterns
and did “chef-server reconfigure”.

/etc/chef-server/chef-server.rb
chef_server_webui[‘cookie_domain’] = ‘'
chef_server_webui[‘cookie_domain’] = ‘.mydoman’
chef_server_webui[‘cookie_domain’] = ‘mydomain’

But still displaying same error message and cannot access chef-server
webui.

How can I fix this issue?

Thank you.


idzzy


Nathan L Smith
smith@getchef.com
(319) 339-0466


Nathan L Smith
smith@getchef.com
(319) 339-0466


Best regards, Dmitriy V.


#4

I did run sudo chef-server-ctl reconfigure. I also completely removed chef and reinstalled it to no avail.

I did not see any errors in erchef logs. In /var/logs/chef-server/postgresql/current I found the following.

2014-08-19_15:04:06.73597 ERROR: relation “changes” does not exist at character 50
2014-08-19_15:04:06.73598 STATEMENT:
2014-08-19_15:04:06.73599 SELECT change_id
2014-08-19_15:04:06.73599 FROM changes
2014-08-19_15:04:06.73599 WHERE project = $1
2014-08-19_15:04:06.73599 ORDER BY committed_at DESC
2014-08-19_15:04:06.73600 LIMIT 1
2014-08-19_15:04:06.73600 OFFSET COALESCE($2, 0)
2014-08-19_15:04:06.73600

Jordan

-----Original Message-----
From: Daniel DeLeo [mailto:ddeleo@kallistec.com] On Behalf Of Daniel DeLeo
Sent: Monday, August 18, 2014 7:01 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Webui 500 error

On Monday, August 18, 2014 at 8:13 AM, Wright, Jordan M. wrote:

I just build a new server on centos 6.5 with chef-server-11.1.3-1.el6.x86_64.rpm. When trying to log into the webui, I get “We’re sorry, but something went wrong.” Looking into /var/log/chef-server/chef-server-webui/current I found the attached error log. I noticed there is a 11.1.4-1 release, I upgraded to that version but the results are still the same. What would be causing this and how to I fix it?

Thanks,
Jordan

2014-08-18_14:48:55.10333 Started POST “/users/login_exec” for 127.0.0.1 at 2014-08-18 10:48:55 -0400
2014-08-18_14:48:55.14341 Processing by UsersController#login_exec as HTML
2014-08-18_14:48:55.14352 Parameters: {“utf8”=>“✓”, “authenticity_token”=>“1N8UheAJ9/+KsxMYzohGyKuq2+kWPq+qDN0aMD+ZW80=”, “name”=>“admin”, “commit”=>“login”, “password”=>"[FILTERED]"}
2014-08-18_14:48:55.16591 [2014-08-18T10:48:55-04:00] ERROR: 401 “Unauthorized”

Looks like a configuration error. Did you run the sudo chef-server-ctl reconfigure step? There might be more helpful info in the erchef (API service) log.


Daniel DeLeo


#5

Hi Jordan,

You may be running into this bug:
https://github.com/opscode/chef-server-webui/pull/33 which we thought
that change would fix, but it appears not. We have so far not been able
to consistently reproduce it to know if any changes we apply will fix it.

Could you also try using a different browser, if you haven’t already?
I’ve observed behavior where newer versions of Chrome don’t like
something in the webui and will prevent logins without giving any
indication why. I have yet to track down why this is or why this is
inconsistent (possibly related to the above bug). Safari and Firefox
have worked fine for me (I haven’t tested IE). I know this isn’t an
ideal solution, but it might get you around the issue while we look for
a fix.

If you can provide any further information that might help us track this
down we’d appreciate it. I don’t believe that this is a configuration
error on your part. Feel free to open an issue against the Chef GitHub
repository and tag it with the chef-server tag if you discover more
information. We can use that as a central place to track what
information we have.

Sorry about this issue causing you trouble.

Mark Mzyk

Wright, Jordan M. mailto:Jordan.M.Wright@disney.com
August 19, 2014 at 12:34 PM
I did run sudo chef-server-ctl reconfigure. I also completely
removed chef and reinstalled it to no avail.

I did not see any errors in erchef logs. In
/var/logs/chef-server/postgresql/current I found the following.

2014-08-19_15:04:06.73597 ERROR: relation “changes” does not exist at
character 50
2014-08-19_15:04:06.73598 STATEMENT:
2014-08-19_15:04:06.73599 SELECT change_id
2014-08-19_15:04:06.73599 FROM changes
2014-08-19_15:04:06.73599 WHERE project = $1
2014-08-19_15:04:06.73599 ORDER BY committed_at DESC
2014-08-19_15:04:06.73600 LIMIT 1
2014-08-19_15:04:06.73600 OFFSET COALESCE($2, 0)
2014-08-19_15:04:06.73600

Jordan

-----Original Message-----
From: Daniel DeLeo [mailto:ddeleo@kallistec.com] On Behalf Of Daniel DeLeo
Sent: Monday, August 18, 2014 7:01 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Webui 500 error

Looks like a configuration error. Did you run the sudo chef-server-ctl reconfigure step? There might be more helpful info in
the erchef (API service) log.


Daniel DeLeo

Daniel DeLeo mailto:dan@kallistec.com
August 18, 2014 at 7:00 PM

Looks like a configuration error. Did you run the sudo chef-server-ctl reconfigure step? There might be more helpful info in
the erchef (API service) log.


Daniel DeLeo

Wright, Jordan M. mailto:Jordan.M.Wright@disney.com
August 18, 2014 at 11:13 AM

I just build a new server on centos 6.5 with
chef-server-11.1.3-1.el6.x86_64.rpm. When trying to log into the
webui, I get “We’re sorry, but something went wrong.” Looking into
/var/log/chef-server/chef-server-webui/current I found the attached
error log. I noticed there is a 11.1.4-1 release, I upgraded to that
version but the results are still the same. What would be causing this
and how to I fix it?

Thanks,

Jordan

2014-08-18_14:48:55.10333 Started POST “/users/login_exec” for
127.0.0.1 at 2014-08-18 10:48:55 -0400

2014-08-18_14:48:55.14341 Processing by UsersController#login_exec as HTML

2014-08-18_14:48:55.14352 Parameters: {“utf8”=>“✓”,
“authenticity_token”=>“1N8UheAJ9/+KsxMYzohGyKuq2+kWPq+qDN0aMD+ZW80=”,
“name”=>“admin”, “commit”=>“login”, “password”=>"[FILTERED]"}

2014-08-18_14:48:55.16591 [2014-08-18T10:48:55-04:00] ERROR: 401
"Unauthorized"

2014-08-18_14:48:55.16594
/opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:2633:in `error!’

2014-08-18_14:48:55.16594
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:199:in
`block in raw_http_request’

2014-08-18_14:48:55.16595
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:280:in
`retriable_rest_request’

2014-08-18_14:48:55.16595
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:164:in
`raw_http_request’

2014-08-18_14:48:55.16596
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:158:in
`api_request’

2014-08-18_14:48:55.16596
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:99:in
`get’

2014-08-18_14:48:55.16597
/opt/chef-server/embedded/service/chef-server-webui/lib/chef_server/rest_client.rb:48:in
`block (2 levels) in class:RestClient

2014-08-18_14:48:55.16597
/opt/chef-server/embedded/service/chef-server-webui/app/models/user.rb:175:in
`load’

2014-08-18_14:48:55.16598
/opt/chef-server/embedded/service/chef-server-webui/app/models/user.rb:157:in
`authenticate’

2014-08-18_14:48:55.16598
/opt/chef-server/embedded/service/chef-server-webui/app/controllers/users_controller.rb:124:in
`login_exec’

2014-08-18_14:48:55.16599
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:4:in
`send_action’

2014-08-18_14:48:55.16600
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:167:in
`process_action’

2014-08-18_14:48:55.16600
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:10:in
`process_action’

2014-08-18_14:48:55.16601
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:18:in
`block in process_action’

2014-08-18_14:48:55.16601
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:415:in
`block in
_run__3886544328416850265__process_action__3851871119317117551__callbacks’

2014-08-18_14:48:55.16602
/opt/chef-server/embedded/service/chef-server-webui/app/controllers/application_controller.rb:31:in
`call’

2014-08-18_14:48:55.16602
/opt/chef-server/embedded/service/chef-server-webui/app/controllers/application_controller.rb:31:in
`block in class:ApplicationController

2014-08-18_14:48:55.16603
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in
`_conditional_callback_around_79’

2014-08-18_14:48:55.16604
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:403:in
`_run__3886544328416850265__process_action__3851871119317117551__callbacks’

2014-08-18_14:48:55.16604
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in
`__run_callback’

2014-08-18_14:48:55.16605
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in
`_run_process_action_callbacks’

2014-08-18_14:48:55.16605
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in
`run_callbacks’

2014-08-18_14:48:55.16606
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:17:in
`process_action’

2014-08-18_14:48:55.16608
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rescue.rb:29:in
`process_action’

2014-08-18_14:48:55.16609
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:30:in
`block in process_action’

2014-08-18_14:48:55.16609
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in
`block in instrument’

2014-08-18_14:48:55.16610
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in
`instrument’

2014-08-18_14:48:55.16610
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in
`instrument’

2014-08-18_14:48:55.16611
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:29:in
`process_action’

2014-08-18_14:48:55.16611
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/params_wrapper.rb:207:in
`process_action’

2014-08-18_14:48:55.16612
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:121:in
`process’

2014-08-18_14:48:55.16612
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:45:in
`process’

2014-08-18_14:48:55.16613
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:203:in
`dispatch’

2014-08-18_14:48:55.16613
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rack_delegation.rb:14:in
`dispatch’

2014-08-18_14:48:55.16614
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:246:in
`block in action’

2014-08-18_14:48:55.16614
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in
`call’

2014-08-18_14:48:55.16615
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in
`dispatch’

2014-08-18_14:48:55.16615
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:36:in
`call’

2014-08-18_14:48:55.16616
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in
`block in call’

2014-08-18_14:48:55.16616
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in
`each’

2014-08-18_14:48:55.16617
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in
`call’

2014-08-18_14:48:55.16617
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:in
`call’

2014-08-18_14:48:55.16618
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/best_standards_support.rb:17:in
`call’

2014-08-18_14:48:55.16618
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in
`call’

2014-08-18_14:48:55.16619
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in
`call’

2014-08-18_14:48:55.16619
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/head.rb:14:in
`call’

2014-08-18_14:48:55.16620
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/params_parser.rb:21:in
`call’

2014-08-18_14:48:55.16620
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/flash.rb:242:in
`call’

2014-08-18_14:48:55.16620
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in
`context’

2014-08-18_14:48:55.16621
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in
`call’

2014-08-18_14:48:55.16622
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in
`call’

2014-08-18_14:48:55.16623
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in
`block in call’

2014-08-18_14:48:55.16623
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in
`_run__4009718171392740137__call__127571606666271097__callbacks’

2014-08-18_14:48:55.16624
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in
`__run_callback’

2014-08-18_14:48:55.16624
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in
`_run_call_callbacks’

2014-08-18_14:48:55.16624
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in
`run_callbacks’

2014-08-18_14:48:55.16625
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in
`call’

2014-08-18_14:48:55.16626
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in
`call’

2014-08-18_14:48:55.16626
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in
`call’

2014-08-18_14:48:55.16627
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in
`call’

2014-08-18_14:48:55.16627
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in
`call_app’

2014-08-18_14:48:55.16628
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:18:in
`call’

2014-08-18_14:48:55.16628
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in
`call’

2014-08-18_14:48:55.16628
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in
`call’

2014-08-18_14:48:55.16629
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in
`call’

2014-08-18_14:48:55.16630
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in
`call’

2014-08-18_14:48:55.16630
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in
`call’

2014-08-18_14:48:55.16631
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in
`call’

2014-08-18_14:48:55.16631
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-ssl-1.3.4/lib/rack/ssl.rb:27:in
`call’

2014-08-18_14:48:55.16631
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in
`forward’

2014-08-18_14:48:55.16632
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in
`pass’

2014-08-18_14:48:55.16632
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in
`invalidate’

2014-08-18_14:48:55.16633
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in
`call!’

2014-08-18_14:48:55.16633
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in
`call’

2014-08-18_14:48:55.16634
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in
`call’

2014-08-18_14:48:55.16634
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:in
`call’

2014-08-18_14:48:55.16637
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:510:in
`process_client’

2014-08-18_14:48:55.16637
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:585:in
`block in worker_loop’

2014-08-18_14:48:55.16638
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:583:in
`each’

2014-08-18_14:48:55.16639
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:583:in
`worker_loop’

2014-08-18_14:48:55.16639
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:473:in
`block (2 levels) in spawn_missing_workers’

2014-08-18_14:48:55.16640
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:470:in
`fork’

2014-08-18_14:48:55.16640
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:470:in
`block in spawn_missing_workers’

2014-08-18_14:48:55.16641
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:466:in
`each’

2014-08-18_14:48:55.16642
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:466:in
`spawn_missing_workers’

2014-08-18_14:48:55.16642
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:480:in
`maintain_worker_count’

2014-08-18_14:48:55.16643
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:163:in
`start’

2014-08-18_14:48:55.16643
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn.rb:13:in
`run’

2014-08-18_14:48:55.16643
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/bin/unicorn:120:in
`<top (required)>’

2014-08-18_14:48:55.16644
/opt/chef-server/embedded/service/gem/ruby/1.9.1/bin/unicorn:23:in `load’

2014-08-18_14:48:55.16644
/opt/chef-server/embedded/service/gem/ruby/1.9.1/bin/unicorn:23:in
`’

2014-08-18_14:48:55.20903 Rendered
shared/http_status/unauthorized.html.haml within layouts/application
(3.5ms)

2014-08-18_14:48:55.46861 Compiled chef.js (0ms) (pid 8891)

2014-08-18_14:48:55.50788 Compiled application.js (18ms) (pid 8891)

2014-08-18_14:48:59.79230 Completed 500 Internal Server Error in 4648.6ms

2014-08-18_14:48:59.79941

2014-08-18_14:48:59.79942 ActionView::Template::Error (undefined
method `each’ for nil:NilClass):

2014-08-18_14:48:59.79942 15: %select{:name =>
‘environment-select’, :onchange => ‘jump(this)’, :size => 1, :class =>
‘title-select’}

2014-08-18_14:48:59.79942 16: - current_env =
session[:environment]

2014-08-18_14:48:59.79943 17: %option{:value =>
environment_select_url(’_none’), :selected => current_env == nil} None

2014-08-18_14:48:59.79943 18: - @environments.each do
|env|

2014-08-18_14:48:59.79943 19: %option{:value =>
environment_select_path(env), :selected => current_env == env}= env

2014-08-18_14:48:59.79943 20: #user-navigation

2014-08-18_14:48:59.79944 21: %ul

2014-08-18_14:48:59.79944
app/views/layouts/application.html.haml:18:in
`_app_views_layouts_application_html_haml___1175579261485805108_32807200’

2014-08-18_14:48:59.79944
app/controllers/application_controller.rb:59:in `block in
class:ApplicationController

2014-08-18_14:48:59.79944

2014-08-18_14:48:59.79944


#6

I am also facing the same issue :frowning:

Regards,
Anjaneya Raju.E
Desk : 04039938039
Mob : +919618222206
[cid:image001.jpg@01CED4A1.D69F4B70]http://www.techmahindra.com/

From: Mark Mzyk [mailto:mmzyk@getchef.com]
Sent: Thursday, August 21, 2014 8:31 PM
To: chef@lists.opscode.com
Subject: [chef] Re: RE: Re: Webui 500 error

Hi Jordan,

You may be running into this bug: https://github.com/opscode/chef-server-webui/pull/33 which we thought that change would fix, but it appears not. We have so far not been able to consistently reproduce it to know if any changes we apply will fix it.

Could you also try using a different browser, if you haven’t already? I’ve observed behavior where newer versions of Chrome don’t like something in the webui and will prevent logins without giving any indication why. I have yet to track down why this is or why this is inconsistent (possibly related to the above bug). Safari and Firefox have worked fine for me (I haven’t tested IE). I know this isn’t an ideal solution, but it might get you around the issue while we look for a fix.

If you can provide any further information that might help us track this down we’d appreciate it. I don’t believe that this is a configuration error on your part. Feel free to open an issue against the Chef GitHub repository and tag it with the chef-server tag if you discover more information. We can use that as a central place to track what information we have.

Sorry about this issue causing you trouble.

Mark Mzyk

[cid:image002.jpg@01CFBDA2.2FE4A920]
Wright, Jordan M.mailto:Jordan.M.Wright@disney.com
August 19, 2014 at 12:34 PM
I did run sudo chef-server-ctl reconfigure. I also completely removed chef and reinstalled it to no avail.

I did not see any errors in erchef logs. In /var/logs/chef-server/postgresql/current I found the following.

2014-08-19_15:04:06.73597 ERROR: relation “changes” does not exist at character 50
2014-08-19_15:04:06.73598 STATEMENT:
2014-08-19_15:04:06.73599 SELECT change_id
2014-08-19_15:04:06.73599 FROM changes
2014-08-19_15:04:06.73599 WHERE project = $1
2014-08-19_15:04:06.73599 ORDER BY committed_at DESC
2014-08-19_15:04:06.73600 LIMIT 1
2014-08-19_15:04:06.73600 OFFSET COALESCE($2, 0)
2014-08-19_15:04:06.73600

Jordan

-----Original Message-----
From: Daniel DeLeo [mailto:ddeleo@kallistec.com] On Behalf Of Daniel DeLeo
Sent: Monday, August 18, 2014 7:01 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Re: Webui 500 error

Looks like a configuration error. Did you run the sudo chef-server-ctl reconfigure step? There might be more helpful info in the erchef (API service) log.


Daniel DeLeo
[cid:image003.jpg@01CFBDA2.2FE4A920]
Daniel DeLeomailto:dan@kallistec.com
August 18, 2014 at 7:00 PM

Looks like a configuration error. Did you run the sudo chef-server-ctl reconfigure step? There might be more helpful info in the erchef (API service) log.


Daniel DeLeo
[cid:image002.jpg@01CFBDA2.2FE4A920]
Wright, Jordan M.mailto:Jordan.M.Wright@disney.com
August 18, 2014 at 11:13 AM
I just build a new server on centos 6.5 with chef-server-11.1.3-1.el6.x86_64.rpm. When trying to log into the webui, I get “We’re sorry, but something went wrong.” Looking into /var/log/chef-server/chef-server-webui/current I found the attached error log. I noticed there is a 11.1.4-1 release, I upgraded to that version but the results are still the same. What would be causing this and how to I fix it?

Thanks,
Jordan

2014-08-18_14:48:55.10333 Started POST “/users/login_exec” for 127.0.0.1 at 2014-08-18 10:48:55 -0400
2014-08-18_14:48:55.14341 Processing by UsersController#login_exec as HTML
2014-08-18_14:48:55.14352 Parameters: {“utf8”=>“✓”, “authenticity_token”=>“1N8UheAJ9/+KsxMYzohGyKuq2+kWPq+qDN0aMD+ZW80=”, “name”=>“admin”, “commit”=>“login”, “password”=>"[FILTERED]"}
2014-08-18_14:48:55.16591 [2014-08-18T10:48:55-04:00] ERROR: 401 "Unauthorized"
2014-08-18_14:48:55.16594 /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:2633:in error!' 2014-08-18_14:48:55.16594 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:199:inblock in raw_http_request’
2014-08-18_14:48:55.16595 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:280:in retriable_rest_request' 2014-08-18_14:48:55.16595 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:164:inraw_http_request’
2014-08-18_14:48:55.16596 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:158:in api_request' 2014-08-18_14:48:55.16596 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:99:inget’
2014-08-18_14:48:55.16597 /opt/chef-server/embedded/service/chef-server-webui/lib/chef_server/rest_client.rb:48:in block (2 levels) in <class:RestClient>' 2014-08-18_14:48:55.16597 /opt/chef-server/embedded/service/chef-server-webui/app/models/user.rb:175:inload’
2014-08-18_14:48:55.16598 /opt/chef-server/embedded/service/chef-server-webui/app/models/user.rb:157:in authenticate' 2014-08-18_14:48:55.16598 /opt/chef-server/embedded/service/chef-server-webui/app/controllers/users_controller.rb:124:inlogin_exec’
2014-08-18_14:48:55.16599 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:4:in send_action' 2014-08-18_14:48:55.16600 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:167:inprocess_action’
2014-08-18_14:48:55.16600 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:10:in process_action' 2014-08-18_14:48:55.16601 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:18:inblock in process_action’
2014-08-18_14:48:55.16601 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:415:in block in _run__3886544328416850265__process_action__3851871119317117551__callbacks' 2014-08-18_14:48:55.16602 /opt/chef-server/embedded/service/chef-server-webui/app/controllers/application_controller.rb:31:incall’
2014-08-18_14:48:55.16602 /opt/chef-server/embedded/service/chef-server-webui/app/controllers/application_controller.rb:31:in block in <class:ApplicationController>' 2014-08-18_14:48:55.16603 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in_conditional_callback_around_79’
2014-08-18_14:48:55.16604 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:403:in _run__3886544328416850265__process_action__3851871119317117551__callbacks' 2014-08-18_14:48:55.16604 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in__run_callback’
2014-08-18_14:48:55.16605 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' 2014-08-18_14:48:55.16605 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:inrun_callbacks’
2014-08-18_14:48:55.16606 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:17:in process_action' 2014-08-18_14:48:55.16608 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rescue.rb:29:inprocess_action’
2014-08-18_14:48:55.16609 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:30:in block in process_action' 2014-08-18_14:48:55.16609 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:inblock in instrument’
2014-08-18_14:48:55.16610 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in instrument' 2014-08-18_14:48:55.16610 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:ininstrument’
2014-08-18_14:48:55.16611 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:29:in process_action' 2014-08-18_14:48:55.16611 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/params_wrapper.rb:207:inprocess_action’
2014-08-18_14:48:55.16612 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:121:in process' 2014-08-18_14:48:55.16612 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:45:inprocess’
2014-08-18_14:48:55.16613 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:203:in dispatch' 2014-08-18_14:48:55.16613 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
2014-08-18_14:48:55.16614 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:246:in block in action' 2014-08-18_14:48:55.16614 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:incall’
2014-08-18_14:48:55.16615 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in dispatch' 2014-08-18_14:48:55.16615 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:36:incall’
2014-08-18_14:48:55.16616 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call' 2014-08-18_14:48:55.16616 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
2014-08-18_14:48:55.16617 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in call' 2014-08-18_14:48:55.16617 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:incall’
2014-08-18_14:48:55.16618 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' 2014-08-18_14:48:55.16618 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:incall’
2014-08-18_14:48:55.16619 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in call' 2014-08-18_14:48:55.16619 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/head.rb:14:incall’
2014-08-18_14:48:55.16620 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/params_parser.rb:21:in call' 2014-08-18_14:48:55.16620 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/flash.rb:242:incall’
2014-08-18_14:48:55.16620 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context' 2014-08-18_14:48:55.16621 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:incall’
2014-08-18_14:48:55.16622 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in call' 2014-08-18_14:48:55.16623 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call’
2014-08-18_14:48:55.16623 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in _run__4009718171392740137__call__127571606666271097__callbacks' 2014-08-18_14:48:55.16624 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in__run_callback’
2014-08-18_14:48:55.16624 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in _run_call_callbacks' 2014-08-18_14:48:55.16624 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:inrun_callbacks’
2014-08-18_14:48:55.16625 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in call' 2014-08-18_14:48:55.16626 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:incall’
2014-08-18_14:48:55.16626 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' 2014-08-18_14:48:55.16627 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:incall’
2014-08-18_14:48:55.16627 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in call_app' 2014-08-18_14:48:55.16628 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:18:incall’
2014-08-18_14:48:55.16628 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in call' 2014-08-18_14:48:55.16628 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall’
2014-08-18_14:48:55.16629 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call' 2014-08-18_14:48:55.16630 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:incall’
2014-08-18_14:48:55.16630 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in call' 2014-08-18_14:48:55.16631 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:incall’
2014-08-18_14:48:55.16631 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-ssl-1.3.4/lib/rack/ssl.rb:27:in call' 2014-08-18_14:48:55.16631 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward’
2014-08-18_14:48:55.16632 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in pass' 2014-08-18_14:48:55.16632 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:ininvalidate’
2014-08-18_14:48:55.16633 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in call!' 2014-08-18_14:48:55.16633 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall’
2014-08-18_14:48:55.16634 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in call' 2014-08-18_14:48:55.16634 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:incall’
2014-08-18_14:48:55.16637 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:510:in process_client' 2014-08-18_14:48:55.16637 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:585:inblock in worker_loop’
2014-08-18_14:48:55.16638 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:583:in each' 2014-08-18_14:48:55.16639 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:583:inworker_loop’
2014-08-18_14:48:55.16639 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:473:in block (2 levels) in spawn_missing_workers' 2014-08-18_14:48:55.16640 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:470:infork’
2014-08-18_14:48:55.16640 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:470:in block in spawn_missing_workers' 2014-08-18_14:48:55.16641 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:466:ineach’
2014-08-18_14:48:55.16642 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:466:in spawn_missing_workers' 2014-08-18_14:48:55.16642 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:480:inmaintain_worker_count’
2014-08-18_14:48:55.16643 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn/http_server.rb:163:in start' 2014-08-18_14:48:55.16643 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/lib/unicorn.rb:13:inrun’
2014-08-18_14:48:55.16643 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/unicorn-2.0.1/bin/unicorn:120:in <top (required)>' 2014-08-18_14:48:55.16644 /opt/chef-server/embedded/service/gem/ruby/1.9.1/bin/unicorn:23:inload’
2014-08-18_14:48:55.16644 /opt/chef-server/embedded/service/gem/ruby/1.9.1/bin/unicorn:23:in <main>' 2014-08-18_14:48:55.20903 Rendered shared/http_status/unauthorized.html.haml within layouts/application (3.5ms) 2014-08-18_14:48:55.46861 Compiled chef.js (0ms) (pid 8891) 2014-08-18_14:48:55.50788 Compiled application.js (18ms) (pid 8891) 2014-08-18_14:48:59.79230 Completed 500 Internal Server Error in 4648.6ms 2014-08-18_14:48:59.79941 2014-08-18_14:48:59.79942 ActionView::Template::Error (undefined methodeach’ for nil:NilClass):
2014-08-18_14:48:59.79942 15: %select{:name => ‘environment-select’, :onchange => ‘jump(this)’, :size => 1, :class => ‘title-select’}
2014-08-18_14:48:59.79942 16: - current_env = session[:environment]
2014-08-18_14:48:59.79943 17: %option{:value => environment_select_url(’_none’), :selected => current_env == nil} None
2014-08-18_14:48:59.79943 18: - @environments.each do |env|
2014-08-18_14:48:59.79943 19: %option{:value => environment_select_path(env), :selected => current_env == env}= env
2014-08-18_14:48:59.79943 20: #user-navigation
2014-08-18_14:48:59.79944 21: %ul
2014-08-18_14:48:59.79944 app/views/layouts/application.html.haml:18:in _app_views_layouts_application_html_haml___1175579261485805108_32807200' 2014-08-18_14:48:59.79944 app/controllers/application_controller.rb:59:inblock in class:ApplicationController
2014-08-18_14:48:59.79944
2014-08-18_14:48:59.79944