-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
drone-scp error: error copy file to dest: ***, error message: wait: remote command exited without exit status or exit signal #77
Comments
Same problem. Can you suggest where to dig? |
changed server and it worked |
im having same issue, in my case if the target folder already got the files in the tar archive the error appears, creating a new empty folder for the upload works without error i think its something related with replace files? |
Thanks @allandiego for pointing me in the right direction. Adding overwrite: true seems to help me. EDIT: Never mind, still getting the error occasionally! |
Also getting this very often, any ideas? :/ |
Hi people ! When erase all tmp junks and free space it stop showing this message.. |
Hi, |
i'm having the same issue, it works sometime. Anyone came up with a solution for this? |
I also changed my server to one with newer hardware and it fixed the problem. I'm using the following config: env:
BUILD_NAME: "${{ github.RUN_ID }}_${{ github.RUN_NUMBER }}"
BUILD_NAME_EXT: "${{ github.RUN_ID }}_${{ github.RUN_NUMBER }}.tar.gz"
on:
workflow_call:
inputs:
PROJECT_PATH:
type: string
required: true
HOST:
type: string
required: true
USERNAME:
type: string
required: true
secrets:
KEY:
required: true
deploy:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ${{ env.BUILD_NAME }}
- name: Deploy
uses: appleboy/scp-action@master
with:
host: ${{ inputs.HOST }}
username: ${{ inputs.USERNAME }}
key: ${{ secrets.KEY }}
source: ${{ env.BUILD_NAME_EXT }}
target: ${{ inputs.PROJECT_PATH }}
overwrite: true
timeout: 1m |
The script sometimes throws this error:
drone-scp error: error copy file to dest: ***, error message: wait: remote command exited without exit status or exit signal
It doesn't always happen, sometimes it works.
The /root path of the target server also contains the .tar file.
The text was updated successfully, but these errors were encountered: