com.dtolabs.rundeck.core.common.UpdateUtils$UpdateException: Unable to move temp file to dest file: E:\work\javaopensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml.new, E:\work\javaop ensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml

GitHub | herrygoon | 1 year ago
  1. 0

    update project's resources using curl command cause error "Failed to update resources for project Unable to move temp file to dest file'

    GitHub | 1 year ago | herrygoon
    com.dtolabs.rundeck.core.common.UpdateUtils$UpdateException: Unable to move temp file to dest file: E:\work\javaopensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml.new, E:\work\javaop ensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml

    Root Cause Analysis

    1. com.dtolabs.rundeck.core.common.UpdateUtils$UpdateException

      Unable to move temp file to dest file: E:\work\javaopensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml.new, E:\work\javaop ensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml

      at com.dtolabs.rundeck.core.common.UpdateUtils.moveFile()
    2. com.dtolabs.rundeck
      FrameworkProject.updateNodesResourceFile
      1. com.dtolabs.rundeck.core.common.UpdateUtils.moveFile(UpdateUtils.java:117)
      2. com.dtolabs.rundeck.core.common.UpdateUtils.update(UpdateUtils.java:210)
      3. com.dtolabs.rundeck.core.common.UpdateUtils.updateFileFromInputStream(UpdateUtils.java:96)
      4. com.dtolabs.rundeck.core.common.UpdateUtils.updateFileFromFile(UpdateUtils.java:81)
      5. com.dtolabs.rundeck.core.common.ProjectNodeSupport.updateNodesResourceFile(ProjectNodeSupport.java:560)
      6. com.dtolabs.rundeck.core.common.ProjectNodeSupport.updateNodesResourceFile(ProjectNodeSupport.java:545)
      7. com.dtolabs.rundeck.core.common.FrameworkProject.updateNodesResourceFile(FrameworkProject.java:421)
      7 frames