← Back to team overview

dhis2-users team mailing list archive

Re: Fwd: Upgrade of Customize war file

 

On the dhis2.org site and the continuous integration server there are war
files going back to version 2.10.  If anybody knows of an archive of older
war files then please let Gerald know.  Failing which I guess he (or some
kind samaritan) will have to build them.

You might also be able to migrate from 2.5 to 2.10.  All of the sql diffs
should be there in 2.10 so its worth a try.  In practice gong one step at a
time will have been better tested.

But Gerald, you still have not replied regarding the customisation.  How is
it customised and/or who customised it?  Whether upgrading from a
customised 2.5 to a stock 2.6 will work at all is going to be completely
dependent on what is customised.



On 31 July 2014 12:31, 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
>

Follow ups

References