You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project archive import seems to have a problem sometimes when moving the log file for an execution to the right place, echoing this message:
ERROR ProjectService - Unable to move temp log file to destination: /..snip../project/job/123.txt (old id 321)
Then the execution log cannot be viewed for that execution.
The problem might be caused by having temp files and log files on separate disks, so the system cannot rename the file directly, causing the File.renameTo to fail.
Potential workarounds, need confirmation:
Change the temp dir used by java:
for RPM/deb modify the RUNDECK_TEMPDIR variable in /etc/rundeck/profile
for launcher, set -Djava.io.tmpdir=/path when starting the server
The text was updated successfully, but these errors were encountered:
* use FileUtils to move file in case tmp dir is on a separate file system
* set filepath for execution even if file move fails, allowing user to
* manually restore file if necessary
* capture IOException for createTempFile when exporting archive
Project archive import seems to have a problem sometimes when moving the log file for an execution to the right place, echoing this message:
Then the execution log cannot be viewed for that execution.
The problem might be caused by having temp files and log files on separate disks, so the system cannot rename the file directly, causing the File.renameTo to fail.
Potential workarounds, need confirmation:
Change the temp dir used by java:
RUNDECK_TEMPDIR
variable in/etc/rundeck/profile
-Djava.io.tmpdir=/path
when starting the serverThe text was updated successfully, but these errors were encountered: