Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    buildmaster
    12 Posts 1 Posters 4 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Splitting the file copy into 2 steps still fails with the same error. The source machine is running Solaris 10.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          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 ?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • ? This user is from outside of this forum
                      Guest
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • ? This user is from outside of this forum
                        Guest
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • ? This user is from outside of this forum
                          Guest
                          last edited by

                          Using !.svn* still creates the .svn folder on the destination machine.

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation