Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-22883

throw new ArchiveCorruptedException('Header does not match it\'s checksum');

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Feedback
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None
    • Distro Version:
      FreePBX 15
    • Distro:
      FreePBX Distro

      Description

      When trying restore from v12, I get this error message

       

      1. $header = @unpack(
      2. "a100filename/a8perm/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155prefix",
      3. $block
      4. );
      5. if (!$header) { # throw new ArchiveCorruptedException('Failed to parse header'); # }
      6. $return['checksum'] = OctDec(trim($header['checksum']));
      7. if ($return['checksum'] != $chks) { # throw new ArchiveCorruptedException('Header does not match it\'s checksum'); # }
      8. $return['filename'] = trim($header['filename']);
      9. $return['perm'] = OctDec(trim($header['perm']));
      10. $return['uid'] = OctDec(trim($header['uid']));
      11. $return['gid'] = OctDec(trim($header['gid']));
      12. $return['size'] = OctDec(trim($header['size']));
      13. $return['mtime'] = OctDec(trim($header['mtime']));
      14. $return['typeflag'] = $header['typeflag'];
      15. $return['link'] = trim($header['link']);
      16. $return['uname'] = trim($header['uname']);
      17. $return['gname'] = trim($header['gname']);
        #

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jlizzotte04 Jeremy Lizzottr
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Feedback Requested:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.