upload command causes Errno::EISDIR: Is a directory error

991 views
Skip to first unread message

JS

unread,
Apr 1, 2015, 7:26:02 AM4/1/15
to capis...@googlegroups.com

Hello,


I try to upload a directory to my server on deploy:updated.

The command 

upload! '/path/to/my/folder', '/server/path/for/staging', recursive: true

causes the error: 

Errno::EISDIR: Is a directory - /path/to/my/folder

The whole example I try to get running is here: https://gist.github.com/swalkinshaw/9e4556d4b0c402eba29a


Versions:

  • ruby 1.9.3p484
  • capistrano-3.4.0

Platform:

  • Linux version 3.13.0-35-generic (buildd@panlong) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) )

Lee Hambley

unread,
Apr 1, 2015, 8:13:09 AM4/1/15
to Capistrano

The only think I can suggest is to experiment with trailing slashes on your paths, but otherwise I can't imagine what the problem is. I *suspect* that the problem happens earlier, as at least the ErrnoEISDIR doesn't come from `upload!` itself, but you haven't included a backtrace, so I can't see that for sure.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/c9baf364-0ead-403d-b91c-ff5fd5eeac4b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages