Installation of DHIS2 on Windows 10 Laptop

Dear Francis, please sign up for the user mailing list

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

···

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Knut,
Is it possible to link the live instance with the existing database(backup)?

Regards,

···

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Peter Dotto Lubambi,

Skype: plubambi
Mobile: +255 786 087 087

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Yes indeed. Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then make sure the statements point to Postgres and to your particular backup database.

Regards,

Knut

···

On Wed, Sep 13, 2017 at 1:38 PM, Peter D Lubambi plubambi@gmail.com wrote:

Hi Knut,
Is it possible to link the live instance with the existing database(backup)?

Regards,

Peter Dotto Lubambi,

Skype: plubambi
Mobile: +255 786 087 087

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2
···

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Here are some old slides that may be helpful

Installation on a Windows laptop.pptx (63.3 KB)

···

On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring knutst@gmail.com wrote:

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

You should see a black MS-DOS command window with lots of text. My guess is that there is something wrong with the connection file, probably one of the following

a) the database name

b) the postgres username

c) the password

···

On Wed, Sep 13, 2017 at 2:46 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi knut,

This the error am experiencing when access DHIS2 live on localhost.

HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable

Powered by Jetty://

Regards,

Francis

On Wed, Sep 13, 2017 at 3:06 PM, Knut Staring knutst@gmail.com wrote:

Here are some old slides that may be helpful

On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring knutst@gmail.com wrote:

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

So your database is called dhis2?

And dhis.conf is in C:/PATH/Projects/DHIS2/1/dhis-live/conf ?

Then I think the problem may be that you have set the Environment variable DHIS2_HOME: C:\DHIS2, which is a different location.

···

On Wed, Sep 13, 2017 at 4:04 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi Knut,

kindly assist

dhis.config file.
connection.dialect = org.hibernate.dialect.PostgreSQLDialect

connection.driver_class = org.postgresql.Driver

connection.url = jdbc:postgresql:dhis2

connection.username = dhis

connection.password = Dhis2017

connection.schema = update

PostgreSQL connection

username: dhis

password: Dhis2017

Have attached the log file.

On Wed, Sep 13, 2017 at 3:48 PM, Knut Staring knutst@gmail.com wrote:

You should see a black MS-DOS command window with lots of text. My guess is that there is something wrong with the connection file, probably one of the following

a) the database name

b) the postgres username

c) the password

On Wed, Sep 13, 2017 at 2:46 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi knut,

This the error am experiencing when access DHIS2 live on localhost.

HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable

Powered by Jetty://

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:06 PM, Knut Staring knutst@gmail.com wrote:

Here are some old slides that may be helpful

On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring knutst@gmail.com wrote:

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Or just delete the environment variable

···

On Wed, Sep 13, 2017 at 4:20 PM, Fran Kimonye fkimonye@gmail.com wrote:

My database name is dhis2.

I should set my Environment variable DHIS_HOME: C:/PATH/Projects/DHIS2/1/dhis-live/conf

On Wed, Sep 13, 2017 at 5:09 PM, Knut Staring knutst@gmail.com wrote:

So your database is called dhis2?

And dhis.conf is in C:/PATH/Projects/DHIS2/1/dhis-live/conf ?

Then I think the problem may be that you have set the Environment variable DHIS2_HOME: C:\DHIS2, which is a different location.

On Wed, Sep 13, 2017 at 4:04 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi Knut,

kindly assist

dhis.config file.
connection.dialect = org.hibernate.dialect.PostgreSQLDialect

connection.driver_class = org.postgresql.Driver

connection.url = jdbc:postgresql:dhis2

connection.username = dhis

connection.password = Dhis2017

connection.schema = update

PostgreSQL connection

username: dhis

password: Dhis2017

Have attached the log file.


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:48 PM, Knut Staring knutst@gmail.com wrote:

You should see a black MS-DOS command window with lots of text. My guess is that there is something wrong with the connection file, probably one of the following

