org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore

Jenkins JIRA | Sarith Fernando | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have made a tar.zip backup using Hudson and I want to restore that backup in to my Jenkins server. I have copied the backup file to the backup folder in Jenkins and when I restore it from the Jenkins UI I get the following error. [ INFO] Restore started at [03/23/11 16:27:46] [ INFO] Working into /root/.jenkins_restore directory [ INFO] A old restore working dir exists, cleaning ... [ INFO] Uncompressing archive file... org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:67) at org.jvnet.hudson.plugins.backup.utils.RestoreTask.run(RestoreTask.java:94) at java.lang.Thread.run(Thread.java:636) Caused by: org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod(ArchiveEntryUtils.java:65) at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile(AbstractZipUnArchiver.java:257) at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute(TarUnArchiver.java:92) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:108) at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:62) ... 2 more [ERROR] Error uncompressing archive : Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore

    Jenkins JIRA | 6 years ago | Sarith Fernando
    org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore
  2. 0

    I have made a tar.zip backup using Hudson and I want to restore that backup in to my Jenkins server. I have copied the backup file to the backup folder in Jenkins and when I restore it from the Jenkins UI I get the following error. [ INFO] Restore started at [03/23/11 16:27:46] [ INFO] Working into /root/.jenkins_restore directory [ INFO] A old restore working dir exists, cleaning ... [ INFO] Uncompressing archive file... org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:67) at org.jvnet.hudson.plugins.backup.utils.RestoreTask.run(RestoreTask.java:94) at java.lang.Thread.run(Thread.java:636) Caused by: org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod(ArchiveEntryUtils.java:65) at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile(AbstractZipUnArchiver.java:257) at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute(TarUnArchiver.java:92) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:108) at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:62) ... 2 more [ERROR] Error uncompressing archive : Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore

    Jenkins JIRA | 6 years ago | Sarith Fernando
    org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cannot build the base Netty project

    GitHub | 5 years ago | CruzBishop
    org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
  5. 0

    How to resolve the errors after running "mvn compile" on guava-libraries project?

    Stack Overflow | 5 years ago | Cuper Hector
    org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.plexus.archiver.ArchiverException

      chmod exit code was: 1

      at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod()
    2. Plexus Archiver Component
      AbstractUnArchiver.extract
      1. org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod(ArchiveEntryUtils.java:65)
      2. org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile(AbstractZipUnArchiver.java:257)
      3. org.codehaus.plexus.archiver.tar.TarUnArchiver.execute(TarUnArchiver.java:92)
      4. org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:108)
      4 frames
    3. org.jvnet.hudson
      RestoreTask.run
      1. org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:62)
      2. org.jvnet.hudson.plugins.backup.utils.RestoreTask.run(RestoreTask.java:94)
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame