Hi,
Apparently the /etc/puppet-dashboard/setting.yml needed to be modify by the one from the package sorry for the disturbance. Regards, JM My bad, forget On Fri, Sep 14, 2012 at 10:13 AM, Antidot SAS <antidot...@gmail.com> wrote: > Hi, > > > I just update my debian with the new dashboard and I am encountering the > following error: > Processing PagesController#home (for 10.63.1.64 at 2012-09-14 10:12:08) > [GET] > Parameters: {"action"=>"home", "controller"=>"pages"} > Rendering template within layouts/application > Rendering pages/home > > ActionView::TemplateError (`per_page` setting cannot be less than 1 (0 > given)) on line #2 of app/views/nodes/_nodes.html.haml: > 1: - node_count = local_assigns[:nodes].count > 2: - nodes = paginate_scope(local_assigns[:nodes]) > 3: - container = local_assigns[:container] > 4: - selected_status = local_assigns[:selected_status] > 5: - more_link = local_assigns[:more_link] > > vendor/gems/will_paginate-2.3.15/lib/will_paginate/collection.rb:51:in > `initialize' > vendor/gems/will_paginate-2.3.15/lib/will_paginate/collection.rb:84:in > `new' > vendor/gems/will_paginate-2.3.15/lib/will_paginate/collection.rb:84:in > `create' > vendor/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:76:in > `paginate' > app/helpers/paginate_scope_helper.rb:5:in `paginate_scope' > app/views/nodes/_nodes.html.haml:2:in > `_run_haml_app47views47nodes47_nodes46html46haml_locals_more_link_nodes_object_selected_status' > haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:11:in > `render' > haml (3.1.2) [v] lib/haml/helpers.rb:90:in `non_haml' > haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:11:in > `render' > app/views/pages/home.html.haml:17:in > `_run_haml_app47views47pages47home46html46haml' > app/views/pages/home.html.haml:16:in `each' > app/views/pages/home.html.haml:16:in > `_run_haml_app47views47pages47home46html46haml' > haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in > `render' > haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in > `render' > sass (3.1.2) [v] rails/./lib/sass/plugin/rack.rb:54:in `call' > /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' > /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' > /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' > /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' > /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' > > Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal Server > Error) > > > On debian squeeze. > > gem list > > *** LOCAL GEMS *** > > rack (1.1.2) > rake (0.9.2.2) > > > Any idea what could be the issue? > > > Regards, > JM > > > > > > On Fri, Sep 14, 2012 at 12:14 AM, Matthaus Owens > <matth...@puppetlabs.com>wrote: > >> Puppet Dashboard 1.2.11 is a maintenance and bugfix release of Puppet >> Dashboard. >> >> This release is available for download at: >> https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.11.tar.gz >> >> Debian packages are available at >> https://apt.puppetlabs.com >> >> RPM packages are available at >> https://yum.puppetlabs.com >> >> See the Verifying Puppet Download section at: >> http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet >> >> Please report feedback via the Puppet Labs Redmine site, using an >> affected version of 1.2.11: >> http://projects.puppetlabs.com/projects/dashboard >> >> Documentation is available at: >> http://docs.puppetlabs.com/dashboard/index.html >> >> Puppet Dashboard 1.2.11 Highlights >> ============================ >> (#15196) Make items per page configurable >> This commit adds the ability to specify the number of specific items >> per page displayed by dashboard in the settings.yml file, including >> nodes, classes, groups and reports per page. >> >> Autorefresh link gen fixed to work under passenger >> Autorefresh link generation did not take root_path for the >> application into consideration. Using File.join() to try and avoid >> multiple /'s getting into generated url which would cause routing >> problems. >> >> Shift to using packaging repo for packaging tasks >> This release introduces Dashboard's use of the packaging repo at >> https://github.com/puppetlabs/packaging for packaging automation. >> From >> source, doing a rake package:bootstrap clones packaging tasks into >> ext/packaging and adds rake tasks for packaging of tar, srpm, rpm, and >> deb using tools such as rpmbuild and debuild, as well as >> puppetlabs-namespaced tasks that use chroot environment tools and are >> keyed to specifically interacting with the puppetlabs environment. The >> packaging repo works in tandem with the new package-builder modules >> designed to set up hosts for packaging, >> https://github.com/puppetlabs/puppetlabs-rpmbuilder, and >> https://github.com/puppetlabs/puppetlabs-debbuilder. This is very >> much >> a work in progress, but a model for how packaging automation could >> improve across many Puppet Labs projects. >> >> Puppet Dashboard 1.2.11 Changelog >> ============================ >> Boyan Tabakov (2): >> d6619a1 Updated debian postinst script to link properly the >> settings.yml file to puppet-dashboard config directory. >> a8a97dc Fixed linking of database.yml in debian postinst to use >> absolute path. >> >> Erik Dalén (1): >> ffe7bdd (#15196) Make items per page configurable >> >> Jani Mikkonen (1): >> df5a20a Autorefresh link gen fixed to work under passenger >> >> Joshua Harlan Lifton (2): >> c64c013 (#10477) Clean up log files by moving message to debug >> a8e2586 Fix spec tests broken by commit c64c013 >> >> Matthaus Litteken (2): >> 8806f60 (#15291) Add Vendor tag to Puppet-Dashboard spec file >> c0592af Update CHANGELOG, VERSION for 1.2.11 >> >> Moses Mendoza (10): >> 3abf9df Move packaging up to ext to avoid conflict with pkging repo >> 71d302a re-template debian changelog >> 4201990 Fixup redhat spec erb for packaging repo >> 42030b8 Remove obsolete package.rake file >> da22ddd Add packaging data files >> 8f03e6c Add VERSION file to source >> e6f6acf Fixup Rakefile for setting up packaging repo >> 101af75 Update supported debian versions and cows >> 20a109a Update mocks to accurately reflect dashboard builds >> dd88f0b Update CHANGELOG, VERSION for 1.2.11-rc1 >> >> Will Hopper (2): >> 63a0634 Add release number variable to packaging rake task >> 5eccef2 (#15523) Update Debian packaging rake task to create the >> debian and original tarballs >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.