← Back to team overview

dhis2-users team mailing list archive

Re: How do I change databases in dhis2?

 

Hello,

@*Gerald* I'm running my installation DHIS2 installation on Ubuntu Server
14.04.

*@Knut *The contents of my */home/dhis/tomcat-dhis *are as below:

dhis@websever:~$ ls tomcat-dhis
bin  conf  logs  temp  webapps  work


Below is my complete environment:
______________________
Web API:Browse it here <http://www.agriculture.gov.zm:8080/api>Current user:
adminVersion:2.21Build revision:21057Build date:2016-03-22 11:55User
agent:Mozilla/5.0
(Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/49.0.2623.87 Safari/537.36Server date:2016-03-22 23:11Last analytics
table generation:Time since last analytics table generation:Last analytics
table runtime:Environment variable:DHIS2_HOMEExternal configuration
directory:/home/dhis/configDatabase type:DhisH2Database name:
dhis2;DB_CLOSE_DELAY=-1;MVCC=TRUE;ALIAS_COLUMN_NAME=TRUE;DB_CLOSE_ON_EXIT=FALSEDatabase
user:saJava opts:-Xmx7500m -Xms4000mJava
home:/usr/lib/jvm/java-8-oracle/jreJava
temporary directory:/home/dhis/tomcat-dhis/tempJava version:1.8.0_74Java
vendor:Oracle CorporationOS name:LinuxOS architecture:amd64OS version:
4.2.0-34-genericServer memory:Mem Total in JVM: 4924 Free in JVM: 2984 Max
Limit: 6667CPU cores:8

________________________

On Tue, Mar 22, 2016 at 11:23 PM, Adam Dawoodjee <adam.daveed@xxxxxxxxx>
wrote:

> Following Knut Staring's guidance here
> https://lists.launchpad.net/dhis2-users/msg03086.html. I have:
>
> 1. copied the setenv.sh file from tomcat-dhis/bin/setenv.sh to
> /usr/share/tomcat
> 7/bin/setenv.sh
> 2. Completed steps *8.3.5 and 8.3.6 of the implementation guide* and *placed
> the dhis.conf file in the /home/dhis/config* directory.
>
> But my database still says H2.
>
> Kind regards,
> Adam
>

Follow ups

References