question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error Copying Folder

See original GitHub issue

Hi, I am getting following Error copying a Folder:

    at SFTPStream._transform (/home/runner/work/_actions/garygrossgarten/github-action-scp/release/node_modules/ssh2-streams/lib/sftp.js:412:27)
    at SFTPStream.Transform._read (_stream_transform.js:189:10)
    at SFTPStream._read (/home/runner/work/_actions/garygrossgarten/github-action-scp/release/node_modules/ssh2-streams/lib/sftp.js:183:15)
    at SFTPStream.Transform._write (_stream_transform.js:177:12)
    at doWrite (_stream_writable.js:431:12)
    at writeOrBuffer (_stream_writable.js:415:5)
    at SFTPStream.Writable.write (_stream_writable.js:305:11)
    at Channel.ondata (_stream_readable.js:727:22)
    at Channel.emit (events.js:210:5)
    at addChunk (_stream_readable.js:309:12)
 1: 0x9da7c0 node::Abort() [/home/runner/runners/2.163.1/externals/node12/bin/node]
 2: 0xa4e219  [/home/runner/runners/2.163.1/externals/node12/bin/node]
 3: 0xba5d59  [/home/runner/runners/2.163.1/externals/node12/bin/node]
 4: 0xba7b47 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/home/runner/runners/2.163.1/externals/node12/bin/node]
 5: 0x13750d9  [/home/runner/runners/2.163.1/externals/node12/bin/node]
##[error]Node run failed with exit code 134

My config is:


 on: 
  push:
    branches:
      - master
 jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: install
        uses: garygrossgarten/github-action-scp@release
        with:
          local: ./
          remote: '/var/www/html/[folderName]/'
          host: [domainname]
          port: 22
          username: xxxxx
          password: xxxxx

The Authentication itself works and the first few files get copied without any Problem but after some files/folders it crashes. I have no clue why. Does anybody know what the Problem could be?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
robertnisipeanucommented, Feb 3, 2020

Same happens to me, seems like it’s because one of the file is opened on the server (in my case i have a service running that software). First stopping the service, then copying the files and then starting the service again works fine.

0reactions
garygrossgartencommented, Nov 26, 2020

Awesome, thanks for reporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Unspecified Error When Copying File or Folder ... - EaseUS
How to Fix 'Error Copying File or Folder' Issue Without Losing Data · Method 1. Format the Target Partition/Disk to NTFS or exFAT...
Read more >
Unspecified Error When Copying a File Folder in Windows 10
Part 2: How to fix "Error copying file or folder" Issue without losing data? · Method 1: Re-register jscript. · Method 2: Change...
Read more >
How to fix “Error copying file or folder” error? - EASSOS
How to fix “Error copying file or folder” issue? · Solution 1: Format target partition into NTFS or exFAT · Solution 2: Remove...
Read more >
Unspecified Error While Copying Files or Folder in Windows ...
“Error Copying File or Folder Unspecified Error” pops up while you copying files from one drive to another can be a result of...
Read more >
How to fix: Error copying file or folder, A device attached to the ...
Sometimes, the “Error copying file or folder – A device attached to the system is not functioning” can happen when the USB drive...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found