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

Backups are failing in 2.7.2

$
0
0
by Christopher Molnar.  

Good Morning!

I have 98% of the backups failing in my Moodle installation of over 2,000 courses. I have opened tracker MDL-47749 with a level of critical (backups failing are critical in  my eyes). Can anyone suggest a solution? Running Moodle version 2.7.2 GIT Build Moodle 2.7.2+ (Build: 20141017)

Debug (this is one course - same thing occurs for all courses):

root@offsite:/home/pcilms/moodle27# php5 admin/cli/backup.php --courseid=179 --destination=/tmp/
== Performing backup... ==
instantiating backup controller 17df3f94195cdade67e76aa2a7ad381c
setting controller status to 100
loading controller plan
setting controller status to 300
applying plan defaults
setting controller status to 400
setting file inclusion to 1
checking plan security
setting controller status to 500
setting controller status to 700
saving controller to db
calculating controller checksum 41aeb3ce0e9c4f067227897ff683cf78
loading controller from db
setting controller status to 800
Default exception handler: error/baseelementexisting Debug:
Error code: baseelementexisting
$a contents: annotation

  • line 103 of /backup/util/structure/base_nested_element.class.php: base_element_struct_exception thrown
  • line 152 of /backup/util/structure/base_optigroup.class.php: call to base_nested_element->check_and_set_used()
  • line 108 of /backup/util/structure/base_nested_element.class.php: call to base_optigroup->add_used()
  • line 173 of /backup/util/structure/base_nested_element.class.php: call to base_nested_element->check_and_set_used()
  • line 57 of /mod/assign/feedback/editpdf/backup/moodle2/backup_assignfeedback_editpdf_subplugin.class.php: call to base_nested_element->add_child()
  • line 60 of /backup/moodle2/backup_subplugin.class.php: call to backup_assignfeedback_editpdf_subplugin->define_grade_subplugin_structure()
  • line 137 of /backup/moodle2/backup_stepslib.php: call to backup_subplugin->define_subplugin_structure()
  • line 138 of /mod/assign/backup/moodle2/backup_assign_stepslib.php: call to backup_activity_structure_step->add_subplugin_structure()
  • line 88 of /backup/util/plan/backup_structure_step.class.php: call to backup_assign_activity_structure_step->define_structure()
  • line 181 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
  • line 211 of /backup/moodle2/backup_activity_task.class.php: call to base_task->execute()
  • line 177 of /backup/util/plan/base_plan.class.php: call to backup_activity_task->execute()
  • line 120 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
  • line 320 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
  • line 100 of /admin/cli/backup.php: call to backup_controller->execute_plan()

!!! error/baseelementexisting !!!
!!
Error code: baseelementexisting
$a contents: annotation !!
!! Stack trace: * line 103 of /backup/util/structure/base_nested_element.class.php: base_element_struct_exception thrown

  • line 152 of /backup/util/structure/base_optigroup.class.php: call to base_nested_element->check_and_set_used()
  • line 108 of /backup/util/structure/base_nested_element.class.php: call to base_optigroup->add_used()
  • line 173 of /backup/util/structure/base_nested_element.class.php: call to base_nested_element->check_and_set_used()
  • line 57 of /mod/assign/feedback/editpdf/backup/moodle2/backup_assignfeedback_editpdf_subplugin.class.php: call to base_nested_element->add_child()
  • line 60 of /backup/moodle2/backup_subplugin.class.php: call to backup_assignfeedback_editpdf_subplugin->define_grade_subplugin_structure()
  • line 137 of /backup/moodle2/backup_stepslib.php: call to backup_subplugin->define_subplugin_structure()
  • line 138 of /mod/assign/backup/moodle2/backup_assign_stepslib.php: call to backup_activity_structure_step->add_subplugin_structure()
  • line 88 of /backup/util/plan/backup_structure_step.class.php: call to backup_assign_activity_structure_step->define_structure()
  • line 181 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
  • line 211 of /backup/moodle2/backup_activity_task.class.php: call to base_task->execute()
  • line 177 of /backup/util/plan/base_plan.class.php: call to backup_activity_task->execute()
  • line 120 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
  • line 320 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
  • line 100 of /admin/cli/backup.php: call to backup_controller->execute_plan()
    !!
    Potential coding error - existing temptables found when disposing database. Must be dropped!
    root@offsite:/home/pcilms/moodle27#





Viewing all articles
Browse latest Browse all 6533

Trending Articles



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