← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Organisational Units Names

 

Hello Lars,
Will try this and revert.

Regards

On 23 Jan 2017 08:39, "Lars Helge Øverland" <lars@xxxxxxxxx> wrote:

> Hi Barnabas,
>
> you might need to clear the server side nginx cache, then restart nginx.
> Did you install your DHIS 2 instance using the "server tools"? On linux you
> can do this with:
>
>
> sudo rm /var/cache/nginx -rf
> sudo service nginx restart
>
>
>
> Then clear your browser cache again.
>
> regards,
>
> Lars
>
>
>
>
> On Mon, Jan 23, 2017 at 8:33 AM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Ok, so at least the org units themselves have proper names. Maybe Jan has
>> an idea of why its not working?
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, Jan 23, 2017 at 2:26 PM, Barnabas Akumba <akumbabarns@xxxxxxxxx>
>> wrote:
>>
>>> Hello Morten,
>>>
>>> Please find attached output from the api query.
>>>
>>> Regards
>>>
>>> On Mon, Jan 23, 2017 at 8:20 AM, Morten Olav Hansen <morten@xxxxxxxxx>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> Could you please also try <SERVER>/api/organisationUnits.json and see
>>>> if they have proper names there?
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Mon, Jan 23, 2017 at 2:04 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>>
>>>>> You should probably refresh or do something until you see some red
>>>>> error messages... The network tab may also be of interest
>>>>>
>>>>> On Jan 23, 2017 1:59 PM, "Barnabas Akumba" <akumbabarns@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> Hello Knut,
>>>>>>
>>>>>> Please find attached.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> On Mon, Jan 23, 2017 at 7:55 AM, Knut Staring <knutst@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>>> You still have not provided us with a screenshot of your chrome
>>>>>>> browser console.
>>>>>>>
>>>>>>> On Mon, Jan 23, 2017 at 1:53 PM, Barnabas Akumba <
>>>>>>> akumbabarns@xxxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Hello Prosper,
>>>>>>>>
>>>>>>>> The only script specified in the upgrade instruction is "Run the
>>>>>>>> database SQL upgrade script
>>>>>>>> <https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-223.sql> once
>>>>>>>> before updating the WAR file. It only applies if you have set up program
>>>>>>>> rules for your system.". This is to be done during the upgrade from 2.22 to
>>>>>>>> 2.23. But as you can see it is optional as we don't have program rules on
>>>>>>>> our system.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> On Mon, Jan 23, 2017 at 5:36 AM, Prosper BT <ptb3000@xxxxxxxxx>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Barnaba,
>>>>>>>>>
>>>>>>>>> Am not a server guy but hope you run the required scripts as
>>>>>>>>> guided in the upgrade package.
>>>>>>>>>
>>>>>>>>> Sometimes I ask the server guys to clear nginx cache
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>> Prosper Behumbiize, MPH
>>>>>>>>> DHIS2 Implementation| HISP Uganda
>>>>>>>>> +256 752 751 776 | +256 776 139 139
>>>>>>>>> prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
>>>>>>>>> prospertb
>>>>>>>>>
>>>>>>>>> On Sat, Jan 21, 2017 at 2:16 PM, Barnabas Akumba <
>>>>>>>>> akumbabarns@xxxxxxxxx> wrote:
>>>>>>>>>
>>>>>>>>>> Here attached output from Log file.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> On Sat, Jan 21, 2017 at 11:48 AM, Knut Staring <knutst@xxxxxxxxx>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> RIght. Any errors in your Chrome browser console? Or in your
>>>>>>>>>>> Tomcat server log?
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Jan 21, 2017 at 10:52 AM, Barnabas Akumba <
>>>>>>>>>>> akumbabarns@xxxxxxxxx> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hello Knut,
>>>>>>>>>>>>
>>>>>>>>>>>> Yes. I've tried clearing the browser cache and also using
>>>>>>>>>>>> another browser plus chrome incognito mode but still get same result.
>>>>>>>>>>>> The levels are also named (see attached Screen shot).
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, Jan 21, 2017 at 10:31 AM, Knut Staring <
>>>>>>>>>>>> knutst@xxxxxxxxx> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Did you clear your browser cache? Have you tried on a
>>>>>>>>>>>>> different browser or chrome incognito mode?
>>>>>>>>>>>>> Do you have names for the levels?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Jan 21, 2017 10:08, "Barnabas Akumba" <
>>>>>>>>>>>>> akumbabarns@xxxxxxxxx> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hello All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> We just upgraded our instance to 2.24 and discovered that the
>>>>>>>>>>>>>> Organisational Unit names wouldn't display in GIS when I try to edit the
>>>>>>>>>>>>>> layers i.e. Boundary, Layer 1, 2,3 and 4.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> See attached screen shot. Any help on how to resolve this
>>>>>>>>>>>>>> will be appreciated.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Barnabas AKUMBA
>>>>>>>>>>>>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>>>>>>>>>>>>> *Skype:* barnabas.akumba
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>> Barnabas AKUMBA
>>>>>>>>>>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>>>>>>>>>>> *Skype:* barnabas.akumba
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Knut Staring
>>>>>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>>>>>> Norway: +4791880522 <+47%20918%2080%20522>
>>>>>>>>>>> Skype: knutstar
>>>>>>>>>>> http://dhis2.org
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Barnabas AKUMBA
>>>>>>>>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>>>>>>>>> *Skype:* barnabas.akumba
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Barnabas AKUMBA
>>>>>>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>>>>>>> *Skype:* barnabas.akumba
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Knut Staring
>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>> Norway: +4791880522 <+47%20918%2080%20522>
>>>>>>> Skype: knutstar
>>>>>>> http://dhis2.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Barnabas AKUMBA
>>>>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>>>>> *Skype:* barnabas.akumba
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>> *Skype:* barnabas.akumba
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
>

References