[ckan-dev] FileStore integration with Apache does not work

Sean Hammond sean.hammond at okfn.org
Mon Apr 1 20:21:31 UTC 2013


> I am running latest CKAN 2.x master on my server by integrating into
> Apache 2.2.22 web server according to the description under
> http://docs.ckan.org/en/latest/deployment.html . So far, this works.
> 
> But I have problems with the activation of the FileStore functionality
> described under http://docs.ckan.org/en/latest/filestore.html.
> 
> The FileStore works if I run CKAN using the built-in web server. The
> "Upload a file" link in the dataset resource window is available and
> uploading a file works.
> 
> But if I run CKAN with Apache (WSGI) with the same config, the FielStore
> add-on does not work - it's not even visible in CKAN. It seems that it
> is not initialized at all. There is no "Upload a file" link in the
> dataset resource window at all. There are no error messages or any other
> hints in the log files except of periodic Apache errors like:
> 
> ########
> [Mon Apr 01 09:48:37 2013] [error] Exception AttributeError: "'NoneType'
> object has no attribute 'clearing'" in <bound method
> PluginEnvironment.__del__ of  Services for Environment '<default>'
> [Mon Apr 01 09:48:37 2013] [error] > ignored
> ########
> 
> Is there anybody who has integrated FileStore with Apache WSGI
> successfully? How can I debug this (Apache Python stuff)?

I'd try the suggestions listed in this answer:

http://stackoverflow.com/questions/13971622/error-when-trying-to-upload-a-file-to-ckan-failed-to-get-credentials-for-stora/13971623#13971623




More information about the ckan-dev mailing list