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

backup fails permission denied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • backup-plugin
    • None

      backup fails on environment
      [ INFO] Backup started at [07/17/24 07:12:03] [ INFO] Setting hudson in shutdown mode to avoid files corruptions. [ INFO] Waiting all jobs end... [ INFO] Number of running jobs detected : 1
      [ INFO] Number of running jobs detected : 1
      [ INFO] Number of running jobs detected : 0
      [ INFO] All jobs finished. [ INFO] Full backup file name : /backup_20240717_0712.zip
      [ERROR] org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: /backup_20240717_0712.zip (Permission denied) (and the archive is probably corrupt but I could not delete it) org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: /backup_20240717_0712.zip (Permission denied) (and the archive is probably corrupt but I could not delete it) at PluginClassLoader for backup//org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115) at PluginClassLoader for backup//org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:130) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: /backup_20240717_0712.zip (Permission denied) (and the archive is probably corrupt but I could not delete it) at PluginClassLoader for backup//org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:104) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:626) at PluginClassLoader for backup//org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113) ... 2 more [ INFO] Cancel hudson shutdown mode [ INFO] Backup end at [07/17/24 07:12:20] [ INFO] [17.464s]

            danielpetisme Daniel Petisme
            thiagobeier THIAGO
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: