[Dhis2-devs] Unable to get schemas from the DHIS2 API.

2018-10-24 Thread Nibras Rakib
Dear developers,

While using DHIS2 (version-2.29), sometimes, we are facing following error
on the browser.

Unable to get schemas from the DHIS2 API.

While tailing the dhis.log file, we found following message:-

WARN  2018-10-25 09:02:02,525 Failed to invoke @ExceptionHandler method:
public void
org.hisp.dhis.webapi.controller.CrudControllerAdvice.defaultExceptionHandler(java.lang.Exception,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
throws java.lang.Exception (ExceptionHandlerExceptionResolver.java
[http-nio-8080-exec-74])

java.lang.NullPointerException

at
org.hisp.dhis.webapi.service.WebMessageService.send(WebMessageService.java:96)

at
org.hisp.dhis.webapi.controller.CrudControllerAdvice.defaultExceptionHandler(CrudControllerAdvice.java:259)

at
org.hisp.dhis.webapi.controller.CrudControllerAdvice$$FastClassBySpringCGLIB$$e80bbad6.invoke()

at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:669)

at
org.hisp.dhis.webapi.controller.metadata.sync.MetadataSyncController$$EnhancerBySpringCGLIB$$1c221b30.defaultExceptionHandler()
at sun.reflect.GeneratedMethodAccessor1405.invoke(Unknown Source)

Any idea why this is happening frequently?

Thanks & Regards,
Rakib
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Unable to get schemas from the DHIS2 API.

2018-10-24 Thread Walusiku Muyunda
>From the few months experience, this is usually caused by an expired
session token. If you login to your dhis2 and remain in-active for some few
minutes (30 in my case), your session expires while you remain logged in
and if you try to do anything else, you get blocked and this error. Login
out and back in has been our way round this. There should be a place where
you configure maximum allowed inactivity time but I cant remember where
just now, am sure the more experienced users will advise.

Hope this helps even a bit.



*Walusiku J. Muyunda*


*Cell: +260967006614Cell: +260971000614*

*"We have heaven to win and hell to shun, our lives testify better!"
*


On Thu, Oct 25, 2018 at 6:01 AM Nibras Rakib 
wrote:

> Dear developers,
>
> While using DHIS2 (version-2.29), sometimes, we are facing following error
> on the browser.
>
> Unable to get schemas from the DHIS2 API.
>
> While tailing the dhis.log file, we found following message:-
>
> WARN  2018-10-25 09:02:02,525 Failed to invoke @ExceptionHandler method:
> public void
> org.hisp.dhis.webapi.controller.CrudControllerAdvice.defaultExceptionHandler(java.lang.Exception,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.lang.Exception (ExceptionHandlerExceptionResolver.java
> [http-nio-8080-exec-74])
>
> java.lang.NullPointerException
>
> at
> org.hisp.dhis.webapi.service.WebMessageService.send(WebMessageService.java:96)
>
> at
> org.hisp.dhis.webapi.controller.CrudControllerAdvice.defaultExceptionHandler(CrudControllerAdvice.java:259)
>
> at
> org.hisp.dhis.webapi.controller.CrudControllerAdvice$$FastClassBySpringCGLIB$$e80bbad6.invoke()
>
> at
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>
> at
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:669)
>
> at
> org.hisp.dhis.webapi.controller.metadata.sync.MetadataSyncController$$EnhancerBySpringCGLIB$$1c221b30.defaultExceptionHandler()
> at sun.reflect.GeneratedMethodAccessor1405.invoke(Unknown Source)
>
> Any idea why this is happening frequently?
>
> Thanks & Regards,
> Rakib
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Hi Calle,

Thank you for suggestion. The system was working well previously day before 
yesterday but from yesterday it does not work. I did as you suggested and 
watched when the error shows and has pasted here below. The first error showed 
when I tried to choose organization unit and second one showed when I hit save 
and continue. Hope this is clear.

[cid:image001.png@01D46C1F.4ABF1610]


Regards,
Pradeep
From: Calle Hedberg 
Sent: Wednesday, October 24, 2018 9:24 PM
To: Pradeep Kumar Thakur 
Cc: Stanley Kalyati ; DHIS 2 Users list 
; dhis2-devs 
Subject: Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE 
version 2.29

Hi,

