Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63675

Periodic Backup Manager crashing when attempting to restore

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When attempting to restore a .zip backup using "Periodic Backup Manager" in a new Jenkins instance, I am getting the following message in the jenkins log. It is also deleting the backup zip file.
       

      2020-09-14 12:38:22.111+0000 [id=106] WARNING o.j.p.p.RestoreExecutor#run: Could not retrieve backup from location. Source '/backup_2020_09_14_07_00_10_654_1.zip' does not exist2020-09-14 12:38:22.111+0000 [id=106] WARNING o.j.p.p.RestoreExecutor#run: Could not retrieve backup from location. Source '/backup_2020_09_14_07_00_10_654_1.zip' does not existjava.io.FileNotFoundException: Source '~/backup_2020_09_14_07_00_10_654_1.zip' does not exist at org.apache.commons.io.FileUtils.checkFileRequirements(FileUtils.java:1383) at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1060) at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1028) at org.jenkinsci.plugins.periodicbackup.LocalDirectory.retrieveBackupFromLocation(LocalDirectory.java:149) at org.jenkinsci.plugins.periodicbackup.RestoreExecutor.run(RestoreExecutor.java:97) at java.lang.Thread.run(Thread.java:748)2020-09-14 12:38:22.111+0000 [id=106] SEVERE h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (Thread-19/106) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.java.lang.NullPointerException at org.jenkinsci.plugins.periodicbackup.ZipStorage.unarchiveFiles(ZipStorage.java:214) at org.jenkinsci.plugins.periodicbackup.RestoreExecutor.run(RestoreExecutor.java:104) at java.lang.Thread.run(Thread.java:748)

        Attachments

          Activity

          Hide
          srirampuligadda Sriram Puligadda added a comment -

          I am also getting another issue. Not sure where this temp folder is.

          WARNING o.j.p.p.RestoreExecutor#run: Restoration Failure! The temporary folder / is not writable.

          Show
          srirampuligadda Sriram Puligadda added a comment - I am also getting another issue. Not sure where this temp folder is. WARNING o.j.p.p.RestoreExecutor#run: Restoration Failure! The temporary folder / is not writable.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            srirampuligadda Sriram Puligadda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: