[Dhis2-users] Can't add items to a dashboard, dhis2 version 2.27

2018-09-24 Thread Isaiah Nyabuto
Hi everyone,

Am wondering why I am not able to add items on the dashboard. I can find
the visualizations I want to add, but I can't see the add button. I am also
on a very stable network.

Thoughts?
-- 
Isaiah Nyabuto
email: isaiahnyab...@gmail.com
Tel: +254 729 572 616
___
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] assign data elements to an event program

2018-09-24 Thread Pau Varela
hi Knut,

ups, nope, I must confess I wasn't sure ;)  Data elements were not created
as tracker elements. that was the config point I was missing. Now I can see
them!

takk!!

pau.

Missatge de Knut Staring  del dia dl., 24 de set. 2018 a
les 10:57:

> Hi, are you sure the data elements were created as Tracker elements rather
> than aggregate ones?
>
> Knut
>
> On Mon, Sep 24, 2018, 10:39 AM Pau Varela  wrote:
>
>> hi there,
>>
>> I'm running a clean installation of DHIS2 (2.30) and I'm unable to assign
>> data elements to an Event Program I just created following:
>> https://docs.dhis2.org/2.30/en/user/html/dhis2_user_manual_en_full.html#create_event_program
>>
>> Problem is I don't see any available data elements to assign from the
>> Event Program > Assign data elements section.
>>
>> I've read some thread in this list about giving proper user roles to the
>> programs (or viceversa), but I only have a super user (the default admin
>> user) and still not seeing any data element
>>
>> As said, the installation has almost no data, and I only created few OU
>> and data elements which got public access. I wonder if there is some
>> meta-data or config value missing. I'm also not sure whether I should
>> assign the OU to the program, but I can't see the way to do it.
>>
>> thanks in advance and best regards,
>>
>> pau.
>> ___
>> 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] assign data elements to an event program

2018-09-24 Thread Knut Staring
Hi, are you sure the data elements were created as Tracker elements rather
than aggregate ones?

Knut

On Mon, Sep 24, 2018, 10:39 AM Pau Varela  wrote:

> hi there,
>
> I'm running a clean installation of DHIS2 (2.30) and I'm unable to assign
> data elements to an Event Program I just created following:
> https://docs.dhis2.org/2.30/en/user/html/dhis2_user_manual_en_full.html#create_event_program
>
> Problem is I don't see any available data elements to assign from the
> Event Program > Assign data elements section.
>
> I've read some thread in this list about giving proper user roles to the
> programs (or viceversa), but I only have a super user (the default admin
> user) and still not seeing any data element
>
> As said, the installation has almost no data, and I only created few OU
> and data elements which got public access. I wonder if there is some
> meta-data or config value missing. I'm also not sure whether I should
> assign the OU to the program, but I can't see the way to do it.
>
> thanks in advance and best regards,
>
> pau.
> ___
> 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] [Dhis2-devs] Error when upgrading DHIS2 from 2.29 to 2.30 - relationships

2018-09-24 Thread Jose Garcia Muñoz
Yes, I had the same issue. Definitely agreed about having this documented
in the upgrade notes.

On Tue, Sep 18, 2018 at 6:04 PM Shurajit Dutta 
wrote:

> Hi everyone
>
> Thanks for the insights. This has fixed the problem for me.
>
> Perhaps we can add something to the upgrade notes?
>
> Nick
>
> On Mon, Sep 17, 2018, 8:30 PM Bernard Sadaka (IM Advisor) <
> lib@pu-ami.org> wrote:
>
>> Also in order to detect the problems in other permissions on other tables
>> I ran this query:
>>
>> SELECT *
>>
>> FROM pg_tables t
>>
>> WHERE t.tableowner <> 'dhis' – dhis is my DHIS2 db user
>>
>> and schemaname = 'public';
>>
>>
>>
>> I discovered there’s also the table public.spatial_ref_sys that was not
>> under my dhis db user, so I altered its owner too.
>>
>> Thanks for the help.
>>
>>
>>
>> All the best,
>>
>> Bernard
>>
>>
>>
>> [image: cid:image002.png@01D36F50.572585A0]
>>
>> *Bernard Sadaka*
>>
>> *Information Management Advisor*
>>
>> Première Urgence - Aide Médicale Internationale
>>
>> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>>
>> Ain el Remmaneh, Beirut, Lebanon
>>
>> *E-mail:* lib@pu-ami.org
>>
>> *Cell:* +961 71 004 881 (208)
>>
>> *Skype:* imapuami
>>
>> *Website:* https://www.pu-ami.org
>>
>>
>>
>>
>>
>> *From:* Stian Sandvold [mailto:st...@dhis2.org]
>> *Sent:* Monday, September 17, 2018 03:28 PM
>> *To:* Bob Jolliffe 
>> *Cc:* lib@pu-ami.org; DHIS 2 Users list <
>> dhis2-users@lists.launchpad.net>; DHIS 2 Developers list <
>> dhis2-d...@lists.launchpad.net>
>> *Subject:* Re: [Dhis2-users] [Dhis2-devs] Error when upgrading DHIS2
>> from 2.29 to 2.30 - relationships
>>
>>
>>
>> Did the sql fix your issues or are you still having issues? The superuser
>> and ownership is a tricky challenge since we dont know the name of the
>> user, but aside from the postgis extension, the upgradescript should be
>> runnable as a non-superuser if I remember correctly.
>>
>>
>>
>> On Mon, Sep 17, 2018 at 12:36 PM Bob Jolliffe 
>> wrote:
>>
>> Good point Bernard.
>>
>>
>>
>> Interestingly this is the reverse problem to that of creating the postgis
>> extension. You have to be a superuser role in the database to create the
>> postgis extension in the database.  But ...
>>
>>
>>
>> If you have run the upgrade script from
>> https://github.com/dhis2/dhis2-releases/blob/master/releases/2.30/upgrade-230.sql
>> as a superuser (eg postgres) then you are going to be left with two new
>> tables (and a function?) owned by the postgres user.
>>
>>
>>
>> So you should, in fact, have to do afterwards both:
>>
>> ALTER TABLE public.relationshipitem OWNER to dhis;
>>
>> ALTER TABLE public.relationshipconstraint OWNER to dhis;
>>
>>
>>
>> Which is a little messy :-)  But hard to figure the neatest way around
>> because we cannot know in advance the name of the dhis db user.
>>
>>
>>
>> Cheers
>>
>> Bob
>>
>>
>>
>> On 17 September 2018 at 09:58, Bernard Sadaka (IM Advisor) <
>> lib@pu-ami.org> wrote:
>>
>> I faced this same error before: “'permission denied for relation XXX”
>>
>> and I fixed it using this query in the DB:
>>
>>
>>
>> ALTER TABLE public.relationshipitem OWNER to dhis;
>>
>>
>>
>> Replace dhis with your DB user
>>
>>
>>
>> All the best,
>>
>> Bernard
>>
>>
>>
>> [image: cid:image002.png@01D36F50.572585A0]
>>
>> *Bernard Sadaka*
>>
>> *Information Management Advisor*
>>
>> Première Urgence - Aide Médicale Internationale
>>
>> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>>
>> Ain el Remmaneh, Beirut, Lebanon
>>
>> *E-mail:* lib@pu-ami.org
>>
>> *Cell:* +961 71 004 881 (208)
>>
>> *Skype:* imapuami
>>
>> *Website:* https://www.pu-ami.org
>>
>>
>>
>>
>>
>> *From:* Dhis2-users [mailto:dhis2-users-bounces+lib.ima=
>> pu-ami@lists.launchpad.net] *On Behalf Of *Em Le Hong
>> *Sent:* Monday, September 17, 2018 11:51 AM
>> *To:* Shurajit Dutta ; DHIS 2 Developers list <
>> dhis2-d...@lists.launchpad.net>
>> *Cc:* DHIS 2 Users list 
>> *Subject:* Re: [Dhis2-users] Error when upgrading DHIS2 from 2.29 to
>> 2.30 - relationships
>>
>>
>>
>> Hi all,
>>
>>
>>
>> I got the same problem with Nick.
>>
>> It says 'permission denied for relation relationshipitem',
>>
>>
>>
>> [image: image.png]
>>
>>
>>
>> On Tue, Sep 11, 2018 at 11:18 PM Shurajit Dutta 
>> wrote:
>>
>> Hi everyone,
>>
>>
>>
>> I am trying to upgrade a DHIS2 instance from 2.29 to 2.30. I have done
>> this on a couple other instances successfully. The issue I seem to be
>> having here is with the relationship types. In 2.29, I have the following
>> relationships:
>>
>>
>>
>> [image: image.png]
>>
>>
>>
>> This changes to the following (as per the release notes this is expected)
>> in 2.30:
>>
>>
>>
>> [image: image.png]
>>
>>
>>
>> There are a couple issues I seem to be running into.
>>
>>
>>
>> 1. I can not seem to edit these relationship types at all (the log error
>> says "permission denied for relation relationshipconstraint"
>>
>>
>>
>> [image: image.png]
>>
>>
>>
>> 2. I can not seem to open any tracker programs in tracker 

Re: [Dhis2-users] android capture appp's field with options list can't input select option's value.

2018-09-24 Thread Marta Vila
Hi,

chinese options should work as well. Can you please report a Jira issue or
share a link to the issue if its already reported?

thanks,

On Mon, 24 Sep 2018 at 07:44, Bernard Sadaka (IM Advisor) <
lib@pu-ami.org> wrote:

> Hi,
>
> Which war version are you using? Also which android app?
>
>
>
> All the best,
>
> Bernard
>
>
>
> [image: cid:image002.png@01D36F50.572585A0]
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib@pu-ami.org
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+lib.ima=
> pu-ami@lists.launchpad.net] *On Behalf Of *???
> *Sent:* Sunday, September 23, 2018 05:04 AM
> *To:* dhis2-users@lists.launchpad.net; l...@dhis2.org
> *Subject:* [Dhis2-users] android capture appp's field with options list
> can't input select option's value.
>
>
>
> hi,all,
>
>I have got the newest code from github , build successfully, but when I
> use in my phone, the capture form 's field with option list can't fill
> select option .
>
>I also installed the app from google  play, it's has the same problem.
>
>
>
>can help?
>
>
>
> Thanks
>
> --
>
> 此致
> easy
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
>
> ___
> 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