[ckan-discuss] ckan-discuss Digest, Vol 26, Issue 11

Sean Hammond sean.hammond at okfn.org
Wed Mar 21 11:42:46 GMT 2012


On 20/03/2012 14:09, Haq, Salman wrote:
>> Date: Tue, 20 Mar 2012 11:48:18 +0000
>> From: Sean Hammond <sean.hammond at okfn.org>
>> Subject: Re: [ckan-discuss] Help with enabling file upload
>> To: ckan-discuss at lists.okfn.org
>> Message-ID: <4F686E82.7050800 at okfn.org>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>>> So I've got a fresh CKAN instance running. When I try to upload
>>> resource files for my dataset, I get the following error: "Failed to
>>> get credentials for storage upload. Upload cannot proceed."
>>
>> Are you logged in when you try to upload a file?
>>
>> There is a known issue with ckanext-storage, that it will present an
>> upload button to users who are not logged in, but then it will not let
>> them upload and will give them this error message instead.
>>
>> http://trac.ckan.org/ticket/1553
>>
>> Let me know whether you can upload successfully when logged in
> 
> 
> Sean,
> 
> Yes, I am logged-in when the attempt to upload a file fails.
> 
> I can also verify that issue #1553 exists in v1.6 but is unrelated to my
> original problem which could very well be a misconfiguration.

Hmm. One possibility that comes to mind is UNIX file permissions. Does
the user that CKAN runs as have permissions to write to the ofs.storage_dir?

But I'm guessing here. Is there perhaps a traceback/error message in
your terminal and log file that you could send?



More information about the ckan-discuss mailing list