Excellent, glad to hear it. Knut On 12 Jul 2016 4:22 p.m., "gerald thomas" <[email protected]> wrote:
> Knut, > Thanks for your support. I had already upgraded successfully. > > On 7/12/16, Knut Staring <[email protected]> wrote: > > 3. Download all the upgrade scripts and war files: > > > > for ver in 22 23 24; > > do > > wget -O dhis-2.$ver.war > > https://www.dhis2.org/download/releases/2.$ver/dhis.war; > > wget > > > https://raw.githubusercontent.com/dhis2/dhis2-utils/master/resources/sql/ > > upgrade-2$ver.sql > > done > > > > 4. Read carefully all the upgrade notes at: > > https://www.dhis2.org/222-upgrade <https://www.dhis2.org/220-upgrade> > > https://www.dhis2.org/223-upgrade <https://www.dhis2.org/221-upgrade> > > https://www.dhis2.org/224-upgrade <https://www.dhis2.org/221-upgrade> > > > > 5. shutdown nginx with > > sudo service nginx stop > > > > 6. start deploying war files and checking logs as we go. Apply > > upgrade scripts as necessary > > > > dhis2-deploy-war -f dhis-2.22.war dhis2; tail -f > > /var/lib/dhis2/dhis2/logs/catalina.out > > > > cat upgrade-223.sql |psql dhis2 > > dhis2-deploy-war -f dhis-2.23.war dhis2; tail -f > > /var/lib/dhis2/dhis2/logs/catalina.out > > > > dhis2-deploy-war -f dhis-2.24.war dhis2; tail -f > > /var/lib/dhis2/dhis2/logs/catalina.out > > > > 7. clear nginx cache and restart > > sudo -s > > rm /var/cache/nginx/* > > exit > > sudo service nginx start > > > > On Mon, Jul 11, 2016 at 9:41 PM, gerald thomas <[email protected]> > > wrote: > > > >> Dear All, > >> I have an urgent request to upgrade our national instance from 2.21 to > >> 2.24 which i am a bit skeptical about due to the various issues from > >> my colleagues using DHIS2. Please can I have the simplest steps to > >> achieve my goal and secondly, is it advisable to use the 2.24 on our > >> national instance. > >> > >> Thanks in advance for all your help. > >> > >> -- > >> Regards, > >> > >> Gerald > >> > >> _______________________________________________ > >> Mailing list: https://launchpad.net/~dhis2-users > >> Post to : [email protected] > >> Unsubscribe : https://launchpad.net/~dhis2-users > >> More help : https://help.launchpad.net/ListHelp > >> > > > > > > > > -- > > Knut Staring > > Dept. of Informatics, University of Oslo > > Norway: +4791880522 > > Skype: knutstar > > http://dhis2.org > > > > > -- > Regards, > > Gerald >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp

