dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32251
Re: dhis upgrade from 2.0.5 to 2.15
Hi, Thanks a lot for information. I did manage to upgrade to 2.10. The datasets are not appearing but the data is available from the database, only displaying is a problem
Moemedi Ntunyane
Co-founder KeyInConsulting
Date: Thu, 21 Aug 2014 10:58:06 +0300
Subject: Re: [Dhis2-devs] dhis upgrade from 2.0.5 to 2.15
From: senyoni@xxxxxxxxx
To: moemedi.ntunyane@xxxxxxxxxxx
CC: busoye@xxxxxxxx; bobjolliffe@xxxxxxxxx; dhis2-devs@xxxxxxxxxxxxxxxxxxx
Hello MoemediYou only need to run the script when you want to upgrade from 2.13->2.14 OR 2.1->2.15. Run them before you start tomcat.
Wilfred F. Senyoni
Computer Science and Engineering Department
College of Information and Communication Technologies
University of Dar es salaam
On Wed, Aug 20, 2014 at 6:14 PM, Moemedi Ntunyane <moemedi.ntunyane@xxxxxxxxxxx> wrote:
Hi Adebusoye
Did you upload run any scripts? just uploaded the war file and restored the old database backup but the
problem is everything seems fine but cannot display information related to dataset.
Regards,
Moemedi Ntunyane
Co-founder KeyInConsulting
Subject: Re: [Dhis2-devs] dhis upgrade from 2.0.5 to 2.15
From: busoye@xxxxxxxx
Date: Wed, 20 Aug 2014 15:47:02 +0100
CC: knutst@xxxxxxxxx; dhis2-devs@xxxxxxxxxxxxxxxxxxx; moemedi.ntunyane@xxxxxxxxxxx
To: bobjolliffe@xxxxxxxxx
Hi,
I posted a similar requirement a few months back. From my experience 2.0 to 2.10 worked fine.
Regards,
Busoye
On 20 Aug 2014, at 12:12, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
Yes in theory they "should". Though there was much which changed between 2.05 and 2.10. All of the table altering stuff from earlier versions should be accumulated in newer versions but I recall that sometimes things did not go smoothely with major jumps in versions. I guess the simple fact is that incremental upgrades tend to get tested pretty heavily. Jumping versions becomes more of a leap of faith :-)
But I do agree, if someone can verify that 2.05 to 2.10 works fine, then it would be good to hear.
I suspect the bigger problems will arise because the metadata integrity control on earlier versions was a good bit looser, so there will be hiccups caused by inconsistencies in categoryoptions, groupsets etc due to "broken" metadata in old databases. Certainly before attempting such an upgrade I would consider trying to repair as much of these as possible, though again without tools it is not always really easy.
Of course the most important thing is to make sure you do all of these experiments in the full knowledge that you have a complete, verified/restored backup copy of the source database.
Meanwhile I guess the answer to my earlier question is that nobody has setup a dhis war museum.
RegardsBob
On 20 August 2014 11:25, Knut Staring <knutst@xxxxxxxxx> wrote:
I thought Dan's point was that it would not be necessary to go through every version?
But if it's necessary, maybe it would suffice to describe in simple steps how to build old versions.
On Wed, Aug 20, 2014 at 12:15 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
The question of upgrading from very old dhis2 versions came up recently in another post.
It emerged then that we don't seem to have a historical archive (museum!) of war artefacts going back beyond 2.10 on http://apps.dhis2.org/ci. We do have the source code tagged back as far as 2.4. Has anybody kept hold of these historic build or should we consider rebuilding and making available? Who would volunteer to do that?
On 19 August 2014 22:59, Knut Staring <knutst@xxxxxxxxx> wrote:
Hi Moemedi,Not sure, but I think you could try upgrading directly from 2.0.5 to 2.13 first, and then run the first script. Then 2.14, then script, then 2.15.
If things don't work, you should provide the actual error messages.
On Tue, Aug 19, 2014 at 6:17 PM, Moemedi Ntunyane <moemedi.ntunyane@xxxxxxxxxxx> wrote:
Hi All
I am upgrading DHIS 2.0.5 using postgreSQL DB, is there a shortcut other than using incremental way like 2.0.5, 2.0.6 ......to 2.15. Directly executing scripts from http://www.dhis2.org/download/resources/sql/convert-fixed-attributes-to-dynamic.sql gives errors like column does not exist.
Moemedi Ntunyane
Co-founder KeyInConsulting
From: moemedi.ntunyane@xxxxxxxxxxx
To: dan@xxxxxxxxxxxx
CC: dhis2-devs@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Dhis2-devs] dhis upgrade from 2.0.5 to 2.15
Date: Tue, 19 Aug 2014 16:47:46 +0200
Hi Dan
Thanks a lot.
Regards,
Moemedi Ntunyane
Co-founder KeyInConsulting
Subject: Re: [Dhis2-devs] dhis upgrade from 2.0.5 to 2.15
From: dan@xxxxxxxxxxxx
Date: Tue, 19 Aug 2014 10:40:56 -0400
CC: dhis2-devs@xxxxxxxxxxxxxxxxxxx
To: moemedi.ntunyane@xxxxxxxxxxx
Hello Moemedi,
The upgrades should happen automatically except for 2.13->2.14 and 2.14->2.15 Those scripts can be found here https://www.dhis2.org/downloads
2.13->2.14 http://www.dhis2.org/download/resources/sql/convert-fixed-attributes-to-dynamic.sql
2.14->2.15 http://www.dhis2.org/download/resources/sql/rename-patient-to-trackedentity.sql
Thanks,Dan
Dan Cocos
BAO Systems
www.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Aug 19, 2014, at 6:40 AM, Moemedi Ntunyane <moemedi.ntunyane@xxxxxxxxxxx> wrote:
Hi Developers, where can I get the upgrade scripts from the very lowest dhis 2.0.6 so that i do incremental
Moemedi Ntunyane
Co-founder KeyInConsulting
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
--
Knut StaringDept. of Informatics, University of Oslo+4791880522
http://dhis2.org
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
--
Knut StaringDept. of Informatics, University of Oslo+4791880522
http://dhis2.org
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
References
-
dhis upgrade from 2.0.5 to 2.15
From: Moemedi Ntunyane, 2014-08-19
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Dan Cocos, 2014-08-19
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Moemedi Ntunyane, 2014-08-19
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Moemedi Ntunyane, 2014-08-19
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Knut Staring, 2014-08-19
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Bob Jolliffe, 2014-08-20
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Knut Staring, 2014-08-20
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Bob Jolliffe, 2014-08-20
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Adebusoye Anifalaje, 2014-08-20
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Moemedi Ntunyane, 2014-08-20
-
Re: dhis upgrade from 2.0.5 to 2.15
From: Wilfred Senyoni, 2014-08-21