Hi Pablo,

thank you for trying to help out.

I solved the problem by moving my custom "logs"-dir
to /var/log/scrapyd/[my_custom_logs_dir] where scrapyd has write
permissions instead of inside the scrapy project folder.


On Tue, Dec 31, 2013 at 4:20 PM, Pablo Hoffman <[email protected]>wrote:

> Are you using the official scrapyd package for ubuntu with no
> modifications to scrapyd config?
>
>
> On Fri, Dec 27, 2013 at 10:46 AM, Andreas Bloch <[email protected]> wrote:
>
>> I'm trying to deploy my default project with scrapyd using the "scrapy
>> deploy default" command.
>>
>> I receive the following error:
>>
>> Deploying to project "my_crawlers" in
>> http://xx.xxx.xxx.xxx:6800/addversion.json
>> Server response (200):
>> {"status": "error", "message": "OSError: [Errno 13] Permission denied:
>> 'logs'"}
>>
>> I've tried running the "scrapy deploy default" both as root and user.
>> I've also tried changing both the write permissions and the user/group
>> permissions the of the logs directory, which resides in same directory as
>> the spiders directory
>>
>> -rw-rw-r-- 1 ubuntu root        0 Dec 19 14:54 __init__.py
>> -rw-rw-r-- 1 ubuntu root      739 Dec 19 14:54 items.py
>> drwxr-xr-x 3 root   root     4096 Dec 27 13:15 logs/           <== tried
>> changing both user and group for this dir
>> -rw-rw-r-- 1 ubuntu root    18232 Dec 19 14:54 pipelines.py
>> -rw-rw-r-- 1 ubuntu root     1812 Dec 27 13:19 settings.py
>> drwxrwxr-x 2 ubuntu root     4096 Dec 23 09:39 spiders/
>>
>> Is there another logs directory or what could be wrong?
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "scrapy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/scrapy-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "scrapy-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/scrapy-users/-7jYLX4HUV8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to