Curtis Bell
2013-Aug-08 13:08 UTC
[Puppet Users] Possible puppet bug, cannot login to dashboard error 500
Hey all thanks for reading, im comming across this error in the dashboard log and just wondered what some of you make of it Started GET "/?ticket=ST-1375959283rTkc4NT6Yy0pzoDuahD" for 149.5.65.2 at 2013-08-08 11:55:54 +0100 Started GET "/?ticket=ST-1375959354rw66ClZe1gYTaKSzdET" for 149.5.65.2 at 2013-08-08 11:55:54 +0100 Processing by PagesController#home as HTML Parameters: {"ticket"=>"ST-1375959354rw66ClZe1gYTaKSzdET"} Rendered shared/_node_manager_sidebar_for_type.html.haml (4.9ms) Rendered shared/_node_manager_sidebar.html.haml (21.6ms) Rendered pages/home.html.haml within layouts/application (22.2ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (PG::Error: ERROR: column "node_groups.name" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...erships.node_id) GROUP BY node_groups.id ORDER BY node_group... ^ : SELECT COUNT(*) AS count_all, node_groups.id AS node_groups_id FROM "node_groups" LEFT OUTER JOIN node_group_memberships ON (node_groups.id = node_group_memberships.node_group_id) LEFT OUTER JOIN nodes ON (nodes.id = node_group_memberships.node_id) GROUP BY node_groups.id ORDER BY node_groups.name ASC): 11: .group 12: %h3{:class => active_if(controller_name == table && action_name == "index")}= link_to(h(label.pluralize), send(path_for_index)) 13: - entries = type.with_nodes_count 14: - unless entries.empty? 15: %ul 16: - for entry in entries 17: %li{:class => active_if(controller_name == table && ivar && ivar == entry)} app/views/shared/_node_manager_sidebar_for_type.html.haml:14:in `_app_views_shared__node_manager_sidebar_for_type_html_haml__1740536694779660876_38085860'' app/views/shared/_node_manager_sidebar.html.haml:60:in `_app_views_shared__node_manager_sidebar_html_haml__1697155548244698631_22364720'' app/views/pages/home.html.haml:2:in `_app_views_pages_home_html_haml___2111590214969167454_35280000'' -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.