Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Transfer Files between unix machines not working
-
We are trying to use the Transfer File action copy files from one unix machine to another (both are setup as Agents Buildmaster can login).
But when we run the action it always fails with the error: source file does not exist - even if you select the folder using the Browse option.
Does the Transfer File option work with unix machines or should we be doing this some other way ?
-
Hi Dave,
This scenario should work... that error sounds like it might be related to agent initialization...
Could you try converting it to two actions... {UnixSv1 -> BuildMaster} and then {BuildMaster -> UnixSv2}?
Does that produce the same error?
STeve
-
Splitting the file copy into 2 steps still fails with the same error. The source machine is running Solaris 10.
-
Does it fail on the first step?
Just as a test.... could you try a Create File action (could just be a file named "dummy" with "hello" as contents, whatever) on each server before doing the transfer?
If so, could email a screencap of your deployment plan?
support - at - inedo - dot - com ?
-
Yes it fails on the first step - copy from unix machine (source) to Buildmaster Windows machine.
The Create File test works correctly - a dummy file is created in the same directory as we are trying to copy out of.
Screen shot emailed to you.
-
Looks like this is a bug in the transfer files action that can arise with the SSH agent - we've published a BuildMasterBeta extension update (v3.16) that should fix the problem.
You can install the beta extension from the Admin > Add/Configure BuildMaster Extensions page.
This fix will also be included in the next BuildMaster release.
-
I have installed the BuildMaster Beta (v3.16.3.0) update - but the Transfer Files action still fails with the same error: source directory does not exist.
-
We've updated the beta extension again (v3.17) after discovering another possible edge case - if this doesn't fix things for you we'll have to look into other possibilities.
-
I have installed the Beta 3.17 update and the files are now copied between our unix machines, thanks.
But, the copy is not retaining the execute permissions on the files on the destination machine.
On source machine:
-rwxr-xr-x 1 cusbld cusmod 1100 Jun 10 07:52 deploy-cusmod.sh*On destination machine:
-rw-r--r-- 1 cusdev cusmod 1100 Jun 9 19:52 deploy-cusmod.sh
-
Another issue - the excluded files pattern matching is not working correctly.
If I set:
*
!.svn
!.svn/*Then all files are copied including .svn and its sub directories and files.
If I set:
*
!.svn/*Then top level files are copied and the .svn directory is created but nothing under .svn.
-
The xfer file action does not xfer permissions (Windows ACL or Nix permissions), but we've considered adding the option.
For the mask, can you try
! /. svn*That should grab the root folder as well.
-
Using !.svn* still creates the .svn folder on the destination machine.