Re: [Dhis2-users] HOW TO CREATE PROGRAM INDICATOR IN DHIS2 2.27 TO 2.28

2018-02-23 Thread Edward Robinson
Hi Stanley, have you looked at this?
https://docs.dhis2.org/2.27/en/user/html/configure_program_indicator.html#create_program_indicator
In version 2.27 and above It’s moved to Maintenance -> Indicator -> Program 
Indicator
Regards
Ed

From: Dhis2-users 
[mailto:dhis2-users-bounces+erobinson=projectbalance@lists.launchpad.net] 
On Behalf Of Stanley Kalyati
Sent: Tuesday, 20 February 2018 11:32 AM
To: DHIS Users ; DHIS 2 Developers list 

Subject: [Dhis2-users] HOW TO CREATE PROGRAM INDICATOR IN DHIS2 2.27 TO 2.28

Dear All,

Initially i was using dhis2 2.26 build revision  aaae441 and when creating a 
program indicator,thats the page i would come and i would easily do it.Now in 
2.27 version,everything seems different.Anyone with any documentation please 
share or advise.This is urgent.

[Inline image 1]
___
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] Error editing Dataset

2018-02-23 Thread Knut Staring
Anything in your Tomcat server log?

On Fri, Feb 23, 2018 at 1:29 PM, Barnabas Akumba 
wrote:

> Hi Knur,
>
> Thanks for the link.
> I've cleared the cache as indicated but issue still persists.
>
> Regards
>
> On Fri, Feb 23, 2018 at 11:52 AM, Knut Staring  wrote:
>
>> Hi Barnabas,
>>
>> Please try this: https://www.dhis2.org/tutorial
>> s/how-to-really-clear-browser-cache
>>
>> Knut
>>
>> On Fri, Feb 23, 2018 at 11:46 AM, Barnabas Akumba 
>> wrote:
>>
>>> Hello Lars,
>>>
>>> Thanks for the link. I've followed the instruction in the above link but
>>> still experience the problem.
>>> I've tried this on both 2.26 and 2.27.
>>>
>>> Regards
>>>
>>> On Fri, Feb 23, 2018 at 9:51 AM, Lars Helge Øverland 
>>> wrote:
>>>
 Hi Barnabas,

 please have a look at guidelines for reporting problems and tell us
 your DHIS 2 version:

 https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html

 regards,

 Lars


 On 22 February 2018 at 10:51, Barnabas Akumba 
 wrote:

> Hello All,
>
> Has anyone come across this issue before?
> I'm trying to edit Datasets using the maintenance app by selecting the
> edit option.
> The dataset fails to load but gives me an error "Can not add a model
> without id to a ModelCollection" - See attached snip.
>
> Any suggestion on how to sort this out will be appreciated.
>
> Regards
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>
> ___
> 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
 l...@dhis2.org
 http://www.dhis2.org 


>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>> *Skype:* barnabas.akumba
>>>
>>> ___
>>> 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
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
>> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
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] Error editing Dataset

2018-02-23 Thread Barnabas Akumba
Hi Knur,

Thanks for the link.
I've cleared the cache as indicated but issue still persists.

Regards

On Fri, Feb 23, 2018 at 11:52 AM, Knut Staring  wrote:

> Hi Barnabas,
>
> Please try this: https://www.dhis2.org/tutorial
> s/how-to-really-clear-browser-cache
>
> Knut
>
> On Fri, Feb 23, 2018 at 11:46 AM, Barnabas Akumba 
> wrote:
>
>> Hello Lars,
>>
>> Thanks for the link. I've followed the instruction in the above link but
>> still experience the problem.
>> I've tried this on both 2.26 and 2.27.
>>
>> Regards
>>
>> On Fri, Feb 23, 2018 at 9:51 AM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Barnabas,
>>>
>>> please have a look at guidelines for reporting problems and tell us your
>>> DHIS 2 version:
>>>
>>> https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>> On 22 February 2018 at 10:51, Barnabas Akumba 
>>> wrote:
>>>
 Hello All,

 Has anyone come across this issue before?
 I'm trying to edit Datasets using the maintenance app by selecting the
 edit option.
 The dataset fails to load but gives me an error "Can not add a model
 without id to a ModelCollection" - See attached snip.

 Any suggestion on how to sort this out will be appreciated.

 Regards


 --

 Barnabas AKUMBA

 *Mobile:* +2348036195778 <+234%20803%20619%205778>
 *Skype:* barnabas.akumba

 ___
 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