a) the database name

b) the postgres username

c) the password

On Wed, Sep 13, 2017 at 2:46 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi knut,

This the error am experiencing when access DHIS2 live on localhost.

HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable

Powered by Jetty://

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:06 PM, Knut Staring knutst@gmail.com wrote:

Here are some old slides that may be helpful

On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring knutst@gmail.com wrote:

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Francis,

It is still connecting to H2 instead of Postgres (database type: H2).

One possibility is that this is because your file has aquired an unwanted extension like .txt. It looks to you as if it is called dhis.conf, but in reality it is called dhis.conf.txt

You can also just delete the top rows in dhis.conf, those that relate to H2.

Knut

···

On Wed, Sep 13, 2017 at 4:44 PM, Fran Kimonye fkimonye@gmail.com wrote:

plus the two log file

On Wed, Sep 13, 2017 at 5:41 PM, Fran Kimonye fkimonye@gmail.com wrote:

Have deleted and the error still persist.

Attached find my dhis.config file

On Wed, Sep 13, 2017 at 5:21 PM, Knut Staring knutst@gmail.com wrote:

Or just delete the environment variable

On Wed, Sep 13, 2017 at 4:20 PM, Fran Kimonye fkimonye@gmail.com wrote:

My database name is dhis2.

I should set my Environment variable DHIS_HOME: C:/PATH/Projects/DHIS2/1/dhis-live/conf


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 5:09 PM, Knut Staring knutst@gmail.com wrote:

So your database is called dhis2?

And dhis.conf is in C:/PATH/Projects/DHIS2/1/dhis-live/conf ?

Then I think the problem may be that you have set the Environment variable DHIS2_HOME: C:\DHIS2, which is a different location.

On Wed, Sep 13, 2017 at 4:04 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi Knut,

kindly assist

dhis.config file.
connection.dialect = org.hibernate.dialect.PostgreSQLDialect

connection.driver_class = org.postgresql.Driver

connection.url = jdbc:postgresql:dhis2

connection.username = dhis

connection.password = Dhis2017

connection.schema = update

PostgreSQL connection

username: dhis

password: Dhis2017

Have attached the log file.


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:48 PM, Knut Staring knutst@gmail.com wrote:

You should see a black MS-DOS command window with lots of text. My guess is that there is something wrong with the connection file, probably one of the following

a) the database name

b) the postgres username

c) the password

On Wed, Sep 13, 2017 at 2:46 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi knut,

This the error am experiencing when access DHIS2 live on localhost.

HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable

Powered by Jetty://

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:06 PM, Knut Staring knutst@gmail.com wrote:

Here are some old slides that may be helpful

On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring knutst@gmail.com wrote:

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Fran,
Have you managed to resolve this? I have not seen further email trail on it, from the log file, it seems the dhis2 home folder is not writable. What are the permissions on this folder i.e. /home/dhis/config ? you can use ls -lrt to list the permissions for the config directory

  • INFO 2017-10-04 21:38:41,989 Directory /home/dhis/config is not writeable (DefaultLocationManager.java [localhost-startStop-1])
···

rgds

David
2017-10-04 21:55 GMT+03:00 Fran Kimonye fkimonye@gmail.com:

Hi Team,
Am running DHIS2 2.27 on Ubuntu 16.04…

This the error i get when i start tomcat 8. Attached.

Regards,

Francis

On Thu, Sep 14, 2017 at 1:10 PM, Fran Kimonye fkimonye@gmail.com wrote:

Received. Thanks David. Let me look at it

On Thu, Sep 14, 2017 at 12:43 PM, David Muturi dnmuturi@gmail.com wrote:

Hi Fran,
Please see attached dhis2 installation guide on Windows with screenshots, hope it helps.

rgds

David

2017-09-14 11:04 GMT+03:00 Knut Staring knutst@gmail.com:

Hi Francis,

