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





Le mercredi 11 octobre 2017 20:34:49 UTC+2, reina az a écrit :

> It works Many thanx
>
>
> Le mardi 13 septembre 2016 12:40:36 UTC+2, Alik Khilazhev a écrit :
>
>> 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 /grades/$file;
>>     expires 31536000s;
>> }
>>
>> and then restart nginx
>>
>> service nginx restart
>>
>> It should work ;-)
>>
>> On Friday, August 7, 2015 at 9:37:49 AM UTC+3, shubham rawat wrote:
>>>
>>> Hi, is this still the only way to download the csv?No way to do it 
>>> without s3?
>>>
>>> On Tuesday, 3 March 2015 07:45:41 UTC+5:30, Wenjie Wu wrote:
>>>>
>>>> Hi , guys,
>>>> I want to download edx grades
>>>> I did the following thing 
>>>>
>>>>    1. View the live version of your course.
>>>>    2. Click *Instructor*, then click *Data Download*.
>>>>    3. To open or save a grade report file, click the 
>>>>    {course_id}_grade_report_{date}.csv file name at the bottom of the page.
>>>>    
>>>> The download link is file:///tmp/edx-s3/grades/xxxxx.csv . I can’t 
>>>> download it !
>>>> Really need your guide!
>>>> thanks ! 
>>>>
>>>

-- 
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/43050588-8285-4328-ad0f-74545d68166d%40googlegroups.com.

Reply via email to