Re: [Dhis2-users] [Dhis2-devs] How to unistall dhis2 instance

2015-06-16 Thread Bob Jolliffe
Hi Gerald I think you are being over ambitious to try and run in a 1G virtual machine. In fact even to run XEN server on 2G machine doesn't make a lot of sense. I can understand you might want to explore XEN features, but you are very squeezed. I am not sure what the minimum heap size required

Re: [Dhis2-users] [Dhis2-devs] How to unistall dhis2 instance

2015-06-16 Thread gerald thomas
Dear All, For your information the dhis instance is running on an ubuntu 14.04 server VM on an XEN Server. The XEN Server has 2Gb RAM so i am using 1Gb on the ubuntu VM that is running the dhis instance. From the manual https://www.dhis2.org/doc/snapshot/en/implementer/html/re01.html I was

Re: [Dhis2-users] [Dhis2-devs] How to unistall dhis2 instance

2015-06-16 Thread Bob Jolliffe
Hi Gerald I think you neglected to mention you are using dhis2-tools to create this instance. When you run 'dhis2-instance-create myinstance' a few things happen: 1. a new user called myinstance is created with a home dir of /var/lib/dhis2/myinstance 2. a new database role called myinstance is

Re: [Dhis2-users] [Dhis2-devs] How to unistall dhis2 instance

2015-06-15 Thread gerald thomas
Dear Dan, When I drop the database, the role for such database is still there; but that can be removed also. Now, if I try to create that instance again it will say instance already created. So how can remove and create everything from scratch. Please remember I will the same instance name.

Re: [Dhis2-users] [Dhis2-devs] How to unistall dhis2 instance

2015-06-15 Thread Dan Cocos
You can simply remove the war file and the directory from your servlet container and drop the database. On Jun 15, 2015, at 8:08 PM, gerald thomas gerald17...@gmail.com wrote: Dear All, Please can anyone help give me the steps how to uninstall an instance in dhis2. -- Regards,