Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6564

Re: Moodle 2.3.1+ Backup FAILS with large courses

$
0
0
volgens Marianne Michel.  

Hello.

I have exactly the same problem on Moodle 2.3.1+ (CentOS 6.2, mysql 5.5.16, php 5.3.3).

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

Debug info: Table 'ucl-moodle-test.mdl_backup_ids_temp' doesn't exist
SELECT COUNT(*)
FROM mdl_backup_ids_temp b
JOIN mdl_user u ON u.id = b.itemid
WHERE b.backupid = ?
AND b.itemname = 'userfinal'
AND u.mnethostid != ?
[array (
0 => 'e13d86b012fae43ff389dc993ad2f4d9',
1 => '11',
)]
Error code: dmlreadexception
Stack trace:
  • line 407 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 945 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1346 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 1419 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 1590 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
  • line 408 of /backup/util/dbops/backup_controller_dbops.class.php: call to moodle_database->count_records_sql()
  • line 1448 of /backup/moodle2/backup_stepslib.php: call to backup_controller_dbops::backup_includes_mnet_remote_users()
  • line 86 of /backup/util/plan/backup_structure_step.class.php: call to backup_main_structure_step->define_structure()
  • line 153 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
  • line 163 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
  • line 110 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
  • line 309 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
  • line 111 of /backup/util/ui/backup_ui.class.php: call to backup_controller->execute_plan()
  • line 89 of /backup/backup.php: call to backup_ui->execute()

 

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

I checked these :

- the mysql user is allowed to create temporary tables ;

- I added the max_input_vars in my php.ini file but nothing change.

 

Any other suggestion ?

Thx, Marianne.


Viewing all articles
Browse latest Browse all 6564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>