Problem with open edx eucalyptus.2 insights

155 views
Skip to first unread message

Jheng

unread,
Dec 18, 2016, 7:48:10 AM12/18/16
to General Open edX discussion
HI,

I have  installed EDX eucalyptus.2 following this doc on ubuntu 12.04 (manual install): https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation.

Now I want to install insights . And  I type commad : sudo /edx/bin/supervisorctl status


Does it mean that insights and API is installed?  But there is no  pipeline .

If yes , is there any documentation about how to install pipeline ? 

If no ,  should  I  install insights following this doc: https://openedx.atlassian.net/wiki/display/OpenOPS/edX+Analytics+Installation  or other documentation?


please help me ,

Thanks a lot!

Ernesto Sanchez

unread,
Dec 20, 2016, 2:50:19 PM12/20/16
to General Open edX discussion

You need install in a new server

Jheng

unread,
Dec 20, 2016, 10:57:21 PM12/20/16
to General Open edX discussion
HI , Ernesto Sanchez

thanks for your reply.

I have installed insights on another server  following this doc: https://openedx.atlassian.net/wiki/display/OpenOPS/edX+Analytics+Installation

Now I run the command  successfully:
remote-task --host localhost --user insight --remote-name analyticstack --skip-setup --wait ImportEnrollmentsIntoMysql --interval 2015 --local-scheduler

But I can not see the chart about daily enrollment : 
 
Here is the insights/edx.log:

Is there anything that I need to configure or any command I missed ?

By the way I enabled AUTO_AUTH following this :


I can login insights like this : http://ip:18110/test/auto_auth 

Is that a problem?

Sorry for my bad English.

Thanks for any information

Ernesto Sanchez於 2016年12月21日星期三 UTC+8上午3時50分19秒寫道:

Gabe Mulley

unread,
Dec 29, 2016, 4:25:23 PM12/29/16
to edx-...@googlegroups.com
Hi Jheng,

The insights/edx.log snippet you posted refers to the demo course, but your database appears to have data for the NKUHTx course. Do you still see this error if you navigate to the NKUHTx course's enrollment chart?

Thanks,
-Gabe

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/a000d8f9-fb30-495d-8b6c-f1b050b4ef5b%40googlegroups.com.

Jheng

unread,
Jan 21, 2017, 10:02:04 AM1/21/17
to General Open edX discussion
Hi Gabe,thanks for your reply.

I rerun the task ,now I have these tables .
And a small part of course_enrollment_birth_year_daily table:
But I got the same error like :

Does the error message mean that I miss some setting about API server or database?

Sorry for my bad English.

Thanks for any information.
Jheng.


Gabe Mulley於 2016年12月30日星期五 UTC+8上午5時25分23秒寫道:

Gabe Mulley

unread,
Jan 23, 2017, 9:05:30 AM1/23/17
to edx-...@googlegroups.com
Hi Jheng,

It still looks like you are requesting a course for which you have no data. Your request is for "edX/DemoX/Demo_Course", however, your database contains data for "course-v1:edX+DemoX+Demo_Course". Although they sound like they are the same, these are actually two different courses.

Thanks,
-Gabe

Jheng

unread,
Jan 25, 2017, 9:23:25 AM1/25/17
to General Open edX discussion
Hi Gabe,thanks for your reply.

This solved the issue. But I encounted an new issue : 

The chart doesn't show up. And there is nothing special in the insights/edx.log and ananalytics-api/edx.log .

I found this (number.json is not found) :
Does this cause the issue? 

Thanks for any information.
Jheng.

Gabe Mulley於 2017年1月23日星期一 UTC+8下午10時05分30秒寫道:

Dennis Jen

unread,
Jan 25, 2017, 5:23:21 PM1/25/17
to General Open edX discussion
Hi Jheng,

That's great that you've made it so far in getting Insights working!  The problem you're running into is with our package for automatically localizing numbers on pages.

We've fixed this in a commit last year, https://github.com/edx/edx-analytics-dashboard/commit/77b85cf1a9a7a51425668ccc4d6a092a91e999aa.  Please update your version of Insights to a more recent version or cherry pick the commit.

Thanks,
Dennis
Reply all
Reply to author
Forward
0 new messages