[ckan-dev] clean the database

Pabitra Dash pkdash_reena at hotmail.com
Wed Mar 5 04:08:51 UTC 2014


Thanks Nigel. I am just following the documentation to run the command without the knowledge of how exactly it works. I am not sure what you mean by 'checking the right database'. I know apache is using the production.ini config file. What else I should be checking? When I run the 'db clean' command I don't see any output at the terminal. 
 
Pabitra


 
From: nigel.babu at okfn.org
Date: Wed, 5 Mar 2014 09:28:58 +0530
To: ckan-dev at lists.okfn.org
Subject: Re: [ckan-dev] clean the database

Hi Pabitra,

That *should* work. I've recently used it successfully. Are you checking the right database / using the right config file?


Nigel Babu


Developer  |  @nigelbabu

The Open Knowledge Foundation

Empowering through Open Knowledge

http://okfn.org/  |  @okfn  |  OKF on Facebook  |  Blog  |  Newsletter






CKAN | http://ckan.org/ | @CKANproject | the world’s leading open-source data portal platform




On 5 March 2014 00:41, Pabitra Dash <pkdash_reena at hotmail.com> wrote:





Hi All,
 
I am using the following command (from my virtualenv) to clean the ckan database. However, it does not delete contents from the database.
 
 paster --plugin=ckan db clean 
--config=/etc/ckan/default/production.ini

Pabitra

 		 	   		  

_______________________________________________

ckan-dev mailing list

ckan-dev at lists.okfn.org

https://lists.okfn.org/mailman/listinfo/ckan-dev

Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev





_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140304/b0589057/attachment-0003.html>


More information about the ckan-dev mailing list