Thanks, I had to add environment to make it pick the right creds: sudo rake RAILS_ENV=production reports:schematize Also turns out I did not need this, as I was not running a previous version of dashboard :)
On Sat, Apr 9, 2011 at 6:56 PM, Patrick <[email protected]> wrote: > > On Apr 9, 2011, at 12:16 PM, Mohamed Lrhazi wrote: > >> On Fri, Apr 8, 2011 at 11:35 AM, Nigel Kersten <[email protected]> wrote: >>> On Thu, Apr 7, 2011 at 11:27 PM, Patrick <[email protected]> wrote: >>>> >>>> On Apr 4, 2011, at 1:39 PM, Patrick wrote: >>>> >>>>> >>>>> On Apr 4, 2011, at 11:48 AM, Jacob Helwig wrote: >>>>> >>>>>> 1. Reports will need to be converted to a new schematized format when >>>>>> upgrading (#5459). Rather than just storing reports as serialized >>>>>> YAML in the database as is currently done in v1.0.4, they are now in a >>>>>> set of tables that allows them to be queried more easily and faster. >>>>>> This conversion can be a slow process if you have a long history of >>>>>> reports, so it's not done as part of `rake db:migrate`. Instead, >>>>>> there is a rake task (#5535) that will do the conversion for you, >>>>>> converting newer reports first and able to be resumed if it's >>>>>> interrupted just by rerunning it. >>>>>> >>>>>> `rake reports:schematize` >>>>> >> >> >> For non rails people... How do I actually run that command? as which >> user, if it matters, and in which directory? > > If you are using Debian or similar and installed using apt, it should be run > from /usr/share/puppet-dashboard . If you're not, you might want to check > that location. > > If that's the wrong directory, it should say something like "Can't find > Rakefile". > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
