Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

error during cap deploy: unable to create a directory #4

Open
bear opened this issue Sep 8, 2013 · 0 comments
Open

error during cap deploy: unable to create a directory #4

bear opened this issue Sep 8, 2013 · 0 comments

Comments

@bear
Copy link

bear commented Sep 8, 2013

I'm trying to do a deploy and i'm getting the following:

** transaction: start
*** [err :: localhost] cp:
*** [err :: localhost] cannot create directory `/home/kochiku-web/kochiku/releases/20130908064030'
*** [err :: localhost] : No such file or directory
*** [err :: localhost]
*** [deploy:update_code] rolling back
failed: "env PATH=/usr/local/bin:$PATH sh -c 'cp -RPp /home/kochiku-web/kochiku/shared/cached-copy /home/kochiku-web/kochiku/releases/20130908064030 && (echo d7c117f > /home/kochiku-web/kochiku/releases/20130908064030/REVISION)'" on localhost

I'm installing on localhost just to test what exactly is deployed and installed.

I know that the cap environment can create directories because it created /home/kochiku-web/shared and all of it's sub-directories.

I worked around the issue by creating the releases/ directory manually.

jeversmann pushed a commit that referenced this issue May 29, 2014
# By Tyler Kovacs
# Via Tyler Kovacs
* commit '1f519fbbdfd3edf9ce91cde7d472f106c15ae533':
  add server url support for git.corp.squareup.com
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant