Course backup I get the following:The course backup never finishes

Course backup I get the following:The course backup never finishes

by Pedro Guevara -
Number of replies: 2

When I try to make a course backup, I get this messages:

  • Creating temporary structures
  • Deleting old data
  • Creating XML file
    • Writing header
    • Writing general info
    • Writing course data
      • Course info
      • Metacourse
      • Blocks
      • Sections
    • Writing users info
      Notice: Only variable references should be returned by reference in /home/xxxxx/public_html/moodle18/lib/adodb/adodb.inc.php on line 3473
    • Writing scales info
    • Writing groupings info
    • Writing groups info
    • Writing events info
    • Writing gradebook info
    • Writing modules info
      • Assignments
      • Forums
      • Resources
      • SCORMs/AICCs
      • Workshops
        Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/moodle18/mod/workshop/backuplib.php on line 403
    • Course format data
  • Copying user files
  • Copying course files
  • Zipping backup

The backup never finishes

Any idea?

Thanks

Average of ratings: -
In reply to Pedro Guevara

Re: Course backup I get the following:The course backup never finishes

by Alex Greene -

I don't know how to resolve this, but I have exactly the same problem. Some of my courses back up, some fail as described above. Size seems to be a factor. Sometimes retrying works.

Maybe my hosting service (siteground) is the problem? I am looking into other options there.

In reply to Alex Greene

Re: Course backup I get the following:The course backup never finishes

by Abdelkrim Jebbour -
Which Moodle version do you use ?
Why this question ?
In the past this problem occurs for me :
  • with Moodle 6... and the reason I found was that some Moodle features are not well supported in backup module (example : tests) So, try to backup your course without tests.
  • with Moodle 7... and the reasons are sometimes very obvious :
  • a zip tool is not intalled in the server (this occured for me with a linux environnment). The problem disapeared when we installed a zip tool.
  • the resulting file of Moodle backup process has a size that exceeds the upload_max_size parameter. You have to increase the value of that parameter and try again.
I hope that this will help you fix the problem.