Data Download not working in Instructor Dashboard in LMS

509 views
Skip to first unread message

siva...@teachedison.com

unread,
Mar 23, 2015, 5:26:32 PM3/23/15
to edx-...@googlegroups.com
Hi,

If i tried to download grade report (or) profile information from data download section under Instructor Dashboard in any course in LMS, it is added to queuing list in pending instructor tasks and it is not available for download even after so many days. 

Can someone help me to resolve this issue?

Thanks.

Chris Dodge

unread,
Mar 23, 2015, 7:56:26 PM3/23/15
to edx-...@googlegroups.com
Hello,

I believe those reports are generated asynchronously through the use of a python tool called Celery. If those asynchronous workers are not configured/provisioned correctly, then you will see such a symptom that you are reporting. I'm not the correct person to help you out with this, maybe someone else on the list can help you or you can ask on the "operations" open edx mailing list.

Good luck,

Chris
@edx.org

Eugene Medvedev

unread,
Mar 24, 2015, 2:51:40 AM3/24/15
to edx-...@googlegroups.com
On Tuesday, 24 March 2015 02:56:26 UTC+3, Chris Dodge wrote:

I believe those reports are generated asynchronously through the use of a python tool called Celery. If those asynchronous workers are not configured/provisioned correctly, then you will see such a symptom that you are reporting. I'm not the correct person to help you out with this, maybe someone else on the list can help you or you can ask on the "operations" open edx mailing list.
 
They are, but also, they are generated into local filesystem somewhere in /tmp by default, and aren't getting served from there -- in the default configuration, when installed as documented, edX will have the Celery workers running, but will not have Amazon S3 grade reports download enabled, which is they only way they're getting served. The expected way to get this to work is to write something to that effect into server-vars.yml and then /edx/bin/update (and you obviously need an Amazon S3 account, etc.):

EDXAPP_AWS_ACCESS_KEY_ID: "key"
EDXAPP_AWS_SECRET_ACCESS_KEY: "secret"
EDXAPP_GRADE_BUCKET: "something"
EDXAPP_GRADE_STORAGE_TYPE: "s3"

Antoine

unread,
Aug 16, 2018, 6:36:14 AM8/16/18
to General Open edX discussion
Hello, I have the same issue with a Bitnami installation (Ginkgo Dec 2017). I couldn't find any other instructions on setting this up. No report is generated, they all remain as pending tasks. Could you point me in the right direction please?

Ernesto Sanchez

unread,
Aug 16, 2018, 1:16:47 PM8/16/18
to General Open edX discussion
hi,

I solved this issue with creating link to true location of .csv files(/tmp/edx-s3/grades) in /edx/var/edxapp/media directory

ln -s /tmp/edx-s3/grades /edx/var/edxapp/media

and then make little changes in nginx configuration.

nano /var/app/nginx/sites-available/lms

add following rule:

location ~ ^/grades/(?P<file>.*) {
    root /edx/var/edxapp/media/grades;
    try_files /$file =404;
    expires 31536000s;
}

Edit location rule for media, tall to search in /grades if there is no such file in /media

location ~ ^/media/(?P<file>.*) {
    root /edx/var/edxapp/media;
    try_files /$file /media/grades/$file;
    expires 31536000s;
}

and then restart nginx

service nginx restart

It should work ;-)
Reply all
Reply to author
Forward
0 new messages