[ckan-dev] how to enable file upload CKAN 2.0

George Sattler George.sattler at xvt.com.au
Wed Mar 27 01:03:24 UTC 2013


Hi Vìtor

Thanks for your response. Yes, as far as following the Filestore configuration documentation guide, I believe I have everything setup. On your advice, I updated to the last commit in master but I result was the same.

The relevant values in my development.ini file are:

ckan.storage.bucket = my-bucket-name
ofs.impl = pairtree
ofs.storage_dir = /home/administrator/pyenv/filestore
ckan.site_url = http://opendata.xvt.com.au/data

I have pairtree installed and the storage directory /home/administrator/pyenv/filestore is owned by 'administrator' and is empty.
The ckan.site_url is appended with /data which is my ckan homepage.

Please let me know, Vìtor (or anyone else) of anything further I might be able to try to track down the cause of my problem.
Cheers
George


From: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Vitor Baptista
Sent: Wednesday, 27 March 2013 6:08 AM
To: CKAN Development Discussions
Subject: Re: [ckan-dev] how to enable file upload CKAN 2.0

Hi George,

Do you still have this problem? If so, could you double check if you set up the configuration values in http://docs.ckan.org/en/latest/filestore.html#local-file-storage, including ckan.site_url, and that the folder you put into ofs.storage_dir is created, empty, and writable to CKAN's user?

I've tried setting this up locally and everything seems fine. If you're still unable to do it, could you try updating CKAN to the latest commit in master and retrying?

Cheers,
Vítor Baptista.
2013/3/22 George Sattler <George.sattler at xvt.com.au<mailto:George.sattler at xvt.com.au>>
Hi Everyone
I'm new to CKAN. I've stalled 2.0 and followed 'setup and configuration' on this page http://docs.ckan.org/en/ckan-1.8/filestore.html for local file storage but I find that when I try to add data to a dataset, I don't have a file upload option - only 'Link to a file' and 'Link to an API'

After following the instructions for local storage, I should have a file upload option, right?

Thanks if anyone can give me any advice on this.

George

________________________________
This email and any files transmitted with it is confidential and intended solely for the use of the addressee. The unauthorised use, dissemination, forwarding, printing or copying of this communication is strictly prohibited. If you have received this communication in error please notify us immediately by reply email and destroy this communication. Any views and opinions presented in this email are solely those of the author and do not necessarily represent the views of XVT Solutions. The recipient should check this email and any attachments for viruses. XVT Solutions accepts no liability for the content of this email, and any damage caused by any viruses that could potentially be transmitted through this email.

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130327/aa2f74cb/attachment-0001.html>


More information about the ckan-dev mailing list