Re: [Dhis2-devs] Getting Current Date using D2

2018-03-26 Thread simon mugisa
Thanks Eduardo, I noticed this actually, however when I used this in the programe rule definition it seemed to choke the system. will give it a go again and will update you on the server logs. regards, *Simon Robert Kununka* *DHIS2 implementor, Systems Analyst and Development Consultant* Uga

[Dhis2-devs] dhis 2.29: postgresql only

2018-03-26 Thread Lars Helge Øverland
Hi, in dhis version 2.29 we require PostgreSQL as the database platform, together with the PostGIS spatial extension. This means that MySQL is no longer supported. The minimum version required is PostgreSQL 9.1. However we recommend upgrading to a later version as we plan to take advantage of som

[Dhis2-devs] Analytics not stopping

2018-03-26 Thread Ryan Nazareth
Hi all, I am trying to import the Sierra Leone database - Ive just run analytics after importing the sql dump into PostgreSQL., but it doesn't seem to stop (Ive had it run overnight and re run it again with skipping the event and enrolment data generation. These are some of the errors I was get

Re: [Dhis2-devs] Analytics not stopping

2018-03-26 Thread Calle Hedberg
Ryan Those log errors are not relevant - you see them because you haven't run analytics yet. Regards Calle On 26 March 2018 at 12:22, Ryan Nazareth wrote: > Hi all, > > > > I am trying to import the Sierra Leone database – Ive just run analytics > after importing the sql dump into PostgreSQL.,

[Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Farai Mutero
Hi All We are looking at automating the process of resetting of a user's password when the password expires I'm trying to update the user password via the WebAPI. I carefully prepare the payload as dictated by the documentation and the API sends back a response as below that the user has been upd

Re: [Dhis2-devs] Analytics not stopping

2018-03-26 Thread Ryan Nazareth
Thanks Calle. This a bit strange because Ive had analytics running overnight after clicking the ‘Start Export’ button. Do I need to change any default settings in some of the other apps before running analytics ? Best Wishes Ryan From: Calle Hedberg Sent: 26 March 2018 11:45 To: Ryan Nazareth

Re: [Dhis2-devs] [Dhis2-users] Analytics not stopping

2018-03-26 Thread Lars Helge Øverland
Hi Ryan, are you getting any other errors in the tomcat log which you can share? regards, Lars On 26 March 2018 at 16:42, Ryan Nazareth wrote: > Thanks Calle. This a bit strange because Ive had analytics running > overnight after clicking the ‘Start Export’ button. Do I need to change any >

Re: [Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Morten Olav Hansen
What you provide here is just the summary report... To change a password, you need to add "password" field to the "userCredentials" part of the payload... are you doing that? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Mar 26, 2018 at 6:25 PM, F

Re: [Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Farai Mutero
Hi Morten Yes absolutely. This is the payload that I'm sending : { "id": "ogzPPGeR3je", "name": "Joe Soap", "displayName": "Joe Soap", "surname": "Soap", "firstName": "Joe", "userCredentials": { "id": "l0LtVrLx9rn", "username": "", "password":"Passw

Re: [Dhis2-devs] [Dhis2-users] Analytics not stopping

2018-03-26 Thread Ryan Nazareth
Hi Lars, Ive attached the log file. I have just reinstalled dhis2 and ran it with the default dhs conf file – the analytics (export) seemed to do run with a summary/report generated. When I ran it again after logging in to DHIS2 after adjusting the conf file with my PostgreSQL details - I ge

Re: [Dhis2-devs] [Dhis2-users] Analytics not stopping

2018-03-26 Thread Lars Helge Øverland
It seems the analytics process does not start. Can you look in the developer console for errors and network activity? On 26 March 2018 at 19:16, Ryan Nazareth wrote: > Hi Lars, > > > > Ive attached the log file. I have just reinstalled dhis2 and ran it with > the default dhs conf file – the ana

[Dhis2-devs] Locking Data Values when Data Set is Complete

2018-03-26 Thread Pamod Amarakoon
Dear All, This is with reference to the previous discussion on similar issue in 2015 (link below) https://lists.launchpad.net/dhis2-devs-core/msg00377.html As I'm aware disabling editing of data values happens through locking mechanism which is mainly dependent on expiry date and data approval.