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', : '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} None2014-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}= env2014-08-06_06:08:10.53841 20: #user-navigation2014-08-06_06:08:10.53841 21: %ul2014-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.Base on above cases I have already tried to modify like this 3 patterns and did "chef-server reconfigure"./etc/chef-server/chef-server.rbchef_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
Archive powered by MHonArc 2.6.16.