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

Course Restore Fails in 2.5.1 using a 2.6 backup file.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.1
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      None
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      I am trying to restore a course from a Moodle 2.6+ (Build: 20131213) site to a Moodle 2.5.1+ (Build: 20130815) site and get an error after clicking Restore:

      error/tmp_backup_directory_not_found

      After turning on Developer Mode in Debugging I am given this:

      Not a zip archive.: /var/moodledata/temp/backup/c203ec7ee8359dafecdfba90db3002d3
      line 133 of /lib/filestorage/zip_archive.php: call to debugging()
      line 253 of /lib/filestorage/zip_packer.php: call to zip_archive->open()
      line 171 of /backup/util/ui/restore_ui_stage.class.php: call to zip_packer->extract_to_pathname()
      line 159 of /backup/util/ui/restore_ui_stage.class.php: call to restore_ui_stage_confirm->extract_file_to_dir()
      line 42 of /backup/restore.php: call to restore_ui_stage_confirm->process()
      error/tmp_backup_directory_not_found

      More information about this error

      Debug info:
      Error code: tmp_backup_directory_not_found
      $a contents: [tempdir]/backup/565bb1702018e5b2006260a98b519985
      Stack trace:
      line 140 of /backup/util/helper/convert_helper.class.php: convert_helper_exception thrown
      line 284 of /backup/util/helper/backup_general_helper.class.php: call to convert_helper::detect_moodle2_format()
      line 188 of /backup/util/ui/restore_ui_stage.class.php: call to backup_general_helper::detect_backup_format()
      line 67 of /backup/restore.php: call to restore_ui_stage_confirm->display()

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: