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 <[email protected]> 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 <[email protected]> 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 [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.
>

-- 
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.

Reply via email to