[ECODP-dev] Reseting new database error with vocabularies

Dimitrios Mexis dimitrios.mexis at tenforce.com
Mon Sep 9 09:04:17 UTC 2013


The following in our test environment for release one, fail:

paster --plugin=ckan db clean -c $CKAN_INI
paster --plugin=ckan db init  -c $CKAN_INI
paster --plugin=ckanext-ecportal ecportal create-all-vocabs -c $CKAN_INI

please read the following also for your help....

Thank you

On 6/09/2013 10:33, Dimitrios Mexis wrote:
> Hello John/David,
>
> under directory */applications/ecodp/users/ecodp/ckan/bin/*
> there is the script :
> /applications/ecodp/users/ecodp/ckan/bin/*ckan_reset_db.sh*
>
> which uses the paster commands to reset database and import the 
> necessary staff.
>
> We get an error. check please the last line. the db is unusable later. 
> Keep in mind that we reset a database that is already upgraded.
>
> Initialising DB: SUCCESS
> Creating the search_query table ...
> done.
> Creating the search_popular_latest table ...
> done.
> Creating the search_popular_approved table ...
> done.
> Creating the search_query_date index ...
> done.
> 2013-09-06 10:25:50,739 INFO  [ckan.lib.search] Rebuilding search index...
> 2013-09-06 10:25:50,742 INFO  [ckan.lib.search] Rebuilding the whole 
> index...
> 2013-09-06 10:25:50,825 INFO  [ckan.lib.search] Finished rebuilding 
> search index.
> 2013-09-06 10:25:50,832 INFO  [ckan.lib.search] Commited pending 
> changes on the search index
> *2013-09-06 10:25:51,853 ERROR [root] Command "create-all-vocabs" not 
> recognized* 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130909/fcfdcdc9/attachment.html>


More information about the ecodp-dev mailing list