# Capistrano and mongrel not deploying latest revision from SVN

**URL:** <https://www.ruby-forum.com/t/capistrano-and-mongrel-not-deploying-latest-revision-from-svn/129740>\
**Category:** Rails\
**Created:** [February 21, 2008, 6:04am UTC](https://www.ruby-forum.com/t/capistrano-and-mongrel-not-deploying-latest-revision-from-svn/129740 "2008-02-21T06:04:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJAZ](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@MJAZ](https://www.ruby-forum.com/u/MJAZ)\
**Post date:** [February 21, 2008, 6:04am UTC](https://www.ruby-forum.com/t/capistrano-and-mongrel-not-deploying-latest-revision-from-svn/129740/1 "2008-02-21T06:04:23Z")

</div>

Hello. I recently deployed my new rails application. Everything went  
fine, except for the fast that my mongrel cluster managed by  
Capistrano is only serving up the first revision. For instance, i one  
of my revisions I added a new action to my application. I checked it  
into svn, and ran cap deploy in my application’s root directory. I  
didn’t get any serious errors, except for these:

- executing “find /srv/www/theatheistconservative/releases/  
20080221050042/public/images /srv/www/theatheistconservative/releases/  
20080221050042/public/stylesheets /srv/www/theatheistconservative/  
releases/20080221050042/public/javascripts -exec touch -t  
200802210500.57 {} ‘;’; true”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] find:  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] /srv/www/  
theatheistconservative/releases/20080221050042/public/images  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] : No such file or directory  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)]  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] find:  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] /srv/www/  
theatheistconservative/releases/20080221050042/public/stylesheets  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] : No such file or directory  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)]  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] find:  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] /srv/www/  
theatheistconservative/releases/20080221050042/public/javascripts  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] : No such file or directory  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)]

Then, when I access my application in a browser, none of the changes  
have taken effect.

What could be causing this and how can I rectify this particular  
crisis?

Full cap deploy messages:

- executing `deploy’
  - executing `deploy:update’  
\*\* transaction: start
  - executing `deploy:update\_code’
  - getting (via checkout) revision 9 to /tmp/20080221050042  
compressing /tmp/20080221050042 to /tmp/20080221050042.tar.gz  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
Password:
  - uploading /tmp/20080221050042.tar.gz  
\*\* uploading data to [theatheistconservative.com](http://theatheistconservative.com):/tmp/  
20080221050042.tar.gz
  - done uploading data to [theatheistconservative.com](http://theatheistconservative.com):/tmp/  
20080221050042.tar.gz  
upload finished
  - executing “cd /srv/www/theatheistconservative/releases && tar xzf /  
tmp/20080221050042.tar.gz && rm /tmp/20080221050042.tar.gz”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
command finished
  - executing `deploy:finalize\_update’
  - executing “chmod -R g+w /srv/www/theatheistconservative/releases/  
20080221050042”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
command finished
  - executing “rm -rf /srv/www/theatheistconservative/releases/  
20080221050042/log /srv/www/theatheistconservative/releases/  
20080221050042/public/system /srv/www/theatheistconservative/releases/  
20080221050042/tmp/pids &&\n mkdir -p /srv/www/  
theatheistconservative/releases/20080221050042/public &&\n mkdir -  
p /srv/www/theatheistconservative/releases/20080221050042/tmp &&  
\n ln -s /srv/www/theatheistconservative/shared/log /srv/www/  
theatheistconservative/releases/20080221050042/log &&\n ln -s /  
srv/www/theatheistconservative/shared/system /srv/www/  
theatheistconservative/releases/20080221050042/public/system &&\n  
ln -s /srv/www/theatheistconservative/shared/pids /srv/www/  
theatheistconservative/releases/20080221050042/tmp/pids”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
command finished
  - executing “find /srv/www/theatheistconservative/releases/  
20080221050042/public/images /srv/www/theatheistconservative/releases/  
20080221050042/public/stylesheets /srv/www/theatheistconservative/  
releases/20080221050042/public/javascripts -exec touch -t  
200802210500.57 {} ‘;’; true”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] find:  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] /srv/www/  
theatheistconservative/releases/20080221050042/public/images  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] : No such file or directory  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)]  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] find:  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] /srv/www/  
theatheistconservative/releases/20080221050042/public/stylesheets  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] : No such file or directory  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)]  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] find:  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] /srv/www/  
theatheistconservative/releases/20080221050042/public/javascripts  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)] : No such file or directory  
\*\*\* [err :: [theatheistconservative.com](http://theatheistconservative.com)]  
command finished
  - executing `deploy:symlink’
  - executing “rm -f /srv/www/theatheistconservative/current && ln -s /  
srv/www/theatheistconservative/releases/20080221050042 /srv/www/  
theatheistconservative/current”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
command finished  
\*\* transaction: commit
  - executing `deploy:restart’
  - executing `mongrel:cluster:restart’
  - executing “sudo -p 'sudo password: ’ mongrel\_rails  
cluster::restart -C /srv/www/theatheistconservative/config/  
mongrel\_cluster.yml”  
servers: [“[theatheistconservative.com](http://theatheistconservative.com)”]  
[[theatheistconservative.com](http://theatheistconservative.com)] executing command  
\*\* [out :: [theatheistconservative.com](http://theatheistconservative.com)] stopping port 8000  
\*\* [out :: [theatheistconservative.com](http://theatheistconservative.com)] stopping port 8001  
\*\* [out :: [theatheistconservative.com](http://theatheistconservative.com)] stopping port 8002  
\*\* [out :: [theatheistconservative.com](http://theatheistconservative.com)] starting port 8000  
\*\* [out :: [theatheistconservative.com](http://theatheistconservative.com)] starting port 8001  
\*\* [out :: [theatheistconservative.com](http://theatheistconservative.com)] starting port 8002  
command finished
