[ckan-dev] clean the database

Pabitra Dash pkdash_reena at hotmail.com
Thu Mar 6 15:05:05 UTC 2014


I will give that a try. Thanks Nigel.
 
 
Pabitra

 
From: nigel.babu at okfn.org
Date: Thu, 6 Mar 2014 11:32:07 +0530
To: ckan-dev at lists.okfn.org
Subject: Re: [ckan-dev] clean the database

Hi Pabitra,

Can you run the command from the ckan source directory? i.e. cd to `/usr/lib/ckan/default/src/ckan` and run paster db clean -c /etc/ckan/default/production.ini.


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 09:38, Pabitra Dash <pkdash_reena at hotmail.com> wrote:





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 		 	   		  

_______________________________________________

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/20140306/f1d3f247/attachment-0003.html>


More information about the ckan-dev mailing list