>>> l...@dhis2.org
>>> http://www.dhis2.org 
>>>
>>>
>>
>>
>> --
>>
>> Barnabas AKUMBA
>>
>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>> *Skype:* barnabas.akumba
>>
>> ___
>> 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
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>



-- 

Barnabas AKUMBA

*Mobile:* +2348036195778
*Skype:* barnabas.akumba
___
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] Error editing Dataset

2018-02-23 Thread Knut Staring
Hi Barnabas,

Please try this: https://www.dhis2.org/tutorials/how-to-really-clear-
browser-cache

Knut

On Fri, Feb 23, 2018 at 11:46 AM, Barnabas Akumba 
wrote:

> Hello Lars,
>
> Thanks for the link. I've followed the instruction in the above link but
> still experience the problem.
> I've tried this on both 2.26 and 2.27.
>
> Regards
>
> On Fri, Feb 23, 2018 at 9:51 AM, Lars Helge Øverland 
> wrote:
>
>> Hi Barnabas,
>>
>> please have a look at guidelines for reporting problems and tell us your
>> DHIS 2 version:
>>
>> https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html
>>
>> regards,
>>
>> Lars
>>
>>
>> On 22 February 2018 at 10:51, Barnabas Akumba 
>> wrote:
>>
>>> Hello All,
>>>
>>> Has anyone come across this issue before?
>>> I'm trying to edit Datasets using the maintenance app by selecting the
>>> edit option.
>>> The dataset fails to load but gives me an error "Can not add a model
>>> without id to a ModelCollection" - See attached snip.
>>>
>>> Any suggestion on how to sort this out will be appreciated.
>>>
>>> Regards
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>> *Skype:* barnabas.akumba
>>>
>>> ___
>>> 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
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>
> ___
> 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

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
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] Error editing Dataset

2018-02-23 Thread Barnabas Akumba
Hello Lars,

Thanks for the link. I've followed the instruction in the above link but
still experience the problem.
I've tried this on both 2.26 and 2.27.

Regards

On Fri, Feb 23, 2018 at 9:51 AM, Lars Helge Øverland  wrote:

> Hi Barnabas,
>
> please have a look at guidelines for reporting problems and tell us your
> DHIS 2 version:
>
> https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html
>
> regards,
>
> Lars
>
>
> On 22 February 2018 at 10:51, Barnabas Akumba 
> wrote:
>
>> Hello All,
>>
>> Has anyone come across this issue before?
>> I'm trying to edit Datasets using the maintenance app by selecting the
>> edit option.
>> The dataset fails to load but gives me an error "Can not add a model
>> without id to a ModelCollection" - See attached snip.
>>
>> Any suggestion on how to sort this out will be appreciated.
>>
>> Regards
>>
>>
>> --
>>
>> Barnabas AKUMBA
>>
>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>> *Skype:* barnabas.akumba
>>
>> ___
>> 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
> l...@dhis2.org
> http://www.dhis2.org 
>
>


-- 

Barnabas AKUMBA

*Mobile:* +2348036195778
*Skype:* barnabas.akumba
___
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] insufficient memory problem

2018-02-23 Thread gerald thomas
Hi Knut,
Noted!! I will try again and get back to you.

On Fri, Feb 23, 2018 at 8:06 AM, Knut Staring  wrote:

> Hi Gerald,
>
> So you are runing Ubuntu on your machine? Perhaps you need to allocate
> more resources to Java using this type of setting (though you should adjust
> the values down a bit, since you dont have that much memory)
>
> export JAVA_OPTS='-Xmx7500m -Xms4000m'
>
> https://docs.dhis2.org/2.25/en/implementer/html/install_server_setup.html
>
>
> On Thu, Feb 22, 2018 at 8:34 PM, gerald thomas 
> wrote:
>
>> Dear Knut,
>> Thanks for your response. Now I have a question which had been disturbing
>> me for a long time now. I have a desktop with 4Gb RAM and I used the
>> DHIS2-tool method of installation; I am using Postgres 9.5. My instance is
>> running OK but the “maintenance app” it showing blank or “pivot table”
>> can’t load. On the log file, it is giving insufficient resources error.
>> Why?
>>
>> On Thu, 22 Feb 2018 at 17:36, Knut Staring  wrote:
>>
>>> Dear Gerald,
>>>
>>> There does indeed seem to be a problem with RAM, seems like maybe 32-bit
>>> Java is used? However, you definitely do not need as much as 12 Gb RAM to
>>> run a small instance of DHIS2, it should be possible with 2 Gb, and
>>> certainly with 4 Gb.
>>>
>>> On Thu, Feb 22, 2018 at 12:38 PM, gerald thomas 
>>> wrote:
>>>
 Jalal,
 I am sure there is not enough RAM on your linode VM. Please can you
 send the report of this command 'vmstat -s'. From the manual you sent you
 need at least 12Gb RAM of which 8Gb should be allocated to the PostgresSQL.

 On Tue, Feb 20, 2018 at 7:57 PM, Knut Staring  wrote:

> Also, please redirect this to the list:
> dhis2-users@lists.launchpad.net
>
> On Feb 20, 2018 2:46 PM, "Jalal"  wrote:
>
>> Dears ,
>>
>>
>>
>> Please I need your support for the below issue :
>>
>>
>>
>> I have a hosting on linode 2048 (My Ubuntu 16.04 LTS),and I’m trying
>> to install DHIS2 through the below link:
>>
>>
>>
>> https://docs.dhis2.org/2.28/en/implementer/html/install_serv
>> er_setup.html
>>
>>
>>
>> but I got the below error: advice please
>>
>>
>>
>> #
>>
>> # There is insufficient memory for the Java Runtime Environment to
>> continue.
>>
>> # Native memory allocation (mmap) failed to map 2796224512 bytes for
>> committing reserved memory.
>>
>> # Possible reasons:
>>
>> #   The system is out of physical RAM or swap space
>>
>> #   In 32 bit mode, the process size limit was hit
>>
>> # Possible solutions:
>>
>> #   Reduce memory load on the system
>>
>> #   Increase physical memory or swap space
>>
>> #   Check if swap backing store is full
>>
>> #   Use 64 bit Java on a 64 bit OS
>>
>> #   Decrease Java heap size (-Xmx/-Xms)
>>
>> #   Decrease number of Java threads
>>
>> #   Decrease Java thread stack sizes (-Xss)
>>
>> #   Set larger code cache with -XX:ReservedCodeCacheSize=
>>
>> # This output file may be truncated or incomplete.
>>
>> #
>>
>> #  Out of Memory Error (os_linux.cpp:2640), pid=7874,
>> tid=0x7f5b42495700
>>
>> #
>>
>> # JRE version:  (8.0_161-b12) (build )
>>
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode
>> linux-amd64 compressed oops)
>>
>> # Failed to write core dump. Core dumps have been disabled. To enable
>> core dumping, try "ulimit -c unlimited" before starting Java again
>>
>> #
>>
>>
>>
>> ---  T H R E A D  ---
>>
>>
>>
>> Current thread (0x7f5b3c00a800):  JavaThread "Unknown thread"
>> [_thread_in_vm, id=7875, stack(0x7f5b42395000,0x000
>> 07f5b42496000)]
>>
>>
>>
>> Stack: [0x7f5b42395000,0x7f5b42496000],
>> sp=0x7f5b42494350,  free space=1020k
>>
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>>
>> V  [libjvm.so+0xacf94a]  VMError::report_and_die()+0x2ba
>>
>> V  [libjvm.so+0x50050b]  report_vm_out_of_memory(char const*, int,
>> unsigned long, VMErrorType, char const*)+0x8b
>>
>> V  [libjvm.so+0x92b133]  os::Linux::commit_memory_impl(char*,
>> unsigned long, bool)+0x103
>>
>> V  [libjvm.so+0x92b5c9]  os::pd_commit_memory(char*, unsigned long,
>> unsigned long, bool)+0x29
>>
>> V  [libjvm.so+0x924c0a]  os::commit_memory(char*, unsigned long,
>> unsigned long, bool)+0x2a
>>
>> V  [libjvm.so+0xacb629]  VirtualSpace::expand_by(unsigned long,
>> bool)+0x199
>>
>> V  [libjvm.so+0xacc17e]  VirtualSpace::initialize(ReservedSpace,
>> unsigned long)+0xee
>>
>> V  

Re: [Dhis2-users] [Dhis2-devs] Support for Time and DateTime

2018-02-23 Thread Bernard Sadaka (IM Advisor)
Thank you Lukas,

Just moved our instance from build 28c2dcd to 0468366; I guess several fixes 
have already been applied… I also started to watch some apps of the project on 
github.

All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Lukas Wijgaart-van Dijk [mailto:lukase...@gmail.com]
Sent: Friday, February 23, 2018 10:22 AM
To: Bernard Sadaka (IM Advisor) 
Cc: dhis2-users ; DHIS 2 developers 

Subject: Re: [Dhis2-devs] Support for Time and DateTime



Hi Bernard,

The fix has been pushed, here is a reference to the commit: 
https://github.com/dhis2/event-capture-app/commit/32229900dd95d47a01259c82fbe52f4b4ae49903.

You should be able to download it from the link you have provided.



Best regards,

Lukas Wijgaart van Dijk



23. feb. 2018 kl. 09.00 skrev Bernard Sadaka (IM Advisor)  >:



Dear Lukas,

Was this fix pushed to the repository?

And if yes, will I be able to download it from:  
 
https://s3-eu-west-1.amazonaws.com/releases.dhis2.org/2.28/dhis.war or on 
another url?



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Bernard Sadaka (IM Advisor) [  
mailto:lib@pu-ami.org]
Sent: Tuesday, February 13, 2018 3:07 PM
To: 'Lukas Wijgaart-van Dijk' <  
lukase...@gmail.com>
Cc: 'dhis2-users' <  
dhis2-users@lists.launchpad.net>; 'DHIS 2 developers' < 
 dhis2-d...@lists.launchpad.net>
Subject: RE: [Dhis2-devs] Support for Time and DateTime



Thank you.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Lukas Wijgaart-van Dijk [  
mailto:lukase...@gmail.com]
Sent: Tuesday, February 13, 2018 2:52 PM
To: Bernard Sadaka (IM Advisor) <  
lib@pu-ami.org>
Cc: dhis2-users <  
dhis2-users@lists.launchpad.net>; DHIS 2 developers < 
 dhis2-d...@lists.launchpad.net>
Subject: Re: [Dhis2-devs] Support for Time and DateTime



Hi again,

I will push a fix to the repository. The fix will be for version 2.28 and 2.29.

If all goes as planned you should be able to download a new war-file at the end 
of the day or latest tomorrow.



Regards

- Lukas Wijgaart van Dijk



13. feb. 2018 kl. 13.48 skrev Bernard Sadaka (IM Advisor) < 
 lib@pu-ami.org>:



Thank you Lukas,

You will add them to JIRA? To the repository?

When/where will the fix be available for download? In the WAR file? If yes, 
which one?

All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Lukas Wijgaart-van Dijk [  
mailto:lukase...@gmail.com]
Sent: Tuesday, February 13, 2018 2:42 PM
To: Bernard Sadaka (IM Advisor) <  
lib@pu-ami.org>
Cc: dhis2-users <  
dhis2-users@lists.launchpad.net>; DHIS 2 developers < 
 dhis2-d...@lists.launchpad.net>
Subject: Re: [Dhis2-devs] Support for Time and DateTime



Hi Bernard,

Apparently they have been missed out. I will add them now.



Best regards,

Lukas Wijgaart van Dijk



13. feb. 2018 kl. 13.17 skrev Bernard Sadaka (IM Advisor) < 
 lib@pu-ami.org>:



Hello guys,

Maybe this was already tackled before, but apparently, in my 2.28 instance, the 
Support for Time and DateTime is working in the “maintenance” app but not in 
the “event 

Re: [Dhis2-users] [Dhis2-devs] Error editing Dataset

2018-02-23 Thread Lars Helge Øverland
Hi Barnabas,

please have a look at guidelines for reporting problems and tell us your
DHIS 2 version:

https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html

regards,

Lars


On 22 February 2018 at 10:51, Barnabas Akumba  wrote:

> Hello All,
>
> Has anyone come across this issue before?
> I'm trying to edit Datasets using the maintenance app by selecting the
> edit option.
> The dataset fails to load but gives me an error "Can not add a model
> without id to a ModelCollection" - See attached snip.
>
> Any suggestion on how to sort this out will be appreciated.
>
> Regards
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>
> ___
> 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
l...@dhis2.org
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] [Dhis2-devs] Support for Time and DateTime

2018-02-23 Thread Lukas Wijgaart-van Dijk
Hi Bernard,
The fix has been pushed, here is a reference to the commit: 
https://github.com/dhis2/event-capture-app/commit/32229900dd95d47a01259c82fbe52f4b4ae49903
 
.
You should be able to download it from the link you have provided.

Best regards,
Lukas Wijgaart van Dijk

> 23. feb. 2018 kl. 09.00 skrev Bernard Sadaka (IM Advisor) 
> :
> 
> Dear Lukas,
> Was this fix pushed to the repository?
> And if yes, will I be able to download it from: 
> https://s3-eu-west-1.amazonaws.com/releases.dhis2.org/2.28/dhis.war 
>  or on 
> another url?
>  
> All the best,
> Bernard
>  
> 
> Bernard Sadaka
> Information Management Advisor
> Première Urgence - Aide Médicale Internationale
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
> Ain el Remmaneh, Beirut, Lebanon
> E-mail: lib@pu-ami.org 
> Cell: +961 71 004 881 (208)
> Skype: imapuami
> Website: https://www.pu-ami.org 
>  
>  
> From: Bernard Sadaka (IM Advisor) [mailto:lib@pu-ami.org 
> ] 
> Sent: Tuesday, February 13, 2018 3:07 PM
> To: 'Lukas Wijgaart-van Dijk'  >
> Cc: 'dhis2-users'  >; 'DHIS 2 developers' 
> >
> Subject: RE: [Dhis2-devs] Support for Time and DateTime
>  
> Thank you.
>  
> All the best,
> Bernard
>  
> 
> Bernard Sadaka
> Information Management Advisor
> Première Urgence - Aide Médicale Internationale
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
> Ain el Remmaneh, Beirut, Lebanon
> E-mail: lib@pu-ami.org 
> Cell: +961 71 004 881 (208)
> Skype: imapuami
> Website: https://www.pu-ami.org 
>  
>  
> From: Lukas Wijgaart-van Dijk [mailto:lukase...@gmail.com 
> ] 
> Sent: Tuesday, February 13, 2018 2:52 PM
> To: Bernard Sadaka (IM Advisor)  >
> Cc: dhis2-users  >; DHIS 2 developers 
> >
> Subject: Re: [Dhis2-devs] Support for Time and DateTime
>  
> Hi again,
> I will push a fix to the repository. The fix will be for version 2.28 and 
> 2.29.
> If all goes as planned you should be able to download a new war-file at the 
> end of the day or latest tomorrow.
>  
> Regards
> - Lukas Wijgaart van Dijk
>  
>> 13. feb. 2018 kl. 13.48 skrev Bernard Sadaka (IM Advisor) 
>> >:
>>  
>> Thank you Lukas,
>> You will add them to JIRA? To the repository?
>> When/where will the fix be available for download? In the WAR file? If yes, 
>> which one?
>> All the best,
>> Bernard
>>  
>> 
>> Bernard Sadaka
>> Information Management Advisor
>> Première Urgence - Aide Médicale Internationale
>> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>> Ain el Remmaneh, Beirut, Lebanon
>> E-mail: lib@pu-ami.org 
>> Cell: +961 71 004 881 (208)
>> Skype: imapuami
>> Website: https://www.pu-ami.org 
>>  
>>  
>> From: Lukas Wijgaart-van Dijk [mailto:lukase...@gmail.com 
>> ] 
>> Sent: Tuesday, February 13, 2018 2:42 PM
>> To: Bernard Sadaka (IM Advisor) > >
>> Cc: dhis2-users > >; DHIS 2 developers 
>> >
>> Subject: Re: [Dhis2-devs] Support for Time and DateTime
>>  
>> Hi Bernard,
>> Apparently they have been missed out. I will add them now.
>>  
>> Best regards,
>> Lukas Wijgaart van Dijk
>>  
>>> 13. feb. 2018 kl. 13.17 skrev Bernard Sadaka (IM Advisor) 
>>> >:
>>>  
>>> Hello guys,
>>> Maybe this was already tackled before, but apparently, in my 2.28 instance, 
>>> the Support for Time and DateTime is working in the “maintenance” app but 
>>> not in the “event capture” app (didn’t test the tracker capture app).
>>> 
>>>  
>>> I have checked JIRA and found this one as solved in 2.28: 
>>> https://jira.dhis2.org/browse/DHIS2-2088 
>>> 
>>>  
>>> Is there a way to reopen it? Was it only solved for another app? Am I 
>>> missing something?
>>>  
>>> Thank you again for the support.
>>>  
>>> All the best,
>>> Bernard
>>>  
>>> 
>>> Bernard Sadaka
>>> Information Management Advisor
>>> Première Urgence - Aide Médicale Internationale
>>> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>>> Ain el Remmaneh, Beirut, Lebanon
>>> 

Re: [Dhis2-users] insufficient memory problem

2018-02-23 Thread Knut Staring
Hi Gerald,

So you are runing Ubuntu on your machine? Perhaps you need to allocate more
resources to Java using this type of setting (though you should adjust the
values down a bit, since you dont have that much memory)

export JAVA_OPTS='-Xmx7500m -Xms4000m'

https://docs.dhis2.org/2.25/en/implementer/html/install_server_setup.html


On Thu, Feb 22, 2018 at 8:34 PM, gerald thomas 
wrote:

> Dear Knut,
> Thanks for your response. Now I have a question which had been disturbing
> me for a long time now. I have a desktop with 4Gb RAM and I used the
> DHIS2-tool method of installation; I am using Postgres 9.5. My instance is
> running OK but the “maintenance app” it showing blank or “pivot table”
> can’t load. On the log file, it is giving insufficient resources error.
> Why?
>
> On Thu, 22 Feb 2018 at 17:36, Knut Staring  wrote:
>
>> Dear Gerald,
>>
>> There does indeed seem to be a problem with RAM, seems like maybe 32-bit
>> Java is used? However, you definitely do not need as much as 12 Gb RAM to
>> run a small instance of DHIS2, it should be possible with 2 Gb, and
>> certainly with 4 Gb.
>>
>> On Thu, Feb 22, 2018 at 12:38 PM, gerald thomas 
>> wrote:
>>
>>> Jalal,
>>> I am sure there is not enough RAM on your linode VM. Please can you send
>>> the report of this command 'vmstat -s'. From the manual you sent you need
>>> at least 12Gb RAM of which 8Gb should be allocated to the PostgresSQL.
>>>
>>> On Tue, Feb 20, 2018 at 7:57 PM, Knut Staring  wrote:
>>>
 Also, please redirect this to the list:
 dhis2-users@lists.launchpad.net

 On Feb 20, 2018 2:46 PM, "Jalal"  wrote:

> Dears ,
>
>
>
> Please I need your support for the below issue :
>
>
>
> I have a hosting on linode 2048 (My Ubuntu 16.04 LTS),and I’m trying
> to install DHIS2 through the below link:
>
>
>
> https://docs.dhis2.org/2.28/en/implementer/html/install_
> server_setup.html
>
>
>
> but I got the below error: advice please
>
>
>
> #
>
> # There is insufficient memory for the Java Runtime Environment to
> continue.
>
> # Native memory allocation (mmap) failed to map 2796224512 bytes for
> committing reserved memory.
>
> # Possible reasons:
>
> #   The system is out of physical RAM or swap space
>
> #   In 32 bit mode, the process size limit was hit
>
> # Possible solutions:
>
> #   Reduce memory load on the system
>
> #   Increase physical memory or swap space
>
> #   Check if swap backing store is full
>
> #   Use 64 bit Java on a 64 bit OS
>
> #   Decrease Java heap size (-Xmx/-Xms)
>
> #   Decrease number of Java threads
>
> #   Decrease Java thread stack sizes (-Xss)
>
> #   Set larger code cache with -XX:ReservedCodeCacheSize=
>
> # This output file may be truncated or incomplete.
>
> #
>
> #  Out of Memory Error (os_linux.cpp:2640), pid=7874,
> tid=0x7f5b42495700
>
> #
>
> # JRE version:  (8.0_161-b12) (build )
>
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode
> linux-amd64 compressed oops)
>
> # Failed to write core dump. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
>
> #
>
>
>
> ---  T H R E A D  ---
>
>
>
> Current thread (0x7f5b3c00a800):  JavaThread "Unknown thread"
> [_thread_in_vm, id=7875, stack(0x7f5b42395000,0x7f5b42496000)]
>
>
>
> Stack: [0x7f5b42395000,0x7f5b42496000],
> sp=0x7f5b42494350,  free space=1020k
>
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
>
> V  [libjvm.so+0xacf94a]  VMError::report_and_die()+0x2ba
>
> V  [libjvm.so+0x50050b]  report_vm_out_of_memory(char const*, int,
> unsigned long, VMErrorType, char const*)+0x8b
>
> V  [libjvm.so+0x92b133]  os::Linux::commit_memory_impl(char*,
> unsigned long, bool)+0x103
>
> V  [libjvm.so+0x92b5c9]  os::pd_commit_memory(char*, unsigned long,
> unsigned long, bool)+0x29
>
> V  [libjvm.so+0x924c0a]  os::commit_memory(char*, unsigned long,
> unsigned long, bool)+0x2a
>
> V  [libjvm.so+0xacb629]  VirtualSpace::expand_by(unsigned long,
> bool)+0x199
>
> V  [libjvm.so+0xacc17e]  VirtualSpace::initialize(ReservedSpace,
> unsigned long)+0xee
>
> V  [libjvm.so+0x5fec11]  CardGeneration::CardGeneration(ReservedSpace,
> unsigned long, int, GenRemSet*)+0xf1
>
> V  [libjvm.so+0xa7225f]  
> TenuredGeneration::TenuredGeneration(ReservedSpace,
> unsigned long, int, GenRemSet*)+0x5f
>
> V  [libjvm.so+0x5fff19]  

Re: [Dhis2-users] [Dhis2-devs] Support for Time and DateTime

2018-02-23 Thread Bernard Sadaka (IM Advisor)
Dear Lukas,

Was this fix pushed to the repository?

And if yes, will I be able to download it from: 
https://s3-eu-west-1.amazonaws.com/releases.dhis2.org/2.28/dhis.war or on 
another url?



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Bernard Sadaka (IM Advisor) [mailto:lib@pu-ami.org]
Sent: Tuesday, February 13, 2018 3:07 PM
To: 'Lukas Wijgaart-van Dijk' 
Cc: 'dhis2-users' ; 'DHIS 2 developers' 

Subject: RE: [Dhis2-devs] Support for Time and DateTime



Thank you.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Lukas Wijgaart-van Dijk [  
mailto:lukase...@gmail.com]
Sent: Tuesday, February 13, 2018 2:52 PM
To: Bernard Sadaka (IM Advisor) <  
lib@pu-ami.org>
Cc: dhis2-users <  
dhis2-users@lists.launchpad.net>; DHIS 2 developers < 
 dhis2-d...@lists.launchpad.net>
Subject: Re: [Dhis2-devs] Support for Time and DateTime



Hi again,

I will push a fix to the repository. The fix will be for version 2.28 and 2.29.

If all goes as planned you should be able to download a new war-file at the end 
of the day or latest tomorrow.



Regards

- Lukas Wijgaart van Dijk



13. feb. 2018 kl. 13.48 skrev Bernard Sadaka (IM Advisor)  >:



Thank you Lukas,

You will add them to JIRA? To the repository?

When/where will the fix be available for download? In the WAR file? If yes, 
which one?

All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org





From: Lukas Wijgaart-van Dijk [  
mailto:lukase...@gmail.com]
Sent: Tuesday, February 13, 2018 2:42 PM
To: Bernard Sadaka (IM Advisor) <  
lib@pu-ami.org>
Cc: dhis2-users <  
dhis2-users@lists.launchpad.net>; DHIS 2 developers < 
 dhis2-d...@lists.launchpad.net>
Subject: Re: [Dhis2-devs] Support for Time and DateTime



Hi Bernard,

Apparently they have been missed out. I will add them now.



Best regards,

Lukas Wijgaart van Dijk



13. feb. 2018 kl. 13.17 skrev Bernard Sadaka (IM Advisor) < 
 lib@pu-ami.org>:



Hello guys,

Maybe this was already tackled before, but apparently, in my 2.28 instance, the 
Support for Time and DateTime is working in the “maintenance” app but not in 
the “event capture” app (didn’t test the tracker capture app).





I have checked JIRA and found this one as solved in 2.28:  
 
https://jira.dhis2.org/browse/DHIS2-2088



Is there a way to reopen it? Was it only solved for another app? Am I missing 
something?



Thank you again for the support.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org








  _



  <~WRD000.jpg>

This email has been checked for viruses by Avast antivirus software.
  www.avast.com





___
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







---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
Mailing list: