[ckan-dev] Resource upload error
sajjad.anwar at apu.edu.in
Tue Mar 20 06:26:58 GMT 2012
I've setup CKAN and now have issues with uploading files and resources.
After creating a dataset, when I try adding a resource file, I get the
following error "Failed to get credentials for storage upload. Upload
When I go to /storage/upload to upload a file, I get a "Server Error".
I followed the steps here
http://packages.python.org/ckanext-storage. Edited the config file to
add the following:
## 'Bucket' (subdirectory for file based storage) to use for file storage
ckan.storage.bucket = /home/<user>/<data_folder>
ckan.plugins = storage
ofs.impl = pairtree
ofs.storage_dir = /home/<user>/<data_folder>
I checked the apache logs and this is what I can see:
"Error - <class
'pairtree.storage_exceptions.NotAPairtreeStoreException'>: , referer:
Also, the /api/storage/auth/form/<label>/ GET call doesn't seem to be working.
I guess this is the problem.
More information about the ckan-dev