Bulk User Action - Problem Downloading Users in Excel format

Bulk User Action - Problem Downloading Users in Excel format

by Proyectos Moodle -
Number of replies: 0


 

Dear all:

We are trying to download users using Bulk User Action - and choosing Excel format, but system hangs and we receive some errors on secreen (see transcript).

We have aprox 10000 users on database, and we are running a Moodle 3.0.1 in a Red Hat 7 front-end server with php 5.4.16, Apache 2.4.7 --- 20 GB RAM

The backend server runs also RH7 with MySQL 5.5 -- 12 GB RAM

 

Error Message:

Exception – Invalid parameters passed

Debug info

Error code: generalexceptionmessage

Stack trace:

·         Line 250 of /lib/PHPExcel/Writer/Excel2007/Workbook.php: PHPExcel_Writer_Exception thrown

·         Line 221 of /lib/PHPExcel/Writer/Excel2007/Workbook.php: call to PHPExcel2007_Workbook->writeSheet()

·         Line 72 of /lib/PHPExcel/Writer/Excel2007/Workbook.php: call to PHPExcel2007_Workbook->writeSheet()

·         Line 290 of /lib/PHPExcel/Writer/Excel2007/Workbook.php: call to PHPExcel2007_Workbook->writeWorkbook()

·         Line 129 of /lib/excellib.class.php: call to PHPExcel2007_Writer_Excel2007->save()

·         Line 142 of /admin/user/user_bulk_download.php: call to MoodleExcelWorkbook->close()

·         Line 50 of /admin/user/user_bulk_download.php: call to user_download_xls()

***********************************************************************************

 

What do you suggest in order to solve this issue? What are the steps for optimization in Apache and MySQL in order to execute this operation?

Your help will be surely appreciated.

 

Diego S.


Average of ratings: -