Re: [Dhis2-devs] Patch review for api change to support fields filter in GET completeDataSetRegistrations and dataApprovals/status

2016-05-19 Thread David Siang Fong Oh
Great, thanks Morten! -doh On Fri, May 20, 2016 at 8:15 AM, Morten Olav Hansen wrote: > Hi > > Thanks for the patch, I have applied it now, I ended up change 2.22/2.23 > to be equal, and applied your trunk patch to trunk only. > > -- > Morten Olav Hansen > Senior Engineer,

Re: [Dhis2-devs] Patch review for api change to support fields filter in GET completeDataSetRegistrations and dataApprovals/status

2016-05-19 Thread Morten Olav Hansen
Hi Thanks for the patch, I have applied it now, I ended up change 2.22/2.23 to be equal, and applied your trunk patch to trunk only. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, May 19, 2016 at 7:07 PM, jhansi wrote:

[Dhis2-devs] [Bug 1583507] Re: [api] Validating a payload against /api/schemas

2016-05-19 Thread Morten Olav Hansen
Fixed now in trunk, the @Property annotation now allows to override required settings from the HBM files. ** Changed in: dhis2 Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

Re: [Dhis2-devs] Program indicator groups

2016-05-19 Thread Olav Poppe
Hi, blueprint for groups: https://blueprints.launchpad.net/dhis2/+spec/program-indicator-groups As for the tracker data element groups, I didn’t quite understand how that would work? What I was thinking of was for cases where you have for example discharge diagnosis or deaths, and would like

Re: [Dhis2-devs] Restoring backup

2016-05-19 Thread Juma Lungo
Hello Dr. Ifeanyi The shortest approach is to install pgAdmin in Ubuntu and use it to restore the backup. You can actually install pgAdmin or phppgadmin in Ubuntu and use one of them to create and restore backups. Lungo From: Johan Ivar Sæbø To: Dr. Ifeanyi Okoye

Re: [Dhis2-devs] Program indicator groups

2016-05-19 Thread Lars Helge Øverland
Hi Olav, yes having program indicator groups as a means of organizing a large list of program indicators sounds like a good and natural development. Please write a blueprint. Having it as a data dimension will be tricky since program indicators are calculated/derived values. What we have been

[Dhis2-devs] Program indicator groups

2016-05-19 Thread Olav Poppe
Hi devs, are there plans for program indicator groups? I didn’t find any blueprints. It doesn’t take to many program indicators before it gets confusing when you just have one huge list. Secondly, in cases where you have data disaggregated by e.g. age and sex, it is currently quite limited

Re: [Dhis2-devs] [Bug 1582637] Re: DHIS NOT DISPLAYED ON BROWSER WHEN DATA IS RESTORED TO POSTGRESQL

2016-05-19 Thread Bob Jolliffe
Hi Mohamed Looking at the small snippet of log file, the dhis war file failed to load. You are right that this has likely something to do with the contents of your database, but the picture of your log file doesn't give the required info. Would need to look at what is happening much earlier in

Re: [Dhis2-devs] [Bug 1582637] Re: DHIS NOT DISPLAYED ON BROWSER WHEN DATA IS RESTORED TO POSTGRESQL

2016-05-19 Thread Knut Staring
I think you may be restoring to a different version of DHIS2 than the dump is made from. Knut Please see my tomcat log. On 5/17/16, Knut Staring wrote: > Probably wrong password. Can you share your Tomcat log? > On 17 May 2016 17:37, "Mohamed Bangura"

Re: [Dhis2-devs] [Dhis2-users] OrgUnit conflicts

2016-05-19 Thread Raminosoa Rabemanantsoa, Tantely
Thank you Lars for those information. Regards, Tantely. On Thu, May 19, 2016 at 3:17 PM, Lars Helge Øverland wrote: > Hi Tantely, > > On Thu, May 19, 2016 at 10:40 AM, Raminosoa Rabemanantsoa, Tantely < > tramino...@mikolo.org> wrote: > >> Hi All, >> >> >> I would like to have

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Chisom
Thanks Bob. Am currently out of the office. I will do this as soon as am back there today. -- Original message-- From: Bob Jolliffe Date: Thu, 19 May 2016 15:42 To: Chisom; Cc: cen...@modhip.gov.ng;iok...@wrp-n.org;joha...@ifi.uio.no;dhis2-devs@lists.launchpad.net; Subject:Re:

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Bob Jolliffe
OK you can see the contents of the file so we know it is a plain text dump. Assuming the file is called dbdump.sql and your database is called dhis, then try the following from the commandline and report back what you get: sudo -u postgres psql -d dhis -f dbdump.sql (you might need to change

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Chisom
Dear Bob, Yes I can see the contents of the file. The machine runs trusty and DHIS2 is setup. And yes, am part of a team of three responsible for maintaining the server. Sadly, I have never had to do this kind of db restore before and neither has any member of the team. Any help would be

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Knut Staring
Easier if he rather uses pg_dump directly, I think. Knut On 19 May 2016 14:46, "CHIKWADO ENEJA" wrote: > Yes. Someone (Ifeanyi) made a dump from a Windows setup of DHIS using > pgAdmin. He sent it via email and now I have to restore it to an Ubuntu > setup. > > > > Sorry

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Bob Jolliffe
Hi Eneja It is indeed possible to connect to postgres on the ubuntu server from pgadmin on windows, but it requires changing a configuration setting on postgres. By default it won't listen to network connections for security reasons. In general I would leave that setting alone unless you know

Re: [Dhis2-devs] [Dhis2-users] Change Yes/No data element display text on data entry form

2016-05-19 Thread Lars Helge Øverland
Hi Ryan, sorry that is not possible at the moment. A workaround is to create an option set with three options and assign it to your data elements. Its a good idea to think through how you want to aggregate these values if so in terms of which codes you assign to the options. regards, Lars

[Dhis2-devs] [Bug 1582127] Re: Data Visualizer Favorites fail to save Details of data elements

2016-05-19 Thread Jan Henrik Øverland
** Changed in: dhis2 Status: New => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1582127 Title: Data Visualizer Favorites fail to save Details of data elements Status in

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Knut Staring
I thought you said you want to restore FROM Windows TO Ubuntu? On Thu, May 19, 2016 at 2:17 PM, Chisom wrote: > Dear Bob, > > > > The server is Ubuntu. No GUI. I thought I could connect to the server with > pgAdmin on Windows to make the dump. > > > > -- Original

Re: [Dhis2-devs] Bug in 2.22 & 2.23 - Cannot save Data Visualizer Favorite when using Details

2016-05-19 Thread Sam Kasozi
And thanks for the prompt response. Regards, Sam Kasozi +256 788 993565 | Skype: sam.kasoziug On May 19, 2016 3:16 PM, "Jan Henrik Øverland" wrote: > Hi Sam, > > This is now fixed. Please update. Thanks for reporting this. > > Jan > > On 16 May 2016 at 11:15, Sam Kasozi

Re: [Dhis2-devs] [Dhis2-users] OrgUnit conflicts

2016-05-19 Thread Lars Helge Øverland
Hi Tantely, On Thu, May 19, 2016 at 10:40 AM, Raminosoa Rabemanantsoa, Tantely < tramino...@mikolo.org> wrote: > Hi All, > > > I would like to have your advice on how to fix the following issues: > > > - The first point is that after the creation of users who are entering > data through DHIS2

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Chisom
Dear Bob, The server is Ubuntu. No GUI. I thought I could connect to the server with pgAdmin on Windows to make the dump. -- Original message-- From: Knut Staring Date: Thu, 19 May 2016 15:08 To: Chisom; Cc: bobjolli...@gmail.com;CHIKWADO

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Knut Staring
Hi Eneja, I would suggest you rather do the dump directly on the Command line in Windows, instead of using pgAdmin. Knut On Thu, May 19, 2016 at 1:52 PM, Chisom wrote: > Thanks Bob. > > > > I've done that at the postgres# prompt and there's simply no feedback. I > am

[Dhis2-devs] Patch review for api change to support fields filter in GET completeDataSetRegistrations and dataApprovals/status

2016-05-19 Thread jhansi
Hello Dhis-Devs,After upgrading from DHIS v2.19 to v2.22, we noticed a considerable difference in the response size of the following APIs:GET completeDataSetRegistrations GET dataApprovals/status Since those APIs were not supporting the fields filter, we were not able to reduce the response size.

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Chisom
Thanks Bob. I've done that at the postgres# prompt and there's simply no feedback. I am contemplating installing pgAdmin on the server then attempt to connect to it from a Windows pc. Do you think this is a good way to proceed? Regards, Eneja. -- Original message-- From: Bob Jolliffe

Re: [Dhis2-devs] [SUSPECTED SPAM] RE: Restoring backup

2016-05-19 Thread Bob Jolliffe
Hi Eneja Please see my earlier request for more exact information. It sounds to me that your pgAdmin dump is not in plain text format. In which case you would have to use pg_restore rather than psql to restore it. But you can easily verify by just looking inside the file to see if it is a text

Re: [Dhis2-devs] Restoring backup

2016-05-19 Thread Bob Jolliffe
Hi Ifeany Can you give exact psql command you are using and the output? If it is a plain text format you should be able to see the sql commands in it by running a command like 'less backup.sql' (assuming that is the name of your file). That is always good to verify that what you have is indeed

[Dhis2-devs] Change Yes/No data element display text on data entry form

2016-05-19 Thread WILLIAMS, Ryan O'Neil
Dear all, Can I change "No value" display text for a Yes/No data element to something else? I would like the text "Unknown" to appear on the data entry form instead. I am using v2.22. Thanks, Ryan Williams World Health Organization Global Malaria Programme 20 Avenue Appia 1211 Geneva 27 tel:

[Dhis2-devs] [Bug 1583507] Re: [api] Validating a payload against /api/schemas

2016-05-19 Thread Morten Olav Hansen
** Changed in: dhis2 Importance: Undecided => High ** Changed in: dhis2 Milestone: None => 2.24 ** Changed in: dhis2 Status: New => Confirmed ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) -- You received this bug notification because you are a

[Dhis2-devs] [Bug 1583507] [NEW] [api] Validating a payload against /api/schemas

2016-05-19 Thread Mark Polak
Public bug reported: When sending a "to be created" object (without an id property) to be validated the schemas endpoint returns an error report with E4000 saying the "id" property is required. I expect the id to be created on POST and therefore not to be required when validating a payload. To

[Dhis2-devs] Restoring backup

2016-05-19 Thread Johan Ivar Sæbø
Hi Ifeany, I forward this to the developer list, which is a good place to direct such issues. You should create an account and join the list here: https://launchpad.net/~dhis2-devs I leave it to someone with more expertise to help with the backup restoration. Johan On 18.05.2016 19:57, Dr.

[Dhis2-devs] OrgUnit conflicts

2016-05-19 Thread Raminosoa Rabemanantsoa, Tantely
Hi All, I would like to have your advice on how to fix the following issues: - The first point is that after the creation of users who are entering data through DHIS2 data capture, each of them has the following warning (409 conflict) when logging in the web interface mentioning that the user