Bram Vogelaar
2011-Sep-05 11:59 UTC
[Puppet Users] puppet dashboard 1.2.0 install problem on ubuntu 10.04
*Hello folks** **I have trying to install puppet dashboard on our ubuntu 10.04 setup but am currently stuck on the following problem.**after the installation and the db sync the application refuses import any reports. In the background job notifier i find error messages like this one below.** **Does anyone know how to proceed from here?** **bram** * *Importing report report-1540-1.yaml* at *2011-09-05 11:49 UTC* Permission denied - /usr/share/puppet-dashboard/spool/report-1540-1832.yaml Backtrace <http://puppetmaster.pkpd.gorlaeus.net:3000/delayed_job_failures> /usr/share/puppet-dashboard/app/models/report.rb:86:in `read'' /usr/share/puppet-dashboard/app/models/report.rb:86:in `create_from_yaml_file''* * -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Denmat
2011-Sep-05 23:08 UTC
Re: [Puppet Users] puppet dashboard 1.2.0 install problem on ubuntu 10.04
Hi, Not sure of the exact answer but can your www-data user read that directory? What user is trying to access the file? What''s the perms on the directory? Cheers, Den On 05/09/2011, at 21:59, Bram Vogelaar <mylists@teambla.com> wrote:> Hello folks > > I have trying to install puppet dashboard on our ubuntu 10.04 setup but am currently stuck on the following problem. > after the installation and the db sync the application refuses import any reports. In the background job notifier i find error messages like this one below. > > Does anyone know how to proceed from here? > > bram > > Importing report report-1540-1.yaml at 2011-09-05 11:49 UTC > Permission denied - /usr/share/puppet-dashboard/spool/report-1540-1832.yaml > Backtrace > /usr/share/puppet-dashboard/app/models/report.rb:86:in `read'' > /usr/share/puppet-dashboard/app/models/report.rb:86:in `create_from_yaml_file'' > -- > 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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Bram Vogelaar
2011-Sep-06 16:50 UTC
Re: [Puppet Users] puppet dashboard 1.2.0 install problem on ubuntu 10.04
turns out that the dashboard workers need to run as root instead of www-data because the fact that the reports are create by the root user On 6 September 2011 01:08, Denmat <tu2bgone@gmail.com> wrote:> Hi, > > Not sure of the exact answer but can your www-data user read that > directory? What user is trying to access the file? What''s the perms on the > directory? > > Cheers, > Den > > > On 05/09/2011, at 21:59, Bram Vogelaar <mylists@teambla.com> wrote: > > *Hello folks** > **I have trying to install puppet dashboard on our ubuntu 10.04 setup but > am currently stuck on the following problem.**after the installation and > the db sync the application refuses import any reports. In the background > job notifier i find error messages like this one below.* * > **Does anyone know how to proceed from here?* * > **bram* * > * *Importing report report-1540-1.yaml* at *2011-09-05 11:49 UTC* Permission denied - /usr/share/puppet-dashboard/spool/report-1540-1832.yaml > Backtrace<http://puppetmaster.pkpd.gorlaeus.net:3000/delayed_job_failures> > /usr/share/puppet-dashboard/app/models/report.rb:86:in `read'' /usr/share/puppet-dashboard/app/models/report.rb:86:in > `create_from_yaml_file''* > * > > -- > 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+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.