Re: [Dhis2-users] ver 2.30 's import/export app can't import metadata

2018-09-09 Thread 林晓东
use postgres user. -- 此致 林晓东 莫愁前路无知己,天下谁人不识君。 在 2018-09-10 08:48:19,"Morten Olav Hansen" 写道: Sounds like it an issue with the user you are connecting to your database with. Are you using multiple postgres users, or just one superuser? did you create the database with the owner flag

Re: [Dhis2-users] [Dhis2-devs] ver 2.29 , can't import metadata.

2018-09-09 Thread Morten Olav Hansen
Hi it seems something is wrong with your attribute references. Do they already exist in the system? or are you importing them as part of the metadata file? Assuming they are part of the same file, this would clearly be a bug. Would you mind filing a bug at jira.dhis2.org ? -- Morten Olav

Re: [Dhis2-users] [Dhis2-devs] CVE-2018-11776 struts exploit | impact to DHIS 2?

2018-09-09 Thread Morten Olav Hansen
Hi Stephan Let me include Lars reply from a thread where we were discussing this. """ we did an assessment of this last week and concluded that we are not affected by this vulnerability. This due to the two conditions mentioned (use of namespaces and alwaysSelectFullNamespace config property).

Re: [Dhis2-users] PIVOTS WEEK NUMBERS WRONG

2018-09-09 Thread Morten Olav Hansen
To get a better view of exactly when the latest war was built (and deployed) you can have a look here. https://ci.dhis2.org/ For example for 2.29, the latest version was built 21 hours ago (when I write this email) To get download links from here, you can just click on the project. For example

Re: [Dhis2-users] [Dhis2-devs] Uniqueness of organisation unit name

2018-09-09 Thread Calle Hedberg
Hi, There are only unique constraints for the fields "uid" and "code". That said, I/we have always ensured that at least the main name is factually unique too - the short name is a different matter (although I would argue that ensuring unique short names within e.g. a district or state/province

Re: [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Nayeem Al Mifthah
Thanks Knut. In that case using orgunit name as a ID scheme for data import may not work. [image: image.png] Regards, Nayeem Al Mifthah Consultant for HSS, HMIS, M, GIS and Surveillance Kindly ignore typos. On 9 Sep 2018 11:03 pm, "Knut Staring" wrote: I think this is a feature, not a bug

Re: [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Knut Staring
Unless you know they are unique On Sun, Sep 9, 2018, 7:10 PM Nayeem Al Mifthah wrote: > Thanks Knut. In that case using orgunit name as a ID scheme for data > import may not work. > > [image: image.png] > > > Regards, > Nayeem Al Mifthah > Consultant for HSS, HMIS, M, GIS and Surveillance > >

Re: [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Nayeem Al Mifthah
Noted with thanks. Regards, Nayeem Al Mifthah Kindly ignore typos. On Sun, 9 Sep 2018, 23:13 Knut Staring, wrote: > Unless you know they are unique > > On Sun, Sep 9, 2018, 7:10 PM Nayeem Al Mifthah > wrote: > >> Thanks Knut. In that case using orgunit name as a ID scheme for data >> import

Re: [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Knut Staring
I think this is a feature, not a bug On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah wrote: > Dear All > I have found that, Organisation unit name is accepting duplicate names. Is > it allowed now a days? or a bug? I have created a number of Sierra Leone in > 2.30 demo. Only Code field check

[Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Nayeem Al Mifthah
Dear All I have found that, Organisation unit name is accepting duplicate names. Is it allowed now a days? or a bug? I have created a number of Sierra Leone in 2.30 demo. Only Code field check duplicates. [image: image.png] *Nayeem Al Mifthah* *Health Information Systems Specialist* Support to

Re: [Dhis2-users] ver 2.30 's import/export app can't import metadata

2018-09-09 Thread 林晓东
I have installed postgis extension using apt install postgresql-10-postgis-2.4. but in psql, there is only: pgpool_recovery | 1.1 | public | recovery functions for pgpool-II for V3.4 or later pgpool_regclass | 1.0 | public | replacement for regclass plpgsql | 1.0 |

[Dhis2-users] Delete was not allowed by CompleteDataSetRegistrationDeletionHandler

2018-09-09 Thread 林晓东
hi.all, there are many info in catalina.out: .. * INFO 2018-09-09 14:30:26,753 Delete was not allowed by CompleteDataSetRegistrationDeletionHandler: Could not delete due to association with another object: CompleteDataSetRegistration (DefaultDeletionManager.java

Re: [Dhis2-users] [Dhis2-devs] ver 2.29 , can't import metadata.

2018-09-09 Thread 林晓东
dry run is ok 在 2018-09-06 23:35:15,"Dusabe Eric" 写道: You are right whenever there is an error while importing it keeps showing that it is still running. you can try a dry run and check if everything is fine first. Eric Dusabe Senior Developer HISP RWANDA m: (+250) 788743445 a: KG