Re: [Dhis2-users] insufficient memory problem

2018-02-20 Thread Knut Staring
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]  GenerationSpec::init(ReservedSpace, int,
> GenRemSet*)+0x339
>
> V  [libjvm.so+0x5eeaae]  GenCollectedHeap::initialize()+0x1de
>
> V  [libjvm.so+0xa979f3]  Universe::initialize_heap()+0xf3
>
> V  [libjvm.so+0xa97f5e]  universe_init()+0x3e
>
> V  [libjvm.so+0x641fb5]  init_globals()+0x65
>
> V  [libjvm.so+0xa7c5ae]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e
>
> V  [libjvm.so+0x6d6c24]  JNI_CreateJavaVM+0x74
>
> C  [libjli.so+0x797e]  JavaMain+0x9e
>
> C  [libpthread.so.0+0x76ba]  start_thread+0xca
>
>
>
>
>
> ---  P R O C E S S  ---
>
>
>
> Java Threads: ( => current thread )
>
>
>
> Other Threads:
>
>
>
> =>0x7f5b3c00a800 (exited) JavaThread "Unknown thread" [_thread_in_vm,
> id=7875, stack(0x7f5b42395000,0x7f5b42496000)]
>
>
>
> VM state:not at safepoint (not fully initialized)
>
>
>
> VM Mutex/Monitor currently owned by a thread: None
>
>
>
> GC Heap History (0 events):
>
> No events
>
>
>
> Deoptimization events (0 events):
>
> No events
>
>
>
> Classes redefined (0 events):
>
> No events
>
>
>
> Internal exceptions (0 events):
>
> No events
>
>
>
> Events (0 events):
>
> No events
>
>
>
>
>
> Dynamic libraries:
>
> 0040-00401000 r-xp  08:00 252076
> /usr/lib/jvm/java-8-oracle/bin/java
>
> 0060-00601000 rw-p  08:00 252076
> /usr/lib/jvm/java-8-oracle/bin/java
>
> 021e2000-02203000 rw-p  00:00 0
> [heap]
>
> 5eb40-63e95 rw-p  00:00 0
>
> 63e95-68780 ---p  00:00 0
>
> 72e2b-7c000 ---p  00:00 0
>
> 7f5b2af79000-7f5b2b3ac000 rw-p  00:00 0
>
> 7f5b2b3ac000-7f5b2bfb7000 ---p  00:00 0
>
> 7f5b2bfb7000-7f5b2bfc2000 rw-p  00:00 0
>
> 7f5b2bfc2000-7f5b2c378000 ---p  00:00 0
>
> 7f5b2c378000-7f5b2c5e8000 rwxp  00:00 0
>
> 7f5b2c5e8000-7f5b3b378000 ---p  00:00 0
>
> 7f5b3b378000-7f5b3b393000 r-xp  08:00 253822
>  /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so
>
> 7f5b3b393000-7f5b3b593000 ---p 0001b000 08:00 253822
> 

Re: [Dhis2-users] Android applications security risk

2018-02-20 Thread Ignacio Foche
Hi Ed,

no it's not. Data is currently just stored in a sqlite DB with no
encryption. Of course, all suggestions to improve both current and new app
are always welcome.

Best regards

Le lun. 19 févr. 2018 à 17:15, Edward Robinson 
a écrit :

> Thanks Ignacio, hopefully it will be implemented soon.  I don’t think it’s
> unexpected in some communities for people using the app to be sharing their
> device with other friends / family if it’s a personal device.  I’m not
> familiar with the technical side of the application, do you know if the
> data on the device is encrypted at rest?
>
> Regards
>
> Ed
>
>
>
> *From:* Ignacio Foche [mailto:nacho.fo...@gmail.com]
> *Sent:* Monday, 19 February 2018 3:36 AM
> *To:* Edward Robinson 
> *Cc:* dhis2-users 
> *Subject:* Re: [Dhis2-users] Android applications security risk
>
>
>
> Hi Ed,
>
>
>
> In the Current DHIS2 Apps there's no way to ask for the password in a
> per-session basis (nothing like a sign-out + sign-in without DB wipe). As
> far as I know, there are plans for this on the new app (at least we've
> already provided such a function in the new SDK) but regarding the new app
> roadmap I'm not the appropriate person to talk, so I leave Marta to
> complete my answer.
>
>
>
> In the meanwhile, I would suggest protecting your device with a PIN, so
> only the authorized person can unblock the device.
>
>
>
> I hope it helps.
>
>
>
> Best regards
>
>
>
> Le ven. 16 févr. 2018 à 19:18, Edward Robinson <
> erobin...@projectbalance.com> a écrit :
>
> Is there any way to sign out of the Android application?  We’re wanting to
> use it to track highly sensitive patient level data in the field but can’t
> find a sign out option in the application.  I’m concerned that if a field
> worker loses a phone this is a serious security risk.  Am I missing
> something, or is there no way to sign out of the application without wiping
> the local data?  Is this a feature still planned for future?
>
>
>
> Regards
>
> Ed
>
> ___
> 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
>
> --
>
> Ignacio Foche Pérez
>
-- 
Ignacio Foche Pérez
___
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] HOW TO CREATE PROGRAM INDICATOR IN DHIS2 2.27 TO 2.28

2018-02-20 Thread Markus Bekken
Hi there Stanley,
the program indicators is now located in the maintenance app. The program 
indicator section of the maintenance app contains the same fields as the old 
app did, but the fields are spread out on three pages that is navigated like a 
wizard.

Markus

> 20. feb. 2018 kl. 17:31 skrev Stanley Kalyati :
> 
> 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.
> 
> 
> ___
> 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] Setting up GIS

2018-02-20 Thread Isaiah Nyabuto
Hi Knut,

Yes it worked. Thank you.

On Tue, Feb 20, 2018 at 3:25 PM, Knut Staring  wrote:

> Try opening the orgunit lwvwls and click on Save.
>
> On Feb 20, 2018 12:34 AM, "Isaiah Nyabuto" 
> wrote:
>
>> Hi Knut,
>>
>> I can see the boundaries, however I cannot select organisation units
>> below certain level say level 2.
>>
>> On Tue, Feb 20, 2018 at 6:40 AM, Knut Staring  wrote:
>>
>>> Probably not. Do you see the boundary layer in the GIS module?
>>>
>>> On Feb 19, 2018 12:01 PM, "Isaiah Nyabuto" 
>>> wrote:
>>>
 Dear Dhis2 Community,

 I imported organisationUnits as (geojson file) with coordinates. Am not
 sure whether I'll need to create gml files inorder to get my gis working.
 I understand that the process documented here
  requires a
 different set up?

 Please advise.

 Thank you.


 --
 
 
 Isaiah Nyabuto
 +254 729 572 616
 Bsc. Health Records Management & Informatics, JKUAT.

 ___
 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


>>
>>
>> --
>> 
>> 
>> Isaiah Nyabuto
>> +254 729 572 616
>> Bsc. Health Records Management & Informatics, JKUAT.
>>
>


-- 

Isaiah Nyabuto
+254 729 572 616
Bsc. Health Records Management & Informatics, JKUAT.
___
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] HOW TO CREATE PROGRAM INDICATOR IN DHIS2 2.27 TO 2.28

2018-02-20 Thread Stanley Kalyati
 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.

[image: 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


[Dhis2-users] (no subject)

2018-02-20 Thread Stanley Kalyati
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.
[image: 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] Legend for option sets

2018-02-20 Thread Bjørn Sandvik
Currently working on this, and if we're lucky it will be part of the new
2.29 Maps app - 2.30 for sure.

Bjørn

-- 
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
www.dhis2.org


On Tue, Feb 20, 2018 at 1:31 PM, Knut Staring  wrote:

> Right. Not supported in 2.28, I'm afraid, but sorely needed and hopefully
> coming soon.
>
> On Feb 20, 2018 6:26 AM, "Natalie Tibbels"  wrote:
>
> Thank you Knut – sorry I didn’t specify, but the structures are not org
> units but are themselves tracked entities. (I know that’s unusual but there
> are reasons…) I guess it would be equivalent to asking if I could display
> TEIs on the map with different colors for a particular categorical
> attribute (like men and women).
>
>
>
>
>
>
>
> *From: *Knut Staring 
> *Date: *Monday, February 19, 2018 at 10:54 PM
> *To: *Natalie Tibbels 
> *Cc: *DHIS 2 Users list 
> *Subject: *Re: [Dhis2-users] Legend for option sets
>
>
>
> You can use orgunit groups for different types.
>
>
>
> Knut
>
>
>
> On Feb 19, 2018 8:40 PM, "Natalie Tibbels"  wrote:
>
> Hi all,
>
>
>
> Is it possible to color code or label tracked entities in GIS? I am using
> tracker to map community structures (schools, product distribution points,
> CBOs, etc).
>
>
>
> Could I set up a legend set to have the different types of structures show
> up in different colors on the map, based on the option set – so schools in
> green, distribution points in blue, for example. I can only find a way to
> make a continuous legend, rather than colors/icons associated with
> categorical options.
>
>
>
> Could I, in addition, have a certain data element (the name of the
> structure) show up as a label on the map?
>
>
>
> Grateful for any help!
>
>
>
> ~Natalie
>
>
> ___
> 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
>
>
___
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] Setting up GIS

2018-02-20 Thread Knut Staring
Try opening the orgunit lwvwls and click on Save.

On Feb 20, 2018 12:34 AM, "Isaiah Nyabuto"  wrote:

> Hi Knut,
>
> I can see the boundaries, however I cannot select organisation units below
> certain level say level 2.
>
> On Tue, Feb 20, 2018 at 6:40 AM, Knut Staring  wrote:
>
>> Probably not. Do you see the boundary layer in the GIS module?
>>
>> On Feb 19, 2018 12:01 PM, "Isaiah Nyabuto" 
>> wrote:
>>
>>> Dear Dhis2 Community,
>>>
>>> I imported organisationUnits as (geojson file) with coordinates. Am not
>>> sure whether I'll need to create gml files inorder to get my gis working.
>>> I understand that the process documented here
>>>  requires a
>>> different set up?
>>>
>>> Please advise.
>>>
>>> Thank you.
>>>
>>>
>>> --
>>> 
>>> 
>>> Isaiah Nyabuto
>>> +254 729 572 616
>>> Bsc. Health Records Management & Informatics, JKUAT.
>>>
>>> ___
>>> 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
>>>
>>>
>
>
> --
> 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
>
___
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] Legend for option sets

2018-02-20 Thread Natalie Tibbels
Thank you Knut – sorry I didn’t specify, but the structures are not org units 
but are themselves tracked entities. (I know that’s unusual but there are 
reasons…) I guess it would be equivalent to asking if I could display TEIs on 
the map with different colors for a particular categorical attribute (like men 
and women).



From: Knut Staring 
Date: Monday, February 19, 2018 at 10:54 PM
To: Natalie Tibbels 
Cc: DHIS 2 Users list 
Subject: Re: [Dhis2-users] Legend for option sets

You can use orgunit groups for different types.

Knut

On Feb 19, 2018 8:40 PM, "Natalie Tibbels" 
> wrote:
Hi all,

Is it possible to color code or label tracked entities in GIS? I am using 
tracker to map community structures (schools, product distribution points, 
CBOs, etc).

Could I set up a legend set to have the different types of structures show up 
in different colors on the map, based on the option set – so schools in green, 
distribution points in blue, for example. I can only find a way to make a 
continuous legend, rather than colors/icons associated with categorical options.

Could I, in addition, have a certain data element (the name of the structure) 
show up as a label on the map?

Grateful for any help!

~Natalie

___
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