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

Incomplete corrupt backups; Error opening/restoring backup file: Header does not have POSIX ustar magic string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.0
    • Backup
    • MOODLE_30_STABLE
    • m39_MDL-52516_Packer_Exception_Proper_Handling
    • Hide

      Unit test should be enough 'till we'll decide how to deal with the replication steps - just breaking (>  $backupfilename) a previous working backup file?

      The goal of the "fix" should be to allow a new different UX path:

      1. During automated backup, the broken file backup will be skipped and eventually rotated when required
      2. During a backup, the broken file will be reported
      Show
      Unit test should be enough 'till we'll decide how to deal with the replication steps - just breaking ( >  $backupfilename ) a previous working backup file? The goal of the "fix" should be to allow a new different UX path: During automated backup, the broken file backup will be skipped and eventually rotated when required During a backup, the broken file will be reported

      There is an error i faced while backuping a course.
      Please tell me if i setup something wrong.
      This error fires on backup every course i have in moodle.

      Debug info: Header does not have POSIX ustar magic string

      Error code: errorprocessingarchive
      Stack trace:

      line 290 of /lib/filestorage/tgz_extractor.php: moodle_exception thrown
      line 223 of /lib/filestorage/tgz_extractor.php: call to tgz_extractor->process_header()
      line 142 of /lib/filestorage/tgz_extractor.php: call to tgz_extractor->extract_or_list()
      line 645 of /lib/filestorage/tgz_packer.php: call to tgz_extractor->extract()
      line 104 of /lib/filestorage/mbz_packer.php: call to tgz_packer->extract_to_pathname()
      line 269 of /backup/util/helper/backup_general_helper.class.php: call to mbz_packer->extract_to_pathname()
      line 1796 of /backup/moodle2/backup_stepslib.php: call to backup_general_helper::get_backup_information_from_mbz()
      line 34 of /backup/util/plan/backup_execution_step.class.php: call to backup_zip_contents->define_execution()
      line 181 of /backup/util/plan/base_task.class.php: call to backup_execution_step->execute()
      line 177 of /backup/util/plan/base_plan.class.php: call to base_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 136 of /backup/util/ui/backup_ui.class.php: call to backup_controller->execute_plan()
      line 131 of /backup/backup.php: call to backup_ui->execute()
      

        1. phpinfo.masked.pdf
          182 kB
          Alexander Mamonov
        2. screenshot-1.png
          142 kB
          Alexander Mamonov

            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.