[ckan-dev] DataStorer extension location question
Salman.Haq at neustar.biz
Wed Jun 13 16:48:01 BST 2012
For ckan.plugins, specify "archiver" and "datastorer".
That's what I've done for my instance.
I would suggest that you post the tail of your CKAN error log
(/var/log/apache2/<instance>.error.log) in a gist.
Also useful would be your actual ini files (apache, nginx, and ckan).
On 6/13/12 11:30 AM, "Jim Craner" <jim at codeforamerica.org> wrote:
>I really appreciate the suggestions, but I think at this point I need
>explicit "You should do X, Y, and Z" instructions.
>I'm pretty sure I've tried a hundred variations on everything you
>suggested over the past couple of weeks, I *have* been referring to
>that "how to install an extension" doc, I've tried every combination
>of file structure for the extensions folder and I'm still getting
>Since this (allegedly :-) works on the Data Hub, could someone with
>access to that server just go in and tell me how the "datastorer"
>extension is set up in the CKAN source folder structure? And what the
>plugins line is? (I've seen "datastore archiver" and "datastorer
>archive" but never know which was correct).
>My offer to help improve this part of the documentation -- assuming I
>can ever get this figured out -- still stands as well :-)
>On Wed, Jun 13, 2012 at 5:01 AM, Sean Hammond <sean.hammond at okfn.org>
>>> I'm (still) trying to get the DataStorer functionality working. I
>>> have a fresh install of CKAN 1.7 from source running on a local Ubuntu
>>> 10.04 LTS virtual environment.
>>> I got CKAN running, the FileStore running, everything is looking good.
>>> I really need some help clarifying the instructions found here:
>>> These instructions *seem* to work, as in no errors are generated
>>> during the installation, but I'm really not sure where the files are
>>> supposed to end up. When I try to access CKAN after installing this,
>>> I get a 500 error and the logs report "PluginNotFoundException:
>>> My CKAN folder is in my server's user's home folder, ~/pyenv/src/ckan.
>>> The config file is ~/pyenv/src/ckan/datasc.ini. The installation
>>> instructions instruct me to download a zip file which becomes an
>>> okfn-ckanext-datastorer folder (which I've tried putting in ~ and in
>>> ~/pyenv/src/ckan). When I run the installation, it generates a
>>> subfolder "ckanext" which has its own folder within it called
>>> "datastorer". I tried putting that final "datastorer" folder directly
>>> in my existing ~/pyenv/src/ckan/ckanext folder and got the same
>>> results. So at that point I'm completely lost.
>>> Can someone who has DataStorer running successfully tell me a) what to
>>> put in my CONFIG.ini file's plugins line (e.g., "datastore archiver"
>>> or "datastorer archiver" or something else)? And b) what should the
>>> correct file structure be for the datastorer extension folder(s)
>>> relative to the root of my CKAN installation?
>> Hi Jim,
>> I haven't installed datastorer before myself, but I would try reading
>> the 'Installing an Extension' docs here:
>> and then you might understand the ckanext-datastorer README a little
>> better. For example, I would probably download ckanext-datastorer by
>> activating my virtualenv and running a command like:
>> pip install -e
>> this should download and install ckanext-datastorer in a directory like:
>> You might still need to run pip install -r on the requires.txt file in
>> the ckanext-datastorer directory.
>> In the plugins line of your CKAN ini file you should add something like:
>> plugins = datastorer
>> A couple of things you can do to test whether datastorer is working
>> properly are to run CKAN with `paster serve development.ini` and see if
>> it crashes with something like 'Plugin not found: datastorer', run the
>> datastorer tests, something like:
>> nosetests tests
>> from the ckanext-datastorer directory, and to try out the
>> `paster datastorer` command (from the pyenv/src/ckan directory).
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>Jim Craner, 2012 Fellow
>Code for America
>jim at codeforamerica.org
>ckan-dev mailing list
>ckan-dev at lists.okfn.org
More information about the ckan-dev