square/kochiku

error during cap deploy: unable to create a directory

bear opened this issue · 0 comments

bear commented

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.