Listen - as a first step for any problem like this, you MUST
1.
Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using 
Chrome), and copy the error messages appearing there (if any) to the post. In 
many cases, the messages appearing will directly or indirectly show you what 
the problem is.
2.
Monitor the tomcat/catalina log when you click save and continue, and again 
copy the relevant sections to your post.

No problem with Stanley's advice per se - incorrect sharing settings MIGHT the 
root cause of what you experience - but in general going through all possible 
problem scenarios is a wild goose chase.

Furthermore, your post do not indicate whether this is a newly defined program 
which has never worked OR if it is a program that previously worked fine and 
now don't work any more. If the latter, any information about recent changes 
(e.g. updating to  a newer 2.29 war file) is helpful.

Regards
Calle

On Wed, 24 Oct 2018 at 17:03, Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Yeah. TEI is also not updated by Admin user.


From: Stanley Kalyati mailto:skaly...@gmail.com>>
Sent: Wednesday, October 24, 2018 8:42 PM
To: Pradeep Kumar Thakur mailto:ptha...@fhi360.org>>
Cc: DHIS 2 Developers list 
mailto:dhis2-devs@lists.launchpad.net>>; DHIS 
Users mailto:dhis2-us...@lists.launchpad.net>>
Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

How about the user rights? Can you ensure edit/add TEI is selected?

On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Thanks Stanly, I did as you suggested but in vein.

Regards,
Pradeep

From: Stanley Kalyati mailto:skaly...@gmail.com>>
Sent: Wednesday, October 24, 2018 7:10 PM
To: Pradeep Kumar Thakur mailto:ptha...@fhi360.org>>
Cc: DHIS 2 Developers list 
mailto:dhis2-devs@lists.launchpad.net>>; DHIS 
Users mailto:dhis2-us...@lists.launchpad.net>>
Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

Can you go to the program and right click.Select sharing settings.You can 
disable the public users and then add the user groups you want to access the 
program.Make sure the settings are set on view and edit and capture data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.


Regards,
Pradeep
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-us...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 
dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


--

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Calle Hedberg
Hi,

Listen - as a first step for any problem like this, you MUST
1.
Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using
Chrome), and copy the error messages appearing there (if any) to the post.
In many cases, the messages appearing will directly or indirectly show you
what the problem is.
2.
Monitor the tomcat/catalina log when you click save and continue, and again
copy the relevant sections to your post.

No problem with Stanley's advice per se - incorrect sharing settings MIGHT
the root cause of what you experience - but in general going through all
possible problem scenarios is a wild goose chase.

Furthermore, your post do not indicate whether this is a newly defined
program which has never worked OR if it is a program that previously worked
fine and now don't work any more. If the latter, any information about
recent changes (e.g. updating to  a newer 2.29 war file) is helpful.

Regards
Calle

On Wed, 24 Oct 2018 at 17:03, Pradeep Kumar Thakur 
wrote:

> Yeah. TEI is also not updated by Admin user.
>
>
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 8:42 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> How about the user rights? Can you ensure edit/add TEI is selected?
>
>
>
> On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
> wrote:
>
> Thanks Stanly, I did as you suggested but in vein.
>
>
>
> Regards,
>
> Pradeep
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 7:10 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> Can you go to the program and right click.Select sharing settings.You can
> disable the public users and then add the user groups you want to access
> the program.Make sure the settings are set on view and edit and capture
> data.
>
>
>
> Regards
>
>
>
> Stanley
>
>
>
> On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
> wrote:
>
> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Yeah. TEI is also not updated by Admin user.


From: Stanley Kalyati 
Sent: Wednesday, October 24, 2018 8:42 PM
To: Pradeep Kumar Thakur 
Cc: DHIS 2 Developers list ; DHIS Users 

Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

How about the user rights? Can you ensure edit/add TEI is selected?

On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Thanks Stanly, I did as you suggested but in vein.

Regards,
Pradeep

From: Stanley Kalyati mailto:skaly...@gmail.com>>
Sent: Wednesday, October 24, 2018 7:10 PM
To: Pradeep Kumar Thakur mailto:ptha...@fhi360.org>>
Cc: DHIS 2 Developers list 
mailto:dhis2-devs@lists.launchpad.net>>; DHIS 
Users mailto:dhis2-us...@lists.launchpad.net>>
Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

Can you go to the program and right click.Select sharing settings.You can 
disable the public users and then add the user groups you want to access the 
program.Make sure the settings are set on view and edit and capture data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.


