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

Periodic Backup Manager crashing when attempting to restore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • periodicbackup-plugin
    • None
    • CentOS release 6.10

      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)

            Unassigned Unassigned
            srirampuligadda Sriram Puligadda
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: