문제

I have installed the latest version of CKAN 2.2 and I have setup the filestore using the documentation from this link http://docs.ckan.org/en/latest/filestore.html.

I got 'Unable to authenticate upload' error when I try to upload the data to my local installation of ckan.

I have installed pip install argparse and pip install pairtree.

I have set the ofs.impl and ofs.storage_dir values in config file.

ofs.storage_dir directory exist and it have the right permissions.

Apache error log not showing any error.

In the terminal It is showing an error:

Error - <type 'exceptions.IOError'>: [Errno 13] Permission denied: '/var/lib/ckan/default/pairtree_version0_1'

complete error log: http://pastebin.com/Y9rDWbbH

도움이 되었습니까?

해결책

The UNIX permissions of your /var/lib/ckan/default/ directory (or some of its contents) seems to be wrong. Try:

sudo chown -R www-data /var/lib/ckan/default
sudo chmod -R u+rwx /var/lib/ckan/default
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top