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
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
Read carefully all the upgrade notes at:
https://www.dhis2.org/222-upgrade
https://www.dhis2.org/223-upgrade
https://www.dhis2.org/224-upgrade
shutdown nginx with
sudo service nginx stop
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
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 gerald17006@gmail.com 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 : dhis2-users@lists.launchpad.net
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
bobj
(Bob Jolliffe)
12 July 2016 13:35
3
Important first step is make sure you make a snapshot of database and
keep a copy of the original war file (in case you need to revert back
to where you started).
You might also consider revamping your postgres by upgrading to
postgres 9.5 (apparently significant performance gains according to
Lars) and installing postgis according to instructions here
http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s03.html#d0e832
if you want to use new clustering capability. But you can do this as
a separate step to the general upgrade.
···
On 12 July 2016 at 13:55, Knut Staring <knutst@gmail.com> 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:
DHIS2 Overview - DHIS2
DHIS2 Overview - DHIS2
DHIS2 Overview - DHIS2
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 <gerald17006@gmail.com> > 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 : dhis2-users@lists.launchpad.net
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
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Knut,
Thanks for your support. I had already upgraded successfully.
···
On 7/12/16, Knut Staring <knutst@gmail.com> 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:
DHIS2 Overview - DHIS2 <https://www.dhis2.org/220-upgrade> ;
DHIS2 Overview - DHIS2 <https://www.dhis2.org/221-upgrade> ;
DHIS2 Overview - DHIS2 <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 <gerald17006@gmail.com> > 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 : dhis2-users@lists.launchpad.net
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
Excellent, glad to hear it.
Knut
···
On 12 Jul 2016 4:22 p.m., “gerald thomas” gerald17006@gmail.com wrote:
Knut,
Thanks for your support. I had already upgraded successfully.
On 7/12/16, Knut Staring knutst@gmail.com wrote:
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
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 >
shutdown nginx with
sudo service nginx stop
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
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 gerald17006@gmail.com > > > 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 : dhis2-users@lists.launchpad.net
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