A while back I followed the documentation to a T for setting up DHIS2 on ubuntu, and I don’t think the $DHIS2_HOME var was ever set up properly :(. I did find a log file here and tailed it and came back with the same output: “tail -f /home/dhis/config/logs/dhis.log”
No exceptions listed in the log. I rebooted the server and sitll no dataset showing up.
Re the making that catcombo ID not null, shouldn’t the GUI enforce or communicate the default when creating a new element?
This is what it looks like when I create a new element by default, and for some reason, unless I click on that, and re-select default, the element ends up with no catcombo.
···
On Tue, Feb 9, 2016 at 10:43 AM, Morten Olav Hansen morten@dhis2.org wrote:
You can have a look under $DHIS2_HOME/logs/dhis.log
Adding in Mark also (regarding categorycombo issue), we need to have a workaround for this on the client side for now… we will have a proper fix for 2.23 (will make dataelement.categorycomboid not null)
Timothy Harding
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
On Tue, Feb 9, 2016 at 10:36 AM, Timothy Harding tharding@baosystems.com wrote:
Thanks Morten one issue was a missing catcombo, but during the creation of the new element, default was prepopulated into the field, and the system gave no errors when saving the data element. Is there an intended situation for a user to create a data element with no catcombo?
Sadly, still have an exception in the blank db and all three of my data elements are assigned to the default category.
No actual exception gets thrown into catalina.out, are they stored elsewhere now?
- INFO 2016-02-08 19:31:57,731 ‘admin’ create org.hisp.dhis.period.Period, name: 20160202, uid: 20160202 (AuditLogUtil.java [http-bio-8080-exec-7])
I captured the return from the query that goes out just before “An Exception Occurred” and that is all I got.
Morten
–
Timothy Harding
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
On Tue, Feb 9, 2016 at 10:30 AM, Morten Olav Hansen morten@dhis2.org wrote:
But did it work after saving it with default again? or not? if not, could you share the exception from the empty database
On Tue, Feb 9, 2016 at 10:28 AM, Timothy Harding tharding@baosystems.com wrote:
I just tested this on a blank 222 database and same results:
Note that it says default above, but it did not actually attach default until i reselected it and hit save.
Morten
–
Timothy Harding
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
On Tue, Feb 9, 2016 at 10:00 AM, Morten Olav Hansen morten@dhis2.org wrote:
Hi
I don’t see any exception coming out of that last request?
This is probably related to missing categorycombo… just a hunch, but we have seen it before, you need to make sure that default categorycombo is attached
On Tue, Feb 9, 2016 at 9:39 AM, Timothy Harding tharding@baosystems.com wrote:
Hello Devs,
In attempts to recreate an issue in play demo I uncovered something else:
You can see one of three data elements in this dataset here:
https://play.dhis2.org/demo/dhis-web-maintenance/#/edit/dataElement/NLDViyE32oi
The specific request bringing back the exception is the following:
https://play.dhis2.org/demo/dhis-web-dataentry/getDataValues.action?periodId=20160203&dataSetId=rL7BIbsKWUk&organisationUnitId=ImspTQPwCqd&multiOrganisationUnit=false&_=1454985510286
Timothy Harding
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype: hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Morten
–