# Capistrano first deploy after setup

**URL:** <https://www.ruby-forum.com/t/capistrano-first-deploy-after-setup/121908>\
**Category:** Deployment\
**Created:** [December 2, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/capistrano-first-deploy-after-setup/121908 "2007-12-02T19:32:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [December 2, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/capistrano-first-deploy-after-setup/121908/1 "2007-12-02T19:32:41Z")

</div>

checkout seems to be fine , bit I can see some errors in the log

```
[www. mydomain.net] executing command

```

\*\*\* [err :: www. [mydomain.net](http://mydomain.net)] find:  
\*\*\* [err :: www. [mydomain.net](http://mydomain.net)]  
/var/rails/myprojects/app\_test/releases/20071202182151/public/images  
\*\*\* [err :: www. [mydomain.net](http://mydomain.net)] : No file or directory of this type  
\*\*\* [err :: www. [mydomain.net](http://mydomain.net)]  
\*\*\* [err :: www. [mydomain.net](http://mydomain.net)] find:  
/var/rails/myprojects/app\_test/releases/20071202182151/public/stylesheets:  
No file or directory of this type  
\*\*\* [err :: www. [mydomain.net](http://mydomain.net)] find:  
/var/rails/myprojects/app\_test/releases/20071202182151/public/javascripts:  
No file or directory of this type  
command finished

which is true , in …/releases/20071202182151/public I don’t see any  
directory or file, only a link to ‘system’ why ???

and at the end , I see (maybe it’s OK, as I didi not finished yet to  
parameter the mongrels…)

- executing `deploy:restart’
- executing “sudo -p 'sudo password: ’ -u app  
/var/rails/myprojects/app\_test/current/script/process/reaper”  
servers: [“www. [mydomain.net](http://mydomain.net)”]  
[www. [mydomain.net](http://mydomain.net)] executing command  
\*\*\* [err :: www. [mydomain.net](http://mydomain.net)] sudo: no passwd entry for app!  
command finished  
command “sudo -p 'sudo password: ’ -u app  
/var/rails/myprojects/app\_test/current/script/process/reaper” failed on  
www. [mydomain.net](http://mydomain.net)

what’s the reaper ? where can I find info on it ??

thanks

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [March 10, 2008, 1:58am UTC](https://www.ruby-forum.com/t/capistrano-first-deploy-after-setup/121908/2 "2008-03-10T01:58:44Z")

</div>

I am having the same issue with new Cap setup. The actuall deploy  
seems to work but then i get all this unrealted garbage you were talking  
about:

[dev:~/cap/config] deploy$ cap deploy

- executing `deploy’
- executing `deploy:update’  
\*\* transaction: start
- executing `deploy:update\_code’
- executing “/opt/csw/bin/svn checkout -q -r1  
svn+ssh://removed\_email\_address@domain.invalid/var/repos/stratplace  
/var/www/html/\_stratplace.com/test/releases/20080310005233 && (echo 1 \>  
/var/www/html/\_stratplace.com/test/releases/20080310005233/REVISION)”  
servers: [“8.12.43.95”]  
[8.12.43.95] executing command  
command finished
- executing `deploy:finalize\_update’
- executing “chmod -R g+w  
/var/www/html/\_stratplace.com/test/releases/20080310005233”  
servers: [“8.12.43.95”]  
[8.12.43.95] executing command  
command finished
- executing “rm -rf  
/var/www/html/\_stratplace.com/test/releases/20080310005233/log  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/system  
/var/www/html/\_stratplace.com/test/releases/20080310005233/tmp/pids &&\n  
mkdir -p  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public &&\n  
mkdir -p /var/www/html/\_stratplace.com/test/releases/20080310005233/tmp  
&&\n ln -s /var/www/html/\_stratplace.com/test/shared/log  
/var/www/html/\_stratplace.com/test/releases/20080310005233/log &&\n  
ln -s /var/www/html/\_stratplace.com/test/shared/system  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/system  
&&\n ln -s /var/www/html/\_stratplace.com/test/shared/pids  
/var/www/html/\_stratplace.com/test/releases/20080310005233/tmp/pids”  
servers: [“8.12.43.95”]  
[8.12.43.95] executing command  
command finished
- executing “find  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/images  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/stylesheets  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/javascripts  
-exec touch -t 200803100052.36 {} ‘;’; true”  
servers: [“8.12.43.95”]  
[8.12.43.95] executing command  
\*\*\* [err :: 8.12.43.95] find: stat() error  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/images:  
No such file or directory  
\*\*\* [err :: 8.12.43.95] find: stat() error  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/stylesheets:  
No such file or directory  
\*\*\* [err :: 8.12.43.95] find: stat() error  
/var/www/html/\_stratplace.com/test/releases/20080310005233/public/javascripts:  
No such file or directory  
command finished
- executing `deploy:symlink’
- executing “rm -f /var/www/html/\_stratplace.com/test/current && ln -s  
/var/www/html/\_stratplace.com/test/releases/20080310005233  
/var/www/html/\_stratplace.com/test/current”  
servers: [“8.12.43.95”]  
[8.12.43.95] executing command  
command finished  
\*\* transaction: commit
- executing `deploy:restart’
- executing “sudo -p 'sudo password: ’ -u app  
/var/www/html/\_stratplace.com/test/current/script/process/reaper”  
servers: [“8.12.43.95”]  
[8.12.43.95] executing command  
\*\*\* [err :: 8.12.43.95] sh: sudo: not found  
command finished  
command “sudo -p 'sudo password: ’ -u app  
/var/www/html/\_stratplace.com/test/current/script/process/reaper” failed  
on 8.12.43.95  
[dev:~/cap/config] deploy$
