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.—idzzyOn August 8, 2014 at 11:33:59 AM, Nathan L Smith ( " target="_blank"> ) 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/33We'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 < " target="_blank"> > 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', : '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.