Regards,
Pradeep
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-us...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Stanley Kalyati
How about the user rights? Can you ensure edit/add TEI is selected?

On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur  wrote:

> Thanks Stanly, I did as you suggested but in vein.
>
>
>
> Regards,
>
> Pradeep
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 7:10 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> Can you go to the program and right click.Select sharing settings.You can
> disable the public users and then add the user groups you want to access
> the program.Make sure the settings are set on view and edit and capture
> data.
>
>
>
> Regards
>
>
>
> Stanley
>
>
>
> On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
> wrote:
>
> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Thanks Stanly, I did as you suggested but in vein.

Regards,
Pradeep

From: Stanley Kalyati 
Sent: Wednesday, October 24, 2018 7:10 PM
To: Pradeep Kumar Thakur 
Cc: DHIS 2 Developers list ; DHIS Users 

Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

Can you go to the program and right click.Select sharing settings.You can 
disable the public users and then add the user groups you want to access the 
program.Make sure the settings are set on view and edit and capture data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.

[cid:image001.png@01D46BCC.C050D3D0]

Regards,
Pradeep
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-us...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Stanley Kalyati
Can you go to the program and right click.Select sharing settings.You can
disable the public users and then add the user groups you want to access
the program.Make sure the settings are set on view and edit and capture
data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
wrote:

> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.

[cid:image001.png@01D46BCC.C050D3D0]

Regards,
Pradeep
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Mandatory attributes can not be made optional

2018-10-24 Thread Neeraj Gupta
Yes Calle,
I have reported this on JIRA DHIS2-5026


On Wed, Oct 24, 2018 at 4:55 PM Calle Hedberg 
wrote:

> Neeraj,
>
> if correct, then it is an obvious BUG. Have you written a JIRA bug report
> for it?
>
> Regards
> Calle
>
> On Wed, 24 Oct 2018 at 09:34, Neeraj Gupta  wrote:
>
>> Dear All,
>>
>> Once the attribute is made mandatory and if at a later stage it is
>> considered to be optional then we are able to go to attributes of the
>> program and uncheck the mandatory field but this is not reflected in the
>> registration page.
>> It always treats the attribute as mandatory, the user cannot move forward
>> without entering data for those attributes.
>>
>> Version: 2.30
>> Build revision: bd6e33e
>> Build date: 2018-10-23 02:06
>>
>> --
>> Thanks,
>> Neeraj Gupta
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>

-- 
Thanks,
Neeraj Gupta
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] MY SYSTEM UNABLE TO OPEN PROGRAM INDICATORS FOR EDITING

2018-10-24 Thread Stanley Kalyati
Thank you colleagues,

This is sorted out.

Cheers!!

On Wed, Oct 24, 2018 at 2:51 PM Stanley Kalyati  wrote:

> Colleagues,
>
> I have realized that from yesterday i can not add or edit a program
> indicator.
>
> I get a black page like below.What could be the problem?
> [image: image.png]
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] MY SYSTEM UNABLE TO OPEN PROGRAM INDICATORS FOR EDITING

2018-10-24 Thread Stanley Kalyati
Colleagues,

I have realized that from yesterday i can not add or edit a program
indicator.

I get a black page like below.What could be the problem?
[image: image.png]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Max number of users for simultaneous submissions

2018-10-24 Thread Jasper Timm
Thanks for the response Calle.

I agree it's often hard to track down resource issues like this. And yes
it'd be great to get some documentation which would give a guide as to what
sort of loads the server could run in terms of simultaneous submissions and
browser sessions for a given CPU, RAM, disk spec e.t.c.

For more info on our case then - yes the DHIS2 version is 2.27. The mobile
users submit via a tablet which will either submit to the DHIS2 API via
internet or send an SMS, which will eventually make it's way via a gateway
to the DHIS2 API as well. Each of these submissions do not require a
browser session at all, it should be one POST request to the DHIS2 API
(either /dataValueSets for internet, or /sms/incoming for SMS). There's
usually no more than 1 submission every few seconds. That seems completely
reasonable to me.

And the app is our modified version of the original DHIS2 data capture app.

On Tue, Oct 23, 2018 at 7:45 AM Calle Hedberg 
wrote:

> Jasper,
>
> It's not easy to get clear answers on your type of questions, from my
> experience, because there are so many variables
>
> 1200-1300 users (i.e. each health facility in Sierra Leone) capturing
> weekly eIDSR data once per week + monthly capturing of a range of other
> data sets (currently captured at district level, but still per facility)
> should not be a problem at all - assuming, of course, that the
> configuration and resource allocation is reasonable. Remember here that
> there could have been some other heavy processing going on, including
> possibly some processes with memory leaks etc that temporarily causes the
> server to come to a halt. That type of "random" situation requiring a
> re-start of the web server to restore normal operations, I have seen a
> number of times - and tracking down whatever combinations of issues that
> triggered it is not always feasible, if it's sort of a once-off affair.
>
> But I will follow up your question more generally - the community need a
> more transparent & open discussion around scalability and performance, in
> particular because postgresql 10 and the just released version 11 in
> combination with recent DHIS2 versions offer several new options for table
> partitioning, load balancing etc. I believe there is very limited knowledge
> of and experience with these techniques in the wider DHIS2 community.
>
> BTW: when you post questions like this, always specify whether the system
> is utilising any of the android apps (the old ones, at least, are more
> resource intensive than the browser interface) AND which DHIS2 version you
> are running (I know it is 2.27, but other don't).
>
> Best regards from Oslo
> Calle
>
> On Mon, 22 Oct 2018 at 19:12, Jasper Timm 
> wrote:
>
>> Hi there DHIS2 devs,
>>
>> We had an issue earlier where our DHIS2 server halted and we're trying to
>> track down what the issue was. It seems likely it was an issue of resources
>> running out, most likely memory.
>>
>> We currently have around 500 users but will eventually have something
>> around 1200-1300 users. Each user is submitting data for a weekly aggregate
>> report on a Monday morning, either via SMS or internet. They could submit
>> any time between 6am - 4pm, with a heavy concentration coming in around
>> 8-9am.
>>
>> So a few questions then:
>> - Does this seem reasonable?
>> - What sort of memory requirements would you consider for this?
>> - How many simultaneous submissions would be possible?
>> - If it had more would the server queue them or would it cause it to halt?
>>
>> Thanks for any help,
>>
>> - Jasper
>> --
>>
>> Jasper Timm
>>
>> Lead Software Developer
>>
>> 
>>
>> eHealth Africa
>> 4A Renner Drive
>> Off Wilkinson Road (behind Monoprix Supermarket)
>> Freetown, Sierra Leone
>>
>> mobile +232 99891119 <+232%2099%20891119>
>>
>> --
>>
>> 
>> 
>> 
>> 
>> 
>>
> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
> 
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
> --

Jasper Timm

Lead Software Developer



eHealth Africa
4A Renner Drive
Off Wilkinson Road (behind Monoprix Supermarket)

Re: [Dhis2-devs] Mandatory attributes can not be made optional

2018-10-24 Thread Neeraj Gupta
Hi Elmarie,
Thanks for the clarification but no, in my case the attributes which are
creating the problem are not part of the Tracked entity.

On Wed, Oct 24, 2018 at 5:42 PM Elmarie Claasen  wrote:

> Hi Neeraj,
>
>
>
> These attributes that you refer to are they part of the Tracked Entity
> defined? My understanding which may be wrong is if you define certain
> attributes as part of the tracked entity e.g. Person then those attributes
> would be mandatory in the programs.
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
> *From:* Dhis2-devs  hisp@lists.launchpad.net> *On Behalf Of *Neeraj Gupta
> *Sent:* Wednesday, October 24, 2018 9:34 AM
> *To:* DHIS 2 Users list ; DHIS 2
> developers 
> *Subject:* [Dhis2-devs] Mandatory attributes can not be made optional
>
>
>
> Dear All,
>
>
>
> Once the attribute is made mandatory and if at a later stage it is
> considered to be optional then we are able to go to attributes of the
> program and uncheck the mandatory field but this is not reflected in the
> registration page.
> It always treats the attribute as mandatory, the user cannot move forward
> without entering data for those attributes.
>
>
>
> Version: 2.30
> Build revision: bd6e33e
>
> Build date: 2018-10-23 02:06
>
>
>
> --
>
> Thanks,
> Neeraj Gupta
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>


-- 
Thanks,
Neeraj Gupta
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Mandatory attributes can not be made optional

2018-10-24 Thread Terence Scott
Dear Neeraj

I have recently upgraded to 2.30 and I am also experiencing similar. The
attributes that are requested at the beginning of the data entry are all
mandatory (when none of them were mandatory previously). Therefore, the
user cannot progress as mentioned. I will vote on your Jira issue.

Kind regards,
Terence


Terence Scott

Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
terence.sc...@rabiesalliance.org
https://paracon.rabiesalliance.org
Skype: tpscott1987



On Wed, Oct 24, 2018 at 1:53 PM Neeraj Gupta  wrote:

> Yes Calle,
> I have reported this on JIRA DHIS2-5026
> 
>
> On Wed, Oct 24, 2018 at 4:55 PM Calle Hedberg 
> wrote:
>
>> Neeraj,
>>
>> if correct, then it is an obvious BUG. Have you written a JIRA bug report
>> for it?
>>
>> Regards
>> Calle
>>
>> On Wed, 24 Oct 2018 at 09:34, Neeraj Gupta  wrote:
>>
>>> Dear All,
>>>
>>> Once the attribute is made mandatory and if at a later stage it is
>>> considered to be optional then we are able to go to attributes of the
>>> program and uncheck the mandatory field but this is not reflected in the
>>> registration page.
>>> It always treats the attribute as mandatory, the user cannot move
>>> forward without entering data for those attributes.
>>>
>>> Version: 2.30
>>> Build revision: bd6e33e
>>> Build date: 2018-10-23 02:06
>>>
>>> --
>>> Thanks,
>>> Neeraj Gupta
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> --
>>
>> ***
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19119
>>
>> Email: calle.hedb...@gmail.com
>>
>> Skype: calle_hedberg
>>
>> ***
>>
>>
>
> --
> Thanks,
> Neeraj Gupta
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Mandatory attributes can not be made optional

2018-10-24 Thread Neeraj Gupta
Thanks Terence.

On Wed, Oct 24, 2018 at 5:27 PM Terence Scott <
terence.sc...@rabiesalliance.org> wrote:

> Dear Neeraj
>
> I have recently upgraded to 2.30 and I am also experiencing similar. The
> attributes that are requested at the beginning of the data entry are all
> mandatory (when none of them were mandatory previously). Therefore, the
> user cannot progress as mentioned. I will vote on your Jira issue.
>
> Kind regards,
> Terence
>
>
> Terence Scott
>
> Global Alliance for Rabies Control (GARC)
> Pan-African Rabies Control Network (PARACON) Steering Committee
> terence.sc...@rabiesalliance.org
> https://paracon.rabiesalliance.org
> Skype: tpscott1987
>
>
>
> On Wed, Oct 24, 2018 at 1:53 PM Neeraj Gupta 
> wrote:
>
>> Yes Calle,
>> I have reported this on JIRA DHIS2-5026
>> 
>>
>> On Wed, Oct 24, 2018 at 4:55 PM Calle Hedberg 
>> wrote:
>>
>>> Neeraj,
>>>
>>> if correct, then it is an obvious BUG. Have you written a JIRA bug
>>> report for it?
>>>
>>> Regards
>>> Calle
>>>
>>> On Wed, 24 Oct 2018 at 09:34, Neeraj Gupta 
>>> wrote:
>>>
 Dear All,

 Once the attribute is made mandatory and if at a later stage it is
 considered to be optional then we are able to go to attributes of the
 program and uncheck the mandatory field but this is not reflected in the
 registration page.
 It always treats the attribute as mandatory, the user cannot move
 forward without entering data for those attributes.

 Version: 2.30
 Build revision: bd6e33e
 Build date: 2018-10-23 02:06

 --
 Thanks,
 Neeraj Gupta
 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp

>>>
>>>
>>> --
>>>
>>> ***
>>>
>>> Calle Hedberg
>>>
>>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>>
>>> Tel/fax (home): +27-21-685-6472
>>>
>>> Cell: +27-82-853-5352
>>>
>>> Iridium SatPhone: +8816-315-19119
>>>
>>> Email: calle.hedb...@gmail.com
>>>
>>> Skype: calle_hedberg
>>>
>>> ***
>>>
>>>
>>
>> --
>> Thanks,
>> Neeraj Gupta
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>

-- 
Thanks,
Neeraj Gupta
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Mandatory attributes can not be made optional

2018-10-24 Thread Elmarie Claasen
Hi Neeraj,



These attributes that you refer to are they part of the Tracked Entity
defined? My understanding which may be wrong is if you define certain
attributes as part of the tracked entity e.g. Person then those attributes
would be mandatory in the programs.



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail: elma...@hisp.org

Skype:  elmarie.claasen52



*From:* Dhis2-devs 
*On Behalf Of *Neeraj Gupta
*Sent:* Wednesday, October 24, 2018 9:34 AM
*To:* DHIS 2 Users list ; DHIS 2
developers 
*Subject:* [Dhis2-devs] Mandatory attributes can not be made optional



Dear All,



Once the attribute is made mandatory and if at a later stage it is
considered to be optional then we are able to go to attributes of the
program and uncheck the mandatory field but this is not reflected in the
registration page.
It always treats the attribute as mandatory, the user cannot move forward
without entering data for those attributes.



Version: 2.30
Build revision: bd6e33e

Build date: 2018-10-23 02:06



-- 

Thanks,
Neeraj Gupta

-- 


*This message and any attachments are subject to a disclaimer published

at http://www.hisp.org/policies.html#comms_disclaimer 
. 
Please read the 
disclaimer before opening any attachment or taking any other
action in 
terms of this electronic transmission.  If you cannot access the

disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By

replying to this e-mail or opening any attachment you agree to be bound by 
the
provisions of the disclaimer.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Mandatory attributes can not be made optional

2018-10-24 Thread Calle Hedberg
Neeraj,

if correct, then it is an obvious BUG. Have you written a JIRA bug report
for it?

Regards
Calle

On Wed, 24 Oct 2018 at 09:34, Neeraj Gupta  wrote:

> Dear All,
>
> Once the attribute is made mandatory and if at a later stage it is
> considered to be optional then we are able to go to attributes of the
> program and uncheck the mandatory field but this is not reflected in the
> registration page.
> It always treats the attribute as mandatory, the user cannot move forward
> without entering data for those attributes.
>
> Version: 2.30
> Build revision: bd6e33e
> Build date: 2018-10-23 02:06
>
> --
> Thanks,
> Neeraj Gupta
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem in Custom registration form of Tracker capture

2018-10-24 Thread Neeraj Gupta
I have created an issue on JIRA for this DHIS2-5025

This is urgent as we have to use the custom form in one of the program
which is to be implemented very soon and we need to capture the whole
hierarchy of the patient, we can not use default form as we are using some
scripts in the form.

Requesting the development team to please prioritize this issue.

On Wed, Oct 24, 2018 at 12:46 PM Neeraj Gupta  wrote:

> Dear All,
>
> I am facing some issues with the custom registration form in Tracker
> capture.
> I am using Organisation Unit type and Age type data elements, when I use
> these with the custom registration form, the + icon does not load the
> organisation unit tree ( Which is the expected behavior), however, this is
> working fine in case of the default form.
> Same is happening with the Age type of data element, when the age is
> entered the dates are not loaded.
>
> I am using
> Version: 2.30
> Build revision: bd6e33e
> Build date: 2018-10-23 02:06
>
> I have checked this on play.dhis2.org and found the same behavior.
> Any quick help is highly appreciated.
>
> --
> Thanks,
> Neeraj Gupta
>


-- 
Thanks,
Neeraj Gupta
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Mandatory attributes can not be made optional

2018-10-24 Thread Neeraj Gupta
Dear All,

Once the attribute is made mandatory and if at a later stage it is
considered to be optional then we are able to go to attributes of the
program and uncheck the mandatory field but this is not reflected in the
registration page.
It always treats the attribute as mandatory, the user cannot move forward
without entering data for those attributes.

Version: 2.30
Build revision: bd6e33e
Build date: 2018-10-23 02:06

-- 
Thanks,
Neeraj Gupta
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Problem in Custom registration form of Tracker capture

2018-10-24 Thread Neeraj Gupta
Dear All,

I am facing some issues with the custom registration form in Tracker
capture.
I am using Organisation Unit type and Age type data elements, when I use
these with the custom registration form, the + icon does not load the
organisation unit tree ( Which is the expected behavior), however, this is
working fine in case of the default form.
Same is happening with the Age type of data element, when the age is
entered the dates are not loaded.

I am using
Version: 2.30
Build revision: bd6e33e
Build date: 2018-10-23 02:06

I have checked this on play.dhis2.org and found the same behavior.
Any quick help is highly appreciated.

-- 
Thanks,
Neeraj Gupta
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp