dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #04993
Re: Fwd: Upgrade of Customize war file
Hi Gerald,
I agree with Bob that upgrading version by version should be the safest
(though quite tedious) way.
However, it might be worth thinking through what data is actually on this
server and perhaps consider alternative ways of bringing the data (and
metadata) over to a 2.16 instance, either through exports or directly in
the database.
Probably you are quite familiar with the data (how much, what kind)?
Maintenance -> Data Statistics should give you an oveview of the amounts of
data and metadata.
On Thu, Jul 31, 2014 at 1:31 PM, gerald thomas <gerald17006@xxxxxxxxx>
wrote:
> Dear all,
> Any help about for the following war files (2.6, 2.7, 2.8, 2.9,
> etc)?????????????
> Please it is urgent!!!!
>
> ---------- Forwarded message ----------
> From: gerald thomas <gerald17006@xxxxxxxxx>
> Date: Tue, 29 Jul 2014 17:00:21 +0000
> Subject: Re: [Dhis2-users] Upgrade of Customize war file
> To: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
> Cc: dhis2-users <dhis2-users@xxxxxxxxxxxxxxxxxxx>
>
> Dear All,
> Bob, this is a different server from that which is located at the
> national office or those at the regional areas.
> If i am to upgrade this dhis server in steps from 2.6, 2.7, 2.8,
> ........... 2.15; where can i find these war files????
>
> On 7/29/14, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> > Hi Gerald
> >
> > Is this the server in the national office or one of the district servers
> > (you can respond to me off list)? My understanding is that Romain
> already
> > went through the process of upgrading the old national database on the
> > linode. So what you are taking about now is something different to what
> > has already been done?
> >
> > Anyway, the very first task would be to get a backup dump of the postgres
> > database which is running on the standalone machine and the customised
> dhis
> > 2.5 war file. Then if you are deploying on a cloud server you might want
> > to start by just replicating exactly what is there ie.
> >
> > 1. create a dhis instance (using the dhis2-tools package)
> > 2. restore the backup database to the dhis instance database
> > 3. deploy the old war file which you have from the standalone. (you can
> > use the -f option of dhis2-deploy-war for this).
> >
> > From here you should verify that you have an exact replica running on the
> > linode of what you had before on the standalone.
> >
> > Upgrading to later dhis2 versions is generally best done incrementally
> (of
> > course from 2.5 to 2.15 is a long way to go). But you are likely to get
> > the best results by working through 2.6, 2.7, 2.8 ... etc. Doing this on
> > the linode with dhis2-deploy-war should be reasonably painless, with each
> > increment taking no more than a few minutes.
> >
> > Before setting forth on this exercise it is also probably worthwhile to
> try
> > and fix any inconsistencies and metadata integrity issues that might
> exist
> > in the old database. Getting rid of things like orphaned categoryoptions
> > and the like at this stage might prevent issues arising as you attempt to
> > upgrade.
> >
> > One big caveat ...
> >
> > I am a bit nervous to read that you have a customised war file.
> Naturally
> > these customisations will not be present in later stock versions of dhis
> > that you upgrade to. What you will need to do depends entirely on what
> the
> > customisations are. Can you give some more info on how the war is
> > customised (and maybe by who)?
> >
> > Regards
> > Bob
> >
> >
> > On 29 July 2014 11:05, gerald thomas <gerald17006@xxxxxxxxx> wrote:
> >
> >> Dear All,
> >> One of your health unit in Sierra Leone has a standalone dhis2 server
> >> which is running on a customize war file version 2.5 and build
> >> version 4995. Currently, they had decided to upgrade it and host it on
> >> a cloud server.
> >> Please can some help me with the procedure of upgrading this server.
> >>
> >> --
> >> Regards,
> >>
> >> Gerald
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help : https://help.launchpad.net/ListHelp
> >>
> >
>
>
> --
> Regards,
>
> Gerald
>
>
>
> --
> Regards,
>
> Gerald
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
--
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
References