It is still connecting to H2 instead of Postgres (database type: H2).

One possibility is that this is because your file has aquired an unwanted extension like .txt. It looks to you as if it is called dhis.conf, but in reality it is called dhis.conf.txt

You can also just delete the top rows in dhis.conf, those that relate to H2.

Knut


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Wed, Sep 13, 2017 at 4:44 PM, Fran Kimonye fkimonye@gmail.com wrote:

plus the two log file


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 5:41 PM, Fran Kimonye fkimonye@gmail.com wrote:

Have deleted and the error still persist.

Attached find my dhis.config file

On Wed, Sep 13, 2017 at 5:21 PM, Knut Staring knutst@gmail.com wrote:

Or just delete the environment variable

On Wed, Sep 13, 2017 at 4:20 PM, Fran Kimonye fkimonye@gmail.com wrote:

My database name is dhis2.

I should set my Environment variable DHIS_HOME: C:/PATH/Projects/DHIS2/1/dhis-live/conf


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 5:09 PM, Knut Staring knutst@gmail.com wrote:

So your database is called dhis2?

And dhis.conf is in C:/PATH/Projects/DHIS2/1/dhis-live/conf ?

Then I think the problem may be that you have set the Environment variable DHIS2_HOME: C:\DHIS2, which is a different location.

On Wed, Sep 13, 2017 at 4:04 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi Knut,

kindly assist

dhis.config file.
connection.dialect = org.hibernate.dialect.PostgreSQLDialect

connection.driver_class = org.postgresql.Driver

connection.url = jdbc:postgresql:dhis2

connection.username = dhis

connection.password = Dhis2017

connection.schema = update

PostgreSQL connection

username: dhis

password: Dhis2017

Have attached the log file.


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:48 PM, Knut Staring knutst@gmail.com wrote:

You should see a black MS-DOS command window with lots of text. My guess is that there is something wrong with the connection file, probably one of the following

a) the database name

b) the postgres username

c) the password

On Wed, Sep 13, 2017 at 2:46 PM, Fran Kimonye fkimonye@gmail.com wrote:

Hi knut,

This the error am experiencing when access DHIS2 live on localhost.

HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable

Powered by Jetty://

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 3:06 PM, Knut Staring knutst@gmail.com wrote:

Here are some old slides that may be helpful

On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring knutst@gmail.com wrote:

Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++

Then configure the file like the first section here:

https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html

In the following line, you can change the last word (dhis2) to the name of your particular Postgres database:

connection.url = jdbc:postgresql:dhis2


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 1:58 PM, Fran Kimonye fkimonye@gmail.com wrote:

Thanks Knut. Have joined the user mailing list. How do i connect to PostgreSQL using DHIS2 live? If i use DHIS2 live will i be able to customize the forms?

Regards,

Francis


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring knutst@gmail.com wrote:

Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users

To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres.

Regards,

Knut

On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye fkimonye@gmail.com wrote:

i'm a newbie in DHIS2. How do i install .WAR far in windows 10 64 bit. I have installed Postgress, MS SQL, Tomcat through Xammp and Bitnami tomcatstack-8.5.20-0.
I manged to start the services for Bitnami tomcatstack-8.5.20-0 and loade the .WAR file though i cannot open the link. The error reads 403 Access Denied.
Kindly assist. Thank you.


Regards,
Francis

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

thanks for sharing ppt file. is this still works for DHIS2 2.32 and above ? what postgres version and extension we need if this still work

The main change is that you now need to include the PostGIS extension and make sure your database is PostGIS enabled.

I have removed the old version numbers (just get the latest Java, Postgres and DHIS2 .war file)

Installation on a Windows laptop.pptx (60.5 KB)

Thanks, this is very use full

thankyou. but i cant get windows setup of DHIS2 in the web

Deprecated “Live” Windows version. Please see latest docs on installing DHIS2: Installation - DHIS2 Documentation