Thank you so much!



вторник, 13 сентября 2016 г., 13:40:36 UTC+3 пользователь Alik Khilazhev 
написал:
>
> 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 ! 
>>>
>>

-- 
***Please note! This Google Group has been deprecated - visit 
https://discuss.openedx.org/
--- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to edx-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/52f02bf5-4ce3-450f-bee4-26a41020f605%40googlegroups.com.

Reply via email to