Hello all,
I am attempting to get Capistrano setup and working for the first time.
This is very new to me. I am trying to deploy from a local Git
repository to my shared host.
After running ‘cap deploy:setup’ and ‘cap deploy:check’ everything
appears OK. But when I run ‘cap deploy’ it doesn’t seem like any of my
file are getting uploaded. Here is what happens after running ‘cap
deploy’. Does anything look weird?
cap deploy
- executing `deploy’
- executing `deploy:update’
** transaction: start - executing `deploy:update_code’
executing locally: “git ls-remote . master”
checking for git… yes - executing “git clone -q .
/home/username/appname/releases/20091216044729 && cd
/home/username/appname/releases/20091216044729 && git checkout -q -b
deploy 8939c285e969a7cdf5a59a86a25ef0c460d15a31 && (echo
8939c285e969a7cdf5a59a86a25ef0c460d15a31 >
/home/username/appname/releases/20091216044729/REVISION)”
servers: [“mydomain.com”]
[mydomain.com] executing command
** [mydomain.com :: err] fatal: failed to open /home/username/./objects
command finished - executing `deploy:finalize_update’
- executing “chmod -R g+w
/home/username/appname/releases/20091216044729”
servers: [“mydomain.com”]
[mydomain.com] executing command
*** [err :: mydomain.com] chmod: cannot access
`/home/username/appname/releases/20091216044729’: No such file or
directory
command finished - executing “rm -rf /home/username/appname/releases/20091216044729/log
/home/username/appname/releases/20091216044729/public/system
/home/username/appname/releases/20091216044729/tmp/pids &&\\n
mkdir -p /home/username/appname/releases/20091216044729/public &&\\n
mkdir -p /home/username/appname/releases/20091216044729/tmp &&\\n
ln -s /home/username/appname/shared/log
/home/username/appname/releases/20091216044729/log &&\\n ln -s
/home/username/appname/shared/system
/home/username/appname/releases/20091216044729/public/system &&\\n
ln -s /home/username/appname/shared/pids
/home/username/appname/releases/20091216044729/tmp/pids”
servers: [“mydomain.com”]
[mydomain.com] executing command
command finished - executing “find
/home/username/appname/releases/20091216044729/public/images
/home/username/appname/releases/20091216044729/public/stylesheets
/home/username/appname/releases/20091216044729/public/javascripts -exec
touch -t 200912160447.32 {} ‘;’; true”
servers: [“mydomain.com”]
[mydomain.com] executing command
*** [err :: mydomain.com] find:
/home/username/appname/releases/20091216044729/public/images: No such
file or directory
*** [err :: mydomain.com] find:
/home/username/appname/releases/20091216044729/public/stylesheets: No
such file or directory
*** [err :: mydomain.com] find:
/home/username/appname/releases/20091216044729/public/javascripts: No
such file or directory
command finished - executing `deploy:symlink’
- executing “rm -f /home/username/appname/current && ln -s
/home/username/appname/releases/20091216044729
/home/username/appname/current”
servers: [“mydomain.com”]
[mydomain.com] executing command
command finished
** transaction: commit - executing
deploy:restart' [DEPRECATED]
deploy:restart` is going to be changed to Passenger
mod_rails’ method after 2.5.9 - see Lighthouse - Beautifully Simple Issue Tracking - executing “/home/username/appname/current/script/process/reaper”
servers: [“mydomain.com”]
[mydomain.com] executing command
*** [err :: mydomain.com] sh:
/home/username/appname/current/script/process/reaper: No such file or
directory
command finished
Thanks in advance for any help!