# Upgrading from 2.5 to 2.20 using dhis-live

**URL:** <https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961>\
**Category:** Support - Assistance technique\
**Created:** [25 September 2015 17:58 UTC](https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961 "2015-09-25T17:58:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_Thomas](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gerald_thomas/32/43379_2.png) [@Gerald\_Thomas](https://community.dhis2.org/u/Gerald_Thomas)\
**Post date:** [25 September 2015 17:58 UTC](https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961/1 "2015-09-25T17:58:51Z")

</div>

Dear All,  
I am trying to upgrade one of our local (standalone server) instances  
of dhis2 which was running on version 2.5. I exported the database and  
import the database into a dhis2-live version 2.20.  
The application is running on windows and my database is PostgreSQL  
9.3.9. The upgrade was successful but when i ran "Data Set Report" for  
a particular Data Set; i am getting a blank report.

I tried to do "Analytic and Data Mart" but i am getting error. Please  
find the attached log files.

Please can someone help?

[dhis.log](https://dhis2.b-cdn.net/uploads/default/original/1X/fd0e98e223d762d8aa71f17299c5674ad52878f2.log) (211 KB)

[dhis-analytics-table.log](https://dhis2.b-cdn.net/uploads/default/original/1X/076e2b6e47fb9a9572a0adc000ef73cbaf0847d6.log) (5.92 KB)

> **···**
>
> --  
> Regards,
> 
> Gerald

---

<div class="post-metadata">

**Author:** ![Alex\_Tumwesigye](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@Alex\_Tumwesigye](https://community.dhis2.org/u/Alex_Tumwesigye)\
**Post date:** [26 September 2015 14:22 UTC](https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961/2 "2015-09-26T14:22:41Z")

</div>

Dear Thomas,

2.5 is a very old version. There has been many changes till 2.20.

I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to 2.8…2.20.

It is a simple process you need to stop the tomcat server, then dump the war file and start the server again for each version.for version 2.13 to 2.20.you may need to run upgrade scripts before dumping the war file.

You can get war files from [https://apps.dhis2.org/ci](https://apps.dhis2.org/ci)

Good luck.

Alex

> **···**
>
> On Friday, September 25, 2015, gerald thomas [gerald17006@gmail.com](mailto:gerald17006@gmail.com) wrote:
> 
> > Dear All,
> > 
> > I am trying to upgrade one of our local (standalone server) instances
> > 
> > of dhis2 which was running on version 2.5. I exported the database and
> > 
> > import the database into a dhis2-live version 2.20.
> > 
> > The application is running on windows and my database is PostgreSQL
> > 
> > 9.3.9. The upgrade was successful but when i ran “Data Set Report” for
> > 
> > a particular Data Set; i am getting a blank report.
> > 
> > I tried to do “Analytic and Data Mart” but i am getting error. Please
> > 
> > find the attached log files.
> > 
> > Please can someone help?
> > 
> > –
> > 
> > Regards,
> > 
> > Gerald
> 
> –  
> Alex Tumwesigye
> 
> Technical Advisor - DHIS2 (Consultant),  
> Ministry of Health/AFENET
> 
> Kampala
> 
> Uganda
> 
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> 
> IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant
> 
> +256 774149 775, + 256 759 800161
> 
> "I don’t want to be anything other than what I have been - one tree hill "

---

<div class="post-metadata">

**Author:** ![Gerald\_Thomas](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gerald_thomas/32/43379_2.png) [@Gerald\_Thomas](https://community.dhis2.org/u/Gerald_Thomas)\
**Post date:** [26 September 2015 19:32 UTC](https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961/3 "2015-09-26T19:32:21Z")

</div>

Dear Alex,

> From the link you shared i am only seeing 2.10 to 2.20. I can't find

2.6 to 2.9. Please help me and don't forget i am using dhis2-live for  
my test case.

> **···**
>
> On 9/26/15, Alex Tumwesigye \<atumwesigye@gmail.com\> wrote:
> 
> > Dear Thomas,
> > 
> > 2.5 is a very old version. There has been many changes till 2.20.  
> > I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to  
> > 2.8......2.20.  
> > It is a simple process you need to stop the tomcat server, then dump the  
> > war file and start the server again for each version.for version 2.13 to  
> > 2.20.you may need to run upgrade scripts before dumping the war file.
> > 
> > You can get war files from [DHIS2 App Hub](https://apps.dhis2.org/ci)
> > 
> > Good luck.
> > 
> > Alex
> > 
> > On Friday, September 25, 2015, gerald thomas \<gerald17006@gmail.com\> wrote:
> > 
> > > Dear All,  
> > > I am trying to upgrade one of our local (standalone server) instances  
> > > of dhis2 which was running on version 2.5. I exported the database and  
> > > import the database into a dhis2-live version 2.20.  
> > > The application is running on windows and my database is PostgreSQL  
> > > 9.3.9. The upgrade was successful but when i ran "Data Set Report" for  
> > > a particular Data Set; i am getting a blank report.
> > > 
> > > I tried to do "Analytic and Data Mart" but i am getting error. Please  
> > > find the attached log files.
> > > 
> > > Please can someone help?
> > > 
> > > --  
> > > Regards,
> > > 
> > > Gerald
> > 
> > --  
> > Alex Tumwesigye
> > 
> > Technical Advisor - DHIS2 (Consultant),  
> > Ministry of Health/AFENET  
> > Kampala  
> > Uganda
> > 
> > IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> > 
> > IT Specialist (Servers, Networks and Security, Health Information Systems -  
> > DHIS2 ) & Solar Consultant
> > 
> > +256 774149 775, + 256 759 800161
> > 
> > "I don't want to be anything other than what I have been - one tree hill "
> 
> --  
> Regards,
> 
> Gerald

---

<div class="post-metadata">

**Author:** ![Gerald\_Thomas](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gerald_thomas/32/43379_2.png) [@Gerald\_Thomas](https://community.dhis2.org/u/Gerald_Thomas)\
**Post date:** [26 September 2015 20:29 UTC](https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961/4 "2015-09-26T20:29:50Z")

</div>

Dear All,  
Where can i download old DHIS 2 live (2.7 or 2.9 or  
2.10............2.19). I am trying to see if that will help me analyze  
my issues properly.

Please help me.

> **···**
>
> On 9/26/15, gerald thomas \<gerald17006@gmail.com\> wrote:
> 
> > Dear Alex,  
> > From the link you shared i am only seeing 2.10 to 2.20. I can't find  
> > 2.6 to 2.9. Please help me and don't forget i am using dhis2-live for  
> > my test case.
> > 
> > On 9/26/15, Alex Tumwesigye \<atumwesigye@gmail.com\> wrote:
> > 
> > > Dear Thomas,
> > > 
> > > 2.5 is a very old version. There has been many changes till 2.20.  
> > > I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to  
> > > 2.8......2.20.  
> > > It is a simple process you need to stop the tomcat server, then dump the  
> > > war file and start the server again for each version.for version 2.13 to  
> > > 2.20.you may need to run upgrade scripts before dumping the war file.
> > > 
> > > You can get war files from [DHIS2 App Hub](https://apps.dhis2.org/ci)
> > > 
> > > Good luck.
> > > 
> > > Alex
> > > 
> > > On Friday, September 25, 2015, gerald thomas \<gerald17006@gmail.com\> \>\> wrote:
> > > 
> > > > Dear All,  
> > > > I am trying to upgrade one of our local (standalone server) instances  
> > > > of dhis2 which was running on version 2.5. I exported the database and  
> > > > import the database into a dhis2-live version 2.20.  
> > > > The application is running on windows and my database is PostgreSQL  
> > > > 9.3.9. The upgrade was successful but when i ran "Data Set Report" for  
> > > > a particular Data Set; i am getting a blank report.
> > > > 
> > > > I tried to do "Analytic and Data Mart" but i am getting error. Please  
> > > > find the attached log files.
> > > > 
> > > > Please can someone help?
> > > > 
> > > > --  
> > > > Regards,
> > > > 
> > > > Gerald
> > > 
> > > --  
> > > Alex Tumwesigye
> > > 
> > > Technical Advisor - DHIS2 (Consultant),  
> > > Ministry of Health/AFENET  
> > > Kampala  
> > > Uganda
> > > 
> > > IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> > > 
> > > IT Specialist (Servers, Networks and Security, Health Information Systems  
> > > -  
> > > DHIS2 ) & Solar Consultant
> > > 
> > > +256 774149 775, + 256 759 800161
> > > 
> > > "I don't want to be anything other than what I have been - one tree hill  
> > > "
> > 
> > --  
> > Regards,
> > 
> > Gerald
> 
> --  
> Regards,
> 
> Gerald

---

<div class="post-metadata">

**Author:** ![Alex\_Tumwesigye](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@Alex\_Tumwesigye](https://community.dhis2.org/u/Alex_Tumwesigye)\
**Post date:** [2 October 2015 14:39 UTC](https://community.dhis2.org/t/upgrading-from-2-5-to-2-20-using-dhis-live/2961/5 "2015-10-02T14:39:32Z")

</div>

Dear Gerald,

Please see this link [http://dhis2.org/download/releases/2.X/dhis.war](http://dhis2.org/download/releases/2.X/dhis.war) where X is the version.

I managed to get from 2.7 onwards.

Alex

> **···**
>
> On Sat, Sep 26, 2015 at 11:29 PM, gerald thomas [gerald17006@gmail.com](mailto:gerald17006@gmail.com) wrote:
> 
> > Dear All,
> > 
> > Where can i download old DHIS 2 live (2.7 or 2.9 or
> > 
> > 2.10…2.19). I am trying to see if that will help me analyze
> > 
> > my issues properly.
> > 
> > Please help me.
> > 
> > On 9/26/15, gerald thomas [gerald17006@gmail.com](mailto:gerald17006@gmail.com) wrote:
> > 
> > > Dear Alex,
> > 
> > > From the link you shared i am only seeing 2.10 to 2.20. I can’t find
> > 
> > > 2.6 to 2.9. Please help me and don’t forget i am using dhis2-live for
> > 
> > > my test case.
> > 
> > > 
> > 
> > > On 9/26/15, Alex Tumwesigye [atumwesigye@gmail.com](mailto:atumwesigye@gmail.com) wrote:
> > 
> > > > Dear Thomas,
> > 
> > > >
> > 
> > > > 2.5 is a very old version. There has been many changes till 2.20.
> > 
> > > > I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to
> > 
> > > > 2.8…2.20.
> > 
> > > > It is a simple process you need to stop the tomcat server, then dump the
> > 
> > > > war file and start the server again for each version.for version 2.13 to
> > 
> > > > 2.20.you may need to run upgrade scripts before dumping the war file.
> > 
> > > >
> > 
> > > > You can get war files from [https://apps.dhis2.org/ci](https://apps.dhis2.org/ci)
> > 
> > > >
> > 
> > > > Good luck.
> > 
> > > >
> > 
> > > > Alex
> > 
> > > >
> > 
> > > > On Friday, September 25, 2015, gerald thomas [gerald17006@gmail.com](mailto:gerald17006@gmail.com)
> > 
> > > > wrote:
> > 
> > > >
> > 
> > > > > Dear All,
> > 
> > > > > I am trying to upgrade one of our local (standalone server) instances
> > 
> > > > > of dhis2 which was running on version 2.5. I exported the database and
> > 
> > > > > import the database into a dhis2-live version 2.20.
> > 
> > > > > The application is running on windows and my database is PostgreSQL
> > 
> > > > > 9.3.9. The upgrade was successful but when i ran “Data Set Report” for
> > 
> > > > > a particular Data Set; i am getting a blank report.
> > 
> > > > >
> > 
> > > > > I tried to do “Analytic and Data Mart” but i am getting error. Please
> > 
> > > > > find the attached log files.
> > 
> > > > >
> > 
> > > > >
> > 
> > > > > Please can someone help?
> > 
> > > > >
> > 
> > > > > –
> > 
> > > > > Regards,
> > 
> > > > >
> > 
> > > > > Gerald
> > 
> > > > >
> > 
> > > >
> > 
> > > >
> > 
> > > > –
> > 
> > > > Alex Tumwesigye
> > 
> > > >
> > 
> > > > Technical Advisor - DHIS2 (Consultant),
> > 
> > > > Ministry of Health/AFENET
> > 
> > > > Kampala
> > 
> > > > Uganda
> > 
> > > >
> > 
> > > > IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> > 
> > > >
> > 
> > > > IT Specialist (Servers, Networks and Security, Health Information Systems
> > 
> > > > -
> > 
> > > > DHIS2 ) & Solar Consultant
> > 
> > > >
> > 
> > > > +256 774149 775, + 256 759 800161
> > 
> > > >
> > 
> > > > "I don’t want to be anything other than what I have been - one tree hill
> > 
> > > > "
> > 
> > > >
> > 
> > > 
> > 
> > > 
> > 
> > > –
> > 
> > > Regards,
> > 
> > > 
> > 
> > > Gerald
> > 
> > >
> 
> > –
> > 
> > Regards,
> > 
> > Gerald
> 
> –
> 
> Alex Tumwesigye
> 
> Technical Advisor - DHIS2 (Consultant),  
> Ministry of Health/AFENET
> 
> Kampala
> 
> Uganda
> 
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> 
> IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant
> 
> +256 774149 775, + 256 759 800161
> 
> "I don’t want to be anything other than what I have been - one tree hill "
