Re: [Dhis2-users] program registration

2015-12-09 Thread Abyot Gizaw
Hi Nami,

Which version of DHIS2 are you using?


---
Thank you,
Abyot.

On Wed, Dec 9, 2015 at 10:04 AM, Nami Ghadri 
wrote:

> Hello,
>
>
>
> I am registering patients in tracker capture for a  program form
> (attributes) using “Save and add new”
>
>
>
> The first patient is registered successfully and gives me “Success
> Registration completed” then the form appears again and when try to entered
> another patient it gives me nothing!
>
>
>
> In the console debug it gives me the following:
>
>
>
> Post
>
>
> Angular.js:87
>
>
>
> http://192.168.1.102:8089/dhis2.21/api/enrollments 409 (OK)
>
>
>
> Note: the line 87 in angular.jsis:
>
>
>
> u}catch(Z){if("json"!==u)throw Z;}F.send(l||null)}if(0 p&(p.then)&(s)}}function Ie(){var
> b="{{",a="}}";this.startSymbol=function(a){return
> a?(b=a,this):b};this.endSymbol=function(b){return
> b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function
> f(a){return"\\"+a}function g(f,g,u,s){function M(c){return
> c.replace(k,b).replace(n,a)}function v(a){try{var
> b=a;a=u?e.getTrusted(u,b):e.valueOf(b);var c;if(s&&!y(a))c=a;else
> if(null==a)c="";
>
>
>
> the pointer points at F.send in the first line
>
>
>
>
>
> any idea about it
>
>
>
> thanks in advance
>
> ___
> 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
>
>
___
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


Re: [Dhis2-users] program registration

2015-12-09 Thread Abyot Gizaw
Hi Nami,

Yes, you have found out a bug.

It is now fixed.

Please check for revision 20957 or 2.21.


---
Thank you,
Abyot.

On Wed, Dec 9, 2015 at 10:50 AM, Nami Ghadri 
wrote:

> Hi Abyot,
>
>
>
>
>
> Dhis2.21 build version is 20935
>
>
>
> Build date is 2015-12-02 10:00
>
>
>
> Thanks in advance
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Wednesday, December 9, 2015 11:31 AM
> *To:* Nami Ghadri 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] program registration
>
>
>
> Hi Nami,
>
>
>
> Which version of DHIS2 are you using?
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Wed, Dec 9, 2015 at 10:04 AM, Nami Ghadri 
> wrote:
>
> Hello,
>
>
>
> I am registering patients in tracker capture for a  program form
> (attributes) using “Save and add new”
>
>
>
> The first patient is registered successfully and gives me “Success
> Registration completed” then the form appears again and when try to entered
> another patient it gives me nothing!
>
>
>
> In the console debug it gives me the following:
>
>
>
> Post
>
>
> Angular.js:87
>
>
>
> http://192.168.1.102:8089/dhis2.21/api/enrollments 409 (OK)
>
>
>
> Note: the line 87 in angular.jsis:
>
>
>
> u}catch(Z){if("json"!==u)throw Z;}F.send(l||null)}if(0 p&(p.then)&(s)}}function Ie(){var
> b="{{",a="}}";this.startSymbol=function(a){return
> a?(b=a,this):b};this.endSymbol=function(b){return
> b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function
> f(a){return"\\"+a}function g(f,g,u,s){function M(c){return
> c.replace(k,b).replace(n,a)}function v(a){try{var
> b=a;a=u?e.getTrusted(u,b):e.valueOf(b);var c;if(s&&!y(a))c=a;else
> if(null==a)c="";
>
>
>
> the pointer points at F.send in the first line
>
>
>
>
>
> any idea about it
>
>
>
> thanks in advance
>
>
> ___
> 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
>
>
>
___
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


Re: [Dhis2-users] program registration

2015-12-09 Thread Nami Ghadri
I will try it 

 

Thanks very much for very quick response

 

Regards,

 

From: Abyot Gizaw [mailto:aby...@gmail.com] 
Sent: Wednesday, December 9, 2015 12:11 PM
To: Nami Ghadri 
Cc: DHIS 2 Users list 
Subject: Re: [Dhis2-users] program registration

 

Hi Nami,

 

Yes, you have found out a bug. 

 

It is now fixed. 

 

Please check for revision 20957 or 2.21.




 

---

Thank you,

Abyot.

 

On Wed, Dec 9, 2015 at 10:50 AM, Nami Ghadri  > wrote:

Hi Abyot,

 

 

Dhis2.21 build version is 20935

 

Build date is 2015-12-02 10:00

 

Thanks in advance

 

 

From: Abyot Gizaw [mailto:aby...@gmail.com  ] 
Sent: Wednesday, December 9, 2015 11:31 AM
To: Nami Ghadri  >
Cc: DHIS 2 Users list  >
Subject: Re: [Dhis2-users] program registration

 

Hi Nami,

 

Which version of DHIS2 are you using?




 

---

Thank you,

Abyot.

 

On Wed, Dec 9, 2015 at 10:04 AM, Nami Ghadri  > wrote:

Hello, 

 

I am registering patients in tracker capture for a  program form (attributes) 
using “Save and add new” 

 

The first patient is registered successfully and gives me “Success Registration 
completed” then the form appears again and when try to entered another patient 
it gives me nothing! 

 

In the console debug it gives me the following:

 

Post

   
Angular.js:87

 

http://192.168.1.102:8089/dhis2.21/api/enrollments 409 (OK)

 

Note: the line 87 in angular.jsis:

 

u}catch(Z){if("json"!==u)throw Z;}F.send(l||null)}if(0 
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

 

 

___
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


Re: [Dhis2-users] [Dhis2-devs] Data Approval for Programmes

2015-12-09 Thread Lars Helge Øverland
HI Pamod,

yes we have this feature coming in 2.22:

https://blueprints.launchpad.net/dhis2/+spec/approval-for-event-data

regards,

Lars


On Wed, Dec 9, 2015 at 4:26 AM, Pamod Amarakoon  wrote:

> Dear All,
>
> Is there a provision to add data accept/approval for program data. The use
> case is facility manager should approve data entered for a program stage by
> data entry operator prior to be viewed by district manager or province
> manager.
>
> Thanx.
>
> --
> Regards,
> Pamod Amarakoon
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.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


Re: [Dhis2-users] Upgrading from 2.16 to 2.21 (using dhis2-tools)

2015-12-09 Thread Knut Staring
Thanks Bob,

This is very helpful, and should be part of the documentation.

Should have thought of the need for Step 7 when I was upgrading recently,
would have saved me a ton of headache

Knut

On Wed, Dec 9, 2015 at 5:54 PM, Bob Jolliffe  wrote:

> I know questions about this comes up now and again.  I just finished
> doing exactly this for a regional server today so I list my steps here
> for those planning a similar process.
>
> Starting state was a server running ubuntu 12.04, openjdk 7 and dhis2 2.16.
>
> Database backup was made and a copy kept off the server.
>
> 1.  Upgrade the OS to 14.04.  This is the longest (and scariest) step
> - a big upgrade to do over the internet.  But the recommended
> procedure (running 'sudo do-release-upgrade') worked fine.  Took a few
> hours.  Ubuntu creates an emergency ssh backdoor on port 1022 while
> this is going on, but fortunately I didn't have to use it.  But we did
> have ufw firewall running so I took the precaution of opening that
> port just in case (sudo ufw allow 1022).
>
> 2.  Install oracle java 8 :
>
> sudo apt-get install software-properties-common
> sudo add-apt-repository ppa:webupd8team/java
> sudo apt-get update
> sudo apt-get install oracle-java8-installer
> sudo update-java-alternatives -s java-8-oracle
>
> 3.  Download all the upgrade scripts and war files
> for ver in 17 18 19 20 21;
> 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/217-upgrade
> https://www.dhis2.org/218-upgrade
> https://www.dhis2.org/219-upgrade
> https://www.dhis2.org/220-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.17.war dhis2; tail -f
> /var/lib/dhis2/dhis2/logs/catalina.out
>
> dhis2-deploy-war -f dhis-2.18.war dhis2; tail -f
> /var/lib/dhis2/dhis2/logs/catalina.out
>
> cat upgrade-219.sql |psql dhis2
> dhis2-deploy-war -f dhis-2.19.war dhis2; tail -f
> /var/lib/dhis2/dhis2/logs/catalina.out
>
> cat upgrade-220.sql |psql dhis2
> dhis2-deploy-war -f dhis-2.12.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
>
> That's about it.  So far everything seems ok.  We just hope there are
> not problems from messy metadata.  Probably it is a better I idea to
> do integrity checks on the metadata right at the very start (I
> forgot).
>
> Note I am holding back on 2.21 upgrade because of the issue with md5
> passwords mentioned in the upgrade notes.   I'll give the users a day
> or two to make sure they have tested their logins.  Will take 5
> minutes to do when the time comes.
>
> Note that the OS upgrade is necessary to get the right tomcat version
> through the package system.  We could have avoided by doing a custom
> tomcat install, but I prefer to stick with the packages.
>
> Hope the above helps anyone else faced with this challenge.
>
> Bob
>
> ___
> 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


[Dhis2-users] Upgrading from 2.16 to 2.21 (using dhis2-tools)

2015-12-09 Thread Bob Jolliffe
I know questions about this comes up now and again.  I just finished
doing exactly this for a regional server today so I list my steps here
for those planning a similar process.

Starting state was a server running ubuntu 12.04, openjdk 7 and dhis2 2.16.

Database backup was made and a copy kept off the server.

1.  Upgrade the OS to 14.04.  This is the longest (and scariest) step
- a big upgrade to do over the internet.  But the recommended
procedure (running 'sudo do-release-upgrade') worked fine.  Took a few
hours.  Ubuntu creates an emergency ssh backdoor on port 1022 while
this is going on, but fortunately I didn't have to use it.  But we did
have ufw firewall running so I took the precaution of opening that
port just in case (sudo ufw allow 1022).

2.  Install oracle java 8 :

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo update-java-alternatives -s java-8-oracle

3.  Download all the upgrade scripts and war files
for ver in 17 18 19 20 21;
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/217-upgrade
https://www.dhis2.org/218-upgrade
https://www.dhis2.org/219-upgrade
https://www.dhis2.org/220-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.17.war dhis2; tail -f
/var/lib/dhis2/dhis2/logs/catalina.out

dhis2-deploy-war -f dhis-2.18.war dhis2; tail -f
/var/lib/dhis2/dhis2/logs/catalina.out

cat upgrade-219.sql |psql dhis2
dhis2-deploy-war -f dhis-2.19.war dhis2; tail -f
/var/lib/dhis2/dhis2/logs/catalina.out

cat upgrade-220.sql |psql dhis2
dhis2-deploy-war -f dhis-2.12.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

That's about it.  So far everything seems ok.  We just hope there are
not problems from messy metadata.  Probably it is a better I idea to
do integrity checks on the metadata right at the very start (I
forgot).

Note I am holding back on 2.21 upgrade because of the issue with md5
passwords mentioned in the upgrade notes.   I'll give the users a day
or two to make sure they have tested their logins.  Will take 5
minutes to do when the time comes.

Note that the OS upgrade is necessary to get the right tomcat version
through the package system.  We could have avoided by doing a custom
tomcat install, but I prefer to stick with the packages.

Hope the above helps anyone else faced with this challenge.

Bob

___
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


Re: [Dhis2-users] Upgrading from 2.16 to 2.21 (using dhis2-tools)

2015-12-09 Thread gerald thomas
Thanks Bob,
Noted!!! You had been so helpful to me.

Regards,
Gerald
On Dec 9, 2015 6:06 PM, "Knut Staring"  wrote:

> Thanks Bob,
>
> This is very helpful, and should be part of the documentation.
>
> Should have thought of the need for Step 7 when I was upgrading recently,
> would have saved me a ton of headache
>
> Knut
>
> On Wed, Dec 9, 2015 at 5:54 PM, Bob Jolliffe 
> wrote:
>
>> I know questions about this comes up now and again.  I just finished
>> doing exactly this for a regional server today so I list my steps here
>> for those planning a similar process.
>>
>> Starting state was a server running ubuntu 12.04, openjdk 7 and dhis2
>> 2.16.
>>
>> Database backup was made and a copy kept off the server.
>>
>> 1.  Upgrade the OS to 14.04.  This is the longest (and scariest) step
>> - a big upgrade to do over the internet.  But the recommended
>> procedure (running 'sudo do-release-upgrade') worked fine.  Took a few
>> hours.  Ubuntu creates an emergency ssh backdoor on port 1022 while
>> this is going on, but fortunately I didn't have to use it.  But we did
>> have ufw firewall running so I took the precaution of opening that
>> port just in case (sudo ufw allow 1022).
>>
>> 2.  Install oracle java 8 :
>>
>> sudo apt-get install software-properties-common
>> sudo add-apt-repository ppa:webupd8team/java
>> sudo apt-get update
>> sudo apt-get install oracle-java8-installer
>> sudo update-java-alternatives -s java-8-oracle
>>
>> 3.  Download all the upgrade scripts and war files
>> for ver in 17 18 19 20 21;
>> 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/217-upgrade
>> https://www.dhis2.org/218-upgrade
>> https://www.dhis2.org/219-upgrade
>> https://www.dhis2.org/220-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.17.war dhis2; tail -f
>> /var/lib/dhis2/dhis2/logs/catalina.out
>>
>> dhis2-deploy-war -f dhis-2.18.war dhis2; tail -f
>> /var/lib/dhis2/dhis2/logs/catalina.out
>>
>> cat upgrade-219.sql |psql dhis2
>> dhis2-deploy-war -f dhis-2.19.war dhis2; tail -f
>> /var/lib/dhis2/dhis2/logs/catalina.out
>>
>> cat upgrade-220.sql |psql dhis2
>> dhis2-deploy-war -f dhis-2.12.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
>>
>> That's about it.  So far everything seems ok.  We just hope there are
>> not problems from messy metadata.  Probably it is a better I idea to
>> do integrity checks on the metadata right at the very start (I
>> forgot).
>>
>> Note I am holding back on 2.21 upgrade because of the issue with md5
>> passwords mentioned in the upgrade notes.   I'll give the users a day
>> or two to make sure they have tested their logins.  Will take 5
>> minutes to do when the time comes.
>>
>> Note that the OS upgrade is necessary to get the right tomcat version
>> through the package system.  We could have avoided by doing a custom
>> tomcat install, but I prefer to stick with the packages.
>>
>> Hope the above helps anyone else faced with this challenge.
>>
>> Bob
>>
>> ___
>> 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
>
>
___
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


Re: [Dhis2-users] Upgrading from 2.16 to 2.21 (using dhis2-tools)

2015-12-09 Thread Bob Jolliffe
Hi Gerald

If you are not doing this over ssh like me, it would probably be best
to do step 1 by popping a 14.04 server cd in the tray (or usb thingy)
and upgrading the OS off that.

Bob

On 9 December 2015 at 19:16, gerald thomas  wrote:
> Thanks Bob,
> Noted!!! You had been so helpful to me.
>
> Regards,
> Gerald
>
> On Dec 9, 2015 6:06 PM, "Knut Staring"  wrote:
>>
>> Thanks Bob,
>>
>> This is very helpful, and should be part of the documentation.
>>
>> Should have thought of the need for Step 7 when I was upgrading recently,
>> would have saved me a ton of headache
>>
>> Knut
>>
>> On Wed, Dec 9, 2015 at 5:54 PM, Bob Jolliffe 
>> wrote:
>>>
>>> I know questions about this comes up now and again.  I just finished
>>> doing exactly this for a regional server today so I list my steps here
>>> for those planning a similar process.
>>>
>>> Starting state was a server running ubuntu 12.04, openjdk 7 and dhis2
>>> 2.16.
>>>
>>> Database backup was made and a copy kept off the server.
>>>
>>> 1.  Upgrade the OS to 14.04.  This is the longest (and scariest) step
>>> - a big upgrade to do over the internet.  But the recommended
>>> procedure (running 'sudo do-release-upgrade') worked fine.  Took a few
>>> hours.  Ubuntu creates an emergency ssh backdoor on port 1022 while
>>> this is going on, but fortunately I didn't have to use it.  But we did
>>> have ufw firewall running so I took the precaution of opening that
>>> port just in case (sudo ufw allow 1022).
>>>
>>> 2.  Install oracle java 8 :
>>>
>>> sudo apt-get install software-properties-common
>>> sudo add-apt-repository ppa:webupd8team/java
>>> sudo apt-get update
>>> sudo apt-get install oracle-java8-installer
>>> sudo update-java-alternatives -s java-8-oracle
>>>
>>> 3.  Download all the upgrade scripts and war files
>>> for ver in 17 18 19 20 21;
>>> 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/217-upgrade
>>> https://www.dhis2.org/218-upgrade
>>> https://www.dhis2.org/219-upgrade
>>> https://www.dhis2.org/220-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.17.war dhis2; tail -f
>>> /var/lib/dhis2/dhis2/logs/catalina.out
>>>
>>> dhis2-deploy-war -f dhis-2.18.war dhis2; tail -f
>>> /var/lib/dhis2/dhis2/logs/catalina.out
>>>
>>> cat upgrade-219.sql |psql dhis2
>>> dhis2-deploy-war -f dhis-2.19.war dhis2; tail -f
>>> /var/lib/dhis2/dhis2/logs/catalina.out
>>>
>>> cat upgrade-220.sql |psql dhis2
>>> dhis2-deploy-war -f dhis-2.12.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
>>>
>>> That's about it.  So far everything seems ok.  We just hope there are
>>> not problems from messy metadata.  Probably it is a better I idea to
>>> do integrity checks on the metadata right at the very start (I
>>> forgot).
>>>
>>> Note I am holding back on 2.21 upgrade because of the issue with md5
>>> passwords mentioned in the upgrade notes.   I'll give the users a day
>>> or two to make sure they have tested their logins.  Will take 5
>>> minutes to do when the time comes.
>>>
>>> Note that the OS upgrade is necessary to get the right tomcat version
>>> through the package system.  We could have avoided by doing a custom
>>> tomcat install, but I prefer to stick with the packages.
>>>
>>> Hope the above helps anyone else faced with this challenge.
>>>
>>> Bob
>>>
>>> ___
>>> 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
>>
>

___
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