Thanks for sharing this. As the team and our members have a look at this, you can check out this link; docs.dhis2.org for more information on implementing DHIS2.
Hi I reinstalled and still get the ‘503’ error.
I attach the log file.
It doesn’t seem to pick up line starts so I have gone through and put in breaks at the *WARN messages to make it a bit easier to read.dhis20190401CB.log (51.3 KB)
Hello Claire,
Sorry to see you are having many issues - most lately with DHIS2 Live, it seems? I just had a brief look at dhis.conf, and it seems to be a bit particular, in that it is set up to assume that you have Postgres installed and have created a user “dhis” with password “dhis” which is the owner of an empty database called “dev”. Does that description fit your setup?
Hi @Knut_Staring, according to the instructions in the documentation there is a built in database in DHIS2 Live and all you need is JRE installed for it to work. So I installed JRE.
I would request you install PostgreSQL 9.6 or higher in your system and try using the instructions @Knut_Staring has shared. @Lars had shared some release notes you can check out on 2.31 upgrade notes that specifies the use of PostgreSQL 9.6 or higher version.
I will also try it out on my machine and see if it’s successful based on the information offered. Kindly let us know if this works out well.
Hi @clairebre, unfortunately I am not sure the instructions are accurate anymore (have not had time to fully explore this), so for recent versions of DHIS2 the best approach may be to install Postgres 10 or 11: https://www.openscg.com/bigsql/postgresql/installers.jsp/
Yes I have had a few issues – but working through them is how you learn so I am OK with that as long as I have support at hand
Are you based in Oslo Knut?
I suspect that dhis2 live may in fact no longer work with current versions of DHIS2, not least because that as of 2.29 DHIS2 requires postgresql so the embedded H2 database may no longer work.
I am the original author of dhis2-live (nearly 10 years ago) and I am not sure I would recommend it. I have not used it myself for many years. I believe Knut probably used it more than most for tests and demos and the like. Probably it is end of life now unless there is a champion wanting to revive it.
I think for now, if you want to run dhis2 on windows you will get more mileage out of putting the pieces together “manually” rather than the (admittedly convenient) bundling that dhis2-live offers.
I am sure there are quite a few people who are working with DHIS2 on windows in our community who could share some instructions of what they do. Its not that difficult but just needs somebody to share their tried and tested recipe(s) … unfortunately I am not one of them at the moment :-(. I am thinking people like Knut.
I will have a quick look at Knut’s instructions for getting DHIS2 Live to work and then I will revert to the full installation instructions
which were sent to me by Shurajit Dhutta.
I have already hit an issue with these instructions and have asked for support on this. It was whilst I was reading support material
that I came across the DHIS2-Live option and decided to try it out to see whether I could get a faster start.
I have installations in progress on two machines so I will try one with DHIS2-Live and keep going with debugging the ‘manual’ option
on the other. I have no interest in reviving DHIS2-Live if it is end of life., rather I just want to get a working setup that I can use to set up prototype Children’s Environmental Health Indicators for the Pacific Islands.
I still use DHIS2 Live with postgres occassionally and it does work, you just have to modify the conf file to point to the database you have created in postgres. That being said, as bob suggested it is better to get it up and running via tomcat if possible. When you start up tomcat do you get a message that the server has started up in XXX ms