Do you mean to execute:

  cap deploy:setup

?

If you leave out the colon, it will execute "cap deploy", and then "cap setup", and the "setup" task is not one of the default tasks, so unless you've defined it yourself, it won't be found.

- Jamis

On May 14, 2008, at 8:00 AM, nico10gbb wrote:


Thanks vikata and Jamis for your help !

When I run $cap deploy setup I have an other error :

* executing `deploy:restart'
 * executing `mongrel:cluster:restart'
 * executing "mongrel_rails cluster::restart -C /var/www/CoreSong/
current/config/mongrel_cluster.yml"
   servers: ["herd.ida.liu.se"]
D, [2008-05-14T15:58:28.796620 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
queueing packet nr 21 type 90 len 44
D, [2008-05-14T15:58:28.797057 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
sent 120 bytes
D, [2008-05-14T15:58:28.797989 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:28.798555 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 31 type 91 len 28
I, [2008-05-14T15:58:28.798886 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_open_confirmation: 5
1 0 32768
   [herd.ida.liu.se] executing command
I, [2008-05-14T15:58:28.799209 #9598]  INFO --
net.ssh.connection.channel[..fdbbaa968]: sending channel request
"exec"
D, [2008-05-14T15:58:28.799825 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
queueing packet nr 22 type 98 len 124
D, [2008-05-14T15:58:28.800312 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
sent 148 bytes
D, [2008-05-14T15:58:28.821634 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:28.822403 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 32 type 93 len 28
I, [2008-05-14T15:58:28.822738 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_window_adjust: 5
+131072
D, [2008-05-14T15:58:29.732164 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:29.732507 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:29.732901 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 33 type 95 len 92
I, [2008-05-14T15:58:29.733157 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T15:58:29.733659 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 34 type 95 len 28
I, [2008-05-14T15:58:29.733902 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:31.224164 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:31.224497 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:31.224894 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 35 type 95 len 92
I, [2008-05-14T15:58:31.225211 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T15:58:31.225739 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 36 type 95 len 28
I, [2008-05-14T15:58:31.225983 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:31.717519 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:31.717859 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:31.718288 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 37 type 95 len 92
I, [2008-05-14T15:58:31.718545 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
68b
*** [err :: herd.ida.liu.se] !!! PID file tmp/pids/mongrel.8000.pid
does not exist.  Not running?
D, [2008-05-14T15:58:31.718841 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 184 bytes
D, [2008-05-14T15:58:31.719175 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 38 type 95 len 28
I, [2008-05-14T15:58:31.719413 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:31.719830 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 39 type 95 len 108
I, [2008-05-14T15:58:31.720063 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
80b
*** [err :: herd.ida.liu.se] mongrel::stop reported an error. Use
mongrel_rails mongrel::stop -h to get help.
D, [2008-05-14T15:58:31.720487 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 40 type 95 len 28
I, [2008-05-14T15:58:31.720779 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:32.718018 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:32.718346 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:32.718742 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 41 type 95 len 92
I, [2008-05-14T15:58:32.718999 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T15:58:32.719425 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 42 type 95 len 28
I, [2008-05-14T15:58:32.719663 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:33.212466 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:33.212809 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:33.213231 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 43 type 95 len 92
I, [2008-05-14T15:58:33.213497 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
68b
*** [err :: herd.ida.liu.se] !!! PID file tmp/pids/mongrel.8001.pid
does not exist.  Not running?
D, [2008-05-14T15:58:33.213796 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 184 bytes
D, [2008-05-14T15:58:33.214125 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 44 type 95 len 28
I, [2008-05-14T15:58:33.214356 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:33.214766 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 45 type 95 len 108
I, [2008-05-14T15:58:33.215006 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
80b
*** [err :: herd.ida.liu.se] mongrel::stop reported an error. Use
mongrel_rails mongrel::stop -h to get help.
D, [2008-05-14T15:58:33.215412 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 46 type 95 len 28
I, [2008-05-14T15:58:33.215697 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:34.130053 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:34.130638 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 47 type 95 len 92
I, [2008-05-14T15:58:34.130907 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T15:58:34.131181 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:34.131513 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 48 type 95 len 28
I, [2008-05-14T15:58:34.131754 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:35.680842 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:35.681184 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 52 bytes
D, [2008-05-14T15:58:35.681575 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 49 type 95 len 92
I, [2008-05-14T15:58:35.681827 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T15:58:35.682260 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 50 type 95 len 28
I, [2008-05-14T15:58:35.682496 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T15:58:36.334098 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 116 bytes
D, [2008-05-14T15:58:36.334652 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 51 type 94 len 92
I, [2008-05-14T15:58:36.334900 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_data: 5 78b
** [out :: herd.ida.liu.se] stopping port 8000
** [out :: herd.ida.liu.se]
** [out :: herd.ida.liu.se] stopping port 8001
** [out :: herd.ida.liu.se]
** [out :: herd.ida.liu.se] starting port 8000
** [out :: herd.ida.liu.se] starting port 8001
D, [2008-05-14T15:58:36.338673 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
read 140 bytes
D, [2008-05-14T15:58:36.339087 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 52 type 98 len 44
I, [2008-05-14T15:58:36.339339 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_request: 5 exit-
status false
D, [2008-05-14T15:58:36.339703 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 53 type 96 len 12
I, [2008-05-14T15:58:36.339901 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_eof: 5
D, [2008-05-14T15:58:36.340219 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
received packet nr 54 type 97 len 12
I, [2008-05-14T15:58:36.340414 #9598]  INFO --
net.ssh.connection.session[..fdbbbcf14]: channel_close: 5
D, [2008-05-14T15:58:36.340771 #9598] DEBUG -- tcpsocket[..fdbbc5d94]:
queueing packet nr 23 type 97 len 28
   command finished
the task `setup' does not exist

It does not find the pid files :
*** [err :: herd.ida.liu.se] !!! PID file tmp/pids/mongrel.8001.pid
does not exist.  Not running?

And the second error "the task `setup' does not exist". What does it
mean ?

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to