cloudcmd: Error on copying large folders
- Version : v14.3.8 (tested it on older v14 release as well)
- Node Version: v12.16.2
- OS: ubuntu 18
- Browser name/version: Chrome v80.0.3987.132
While copying larger folders with a lot of files and subfolders I often run into this error:
events.js:287
throw er; // Unhandled 'error' event
^
Error: EISDIR: illegal operation on a directory, open '[random-subfolder-at-target-location]'
Emitted 'error' event on WriteStream instance at:
at errorOrDestroy ([project_home]/node_modules/readable-stream/lib/internal/streams/destroy.js:98:101)
at WriteStream.onerror ([project_home]/node_modules/readable-stream/lib/_stream_readable.js:704:47)
at WriteStream.emit (events.js:310:20)
at internal/fs/streams.js:321:12
at FSReqCallback.oncomplete (fs.js:155:23) {
errno: -21,
code: 'EISDIR',
syscall: 'open',
path: '[random-subfolder-at-target-location]'
}
Tried copying the same folder multiple times it seems to happen at a different folder every time.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (7 by maintainers)
Commits related to this issue
- fix(copymitter) order (coderaiser/cloudcmd/issues/285) — committed to coderaiser/node-copymitter by coderaiser 4 years ago
Tested it twice with the script and 5 times in cloudcmd, itโs working now. Thank you!
Ran it a few times, here are 2 results, output ended up being a few mb so i had to zip it. https://drive.google.com/open?id=1rO03WjzrKGvKentKOK9NK5cdtV2rbtQf
You are right, I should have given you an example as well. ๐ I downloaded magento 2 from github ( https://github.com/magento/magento2/archive/2.4-develop.zip ), started up cloudcmd without any config and tried copying the
magento2-2.4-developfolder fromDownloadstoPictures. That gives me an error every time.