Pivot Table Not Loading on 2.26

Dear All,
After upgrading my instance to 2.26; i notice that my pivot table and
visualizer are not loading.

Don't know if it is a bug, please help.

Build revision:
    a52916f

···

--
Regards,

Gerald

Hi Gerald,

It probably is not a bug, since it works here (please always check the online demo):

https://play.dhis2.org/demo/dhis-web-pivot/#

Then please let us know what you have done so far: Have you tried different browsers, incognito mode and cache cleaning?

If the problem is still there, please share messages from the browser console and server log.

Knut

···

On Sun, Apr 23, 2017 at 12:50 PM, gerald thomas gerald17006@gmail.com wrote:

Dear All,

After upgrading my instance to 2.26; i notice that my pivot table and

visualizer are not loading.

Don’t know if it is a bug, please help.

Build revision:

a52916f

Regards,

Gerald


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Dear Knut,
As per previous mail sent:
I had tried it with different browser but the situation is still the
same. The log on the web browers is as follows:
GET
XHR
https://sl.dhis2.org/hmis/api/26/dataSets.json [HTTP/1.1 200 OK 190ms]
Empty string passed to getElementById(). sl.dhis2.org
POST
XHR
https://chat.phoenix.edu/http-bind [HTTP/1.1 200 OK 60424ms]
Empty string passed to getElementById(). sl.dhis2.org
Empty string passed to getElementById(). ext-all.js:15:88033
Empty string passed to getElementById(). sl.dhis2.org
GET
XHR
https://sl.dhis2.org/hmis/api/26/analytics.json [HTTP/1.1 200 OK 361ms]
GET
XHR
https://sl.dhis2.org/hmis/api/26/analytics.json [HTTP/1.1 200 OK 485ms]
TypeError: e.metaData.names is undefined[Learn More] app.js:1:13534

···

On 4/23/17, Knut Staring <knutst@gmail.com> wrote:

Hi Gerald,

It probably is not a bug, since it works here (please always check the
online demo):
https://play.dhis2.org/demo/dhis-web-pivot/#

Then please let us know what you have done so far: Have you tried different
browsers, incognito mode and cache cleaning?

If the problem is still there, please share messages from the browser
console and server log.

Knut

On Sun, Apr 23, 2017 at 12:50 PM, gerald thomas <gerald17006@gmail.com> > wrote:

Dear All,
After upgrading my instance to 2.26; i notice that my pivot table and
visualizer are not loading.

Don't know if it is a bug, please help.

Build revision:
    a52916f
--
Regards,

Gerald

_______________________________________________
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

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

--
Regards,

Gerald

Hi Gerald,

this looks like a mismatch between the API and the pivot table app. Likely some app files are stuck in a cache somewhere:

  • clear nginx cache on the server:

sudo rm /var/cache/nginx -rf

sudo service nginx restart

  • check that you upgraded your WAR file properly (deleted the old directory + WAR file)

regards,

Lars

···

On Sun, Apr 23, 2017 at 11:12 PM, gerald thomas gerald17006@gmail.com wrote:

Dear Knut,

As per previous mail sent:

I had tried it with different browser but the situation is still the

same. The log on the web browers is as follows:

GET

XHR

https://sl.dhis2.org/hmis/api/26/dataSets.json [HTTP/1.1 200 OK 190ms]

Empty string passed to getElementById(). sl.dhis2.org

POST

XHR

https://chat.phoenix.edu/http-bind [HTTP/1.1 200 OK 60424ms]

Empty string passed to getElementById(). sl.dhis2.org

Empty string passed to getElementById(). ext-all.js:15:88033

Empty string passed to getElementById(). sl.dhis2.org

GET

XHR

https://sl.dhis2.org/hmis/api/26/analytics.json [HTTP/1.1 200 OK 361ms]

GET

XHR

https://sl.dhis2.org/hmis/api/26/analytics.json [HTTP/1.1 200 OK 485ms]

TypeError: e.metaData.names is undefined[Learn More] app.js:1:13534

On 4/23/17, Knut Staring knutst@gmail.com wrote:

Hi Gerald,

It probably is not a bug, since it works here (please always check the

online demo):

https://play.dhis2.org/demo/dhis-web-pivot/#

Then please let us know what you have done so far: Have you tried different

browsers, incognito mode and cache cleaning?

If the problem is still there, please share messages from the browser

console and server log.

Knut

On Sun, Apr 23, 2017 at 12:50 PM, gerald thomas gerald17006@gmail.com

wrote:

Dear All,

After upgrading my instance to 2.26; i notice that my pivot table and

visualizer are not loading.

Don’t know if it is a bug, please help.

Build revision:

a52916f

Regards,

Gerald


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Regards,

Gerald


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Dear Lars,
Thanks very much for your help, i didn't clear the nginx cache but it
is working now.

···

On 4/24/17, Lars Helge Øverland <lars@dhis2.org> wrote:

Hi Gerald,

this looks like a mismatch between the API and the pivot table app. Likely
some app files are stuck in a cache somewhere:

- clear nginx cache on the server:

sudo rm /var/cache/nginx -rf
sudo service nginx restart

- check that you upgraded your WAR file properly (deleted the old directory
+ WAR file)

regards,

Lars

On Sun, Apr 23, 2017 at 11:12 PM, gerald thomas <gerald17006@gmail.com> > wrote:

Dear Knut,
As per previous mail sent:
I had tried it with different browser but the situation is still the
same. The log on the web browers is as follows:
GET
XHR
https://sl.dhis2.org/hmis/api/26/dataSets.json [HTTP/1.1 200 OK 190ms]
Empty string passed to getElementById(). sl.dhis2.org
POST
XHR
https://chat.phoenix.edu/http-bind [HTTP/1.1 200 OK 60424ms]
Empty string passed to getElementById(). sl.dhis2.org
Empty string passed to getElementById(). ext-all.js:15:88033
Empty string passed to getElementById(). sl.dhis2.org
GET
XHR
https://sl.dhis2.org/hmis/api/26/analytics.json [HTTP/1.1 200 OK 361ms]
GET
XHR
https://sl.dhis2.org/hmis/api/26/analytics.json [HTTP/1.1 200 OK 485ms]
TypeError: e.metaData.names is undefined[Learn More] app.js:1:13534

On 4/23/17, Knut Staring <knutst@gmail.com> wrote:
> Hi Gerald,
>
> It probably is not a bug, since it works here (please always check the
> online demo):
> https://play.dhis2.org/demo/dhis-web-pivot/#
>
> Then please let us know what you have done so far: Have you tried
different
> browsers, incognito mode and cache cleaning?
>
> If the problem is still there, please share messages from the browser
> console and server log.
>
> Knut
>
> On Sun, Apr 23, 2017 at 12:50 PM, gerald thomas <gerald17006@gmail.com> >> > wrote:
>
>> Dear All,
>> After upgrading my instance to 2.26; i notice that my pivot table and
>> visualizer are not loading.
>>
>> Don't know if it is a bug, please help.
>>
>> Build revision:
>> a52916f
>> --
>> Regards,
>>
>> Gerald
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>

--
Regards,

Gerald

_______________________________________________
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

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>

--
Regards,

Gerald