Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14812

restore error: moodle.xml not at root level

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      None
    • Environment:
      win xp, apache, mysql
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      When restoring abackup made on the same machine I get the error 'Error checking backup file. moodle.xml not found at root level of zip file.'

      The version I am using is the latest from moodle head. I'm pretty sure it was working fine a few weeks ago. My guess is that the path to the xml is incorrect at some point since the backup zips are in the correct place and when unzipped the moodle.xml file is in the root folder. It could also be that when the backup is unzipped to the temp folder that this path gets lost or overwritten and thus the restore process cannot find the xml file.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: