[ckan-dev] filestore

Michael Reichart michael.reichart at gmail.com
Tue Oct 8 11:24:59 UTC 2013


hmm,

seems nobody has this problem except for us...

Can anybody tell me which part is responsible for the directory structure -
is this pairtree or ofs or is this made in ckan? Are special versions of
pairtree or argparse necessary??

Pairtree==0.7.1-T
argparse==1.2.1


Any hints where to start searching?

thanks
michael


2013/10/3 Michael Reichart <michael.reichart at gmail.com>

> Hi,
>
> we're using CKAN 1.7 and have an issue with the filestore functionality.
> In general it works perfect, but some times we're running into "Failed to
> get credentials" errors.
>
> So I found, that files are not put into folders with date and time but
> instead are all copied to the same directory (the directory of the bucket).
> If a file already exists in that directory, the above error is displayed.
>
> But I'm sure that putting the files in the right directories has worked
> when we tested this about a year ago ...
>
> Has anybody any hint why this would stop working? Which component manages
> the creating of the datetime directories? Obviously this should not be an
> rights issue, because uploading files works normally.
>
> my ckan.ini settings:
>
> ## Required
> ## 'Bucket' (subdirectory for file based storage) to use for file storage
> ckan.storage.bucket = data
>
> ## Optional
> ## maximum content size for uploads in bytes, defaults to 1Gb
> #ckanext.storage.max_content_length = 10000000
>
> ## OFS configuration
> ofs.impl = pairtree
> # directory on disk for data storage (should be empty)
> ofs.storage_dir = /dataUpload
>
>
> thanks
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131008/81adece0/attachment-0001.html>


More information about the ckan-dev mailing list