The clincher will be this: if you log into your server, and go to (in Sobert's case) /var/rails/canardps3/current, is there a script/spin file there?
If there is, it may be that nohup is needing an absolute path to the file, rather than a relative path. If there isn't, then you get to figure out why it's not being deployed with the rest of your app. :/ - Jamis On 12/16/08 7:46 AM, Steve-O wrote: > I too am at the same point. I have disabled sudo by placing > 'set :use_sudo, false' in the 'deploy.rb' file, which might work for > you. I think that my problem is with my subversion repository not > being updated, even though I seem to have all my commits done... > > On Dec 15, 10:44 pm, Sobert <[email protected]> wrote: >> Hello, >> >> I get an error on cap deploy:start : >> >> * executing "cd /var/rails/canardps3/current && sudo -p 'sudo >> password: ' -u s >> obert nohup script/spin" >> servers: ["canardpsn.sobert.net"] >> [canardpsn.sobert.net] executing command >> *** [err :: canardpsn.sobert.net] nohup: >> *** [err :: canardpsn.sobert.net] ne peut exÚcuter la commande `script/ >> spin' >> *** [err :: canardpsn.sobert.net] : Aucun fichier ou rÚpertoire de ce >> type >> *** [err :: canardpsn.sobert.net] >> command finished >> failed: "sh -c \"cd /var/rails/canardps3/current && sudo -p 'sudo >> password: ' -u >> sobert nohup script/spin\"" on canardpsn.sobert.net >> >> Yes, I'm french, so, the error is : no such file or directory on >> script/spin. >> >> The fact is, I've already checked, that the script/spin is there, and >> executable. >> >> proof : >> >> sd-17133:/var/rails/canardps3/current# ls -l script/ >> total 44 >> -rw-rw-r-- 1 sobert sobert 152 2008-12-16 04:15 about >> -rw-rw-r-- 1 sobert sobert 98 2008-12-16 04:15 console >> -rw-rw-r-- 1 sobert sobert 100 2008-12-16 04:15 dbconsole >> -rw-rw-r-- 1 sobert sobert 98 2008-12-16 04:15 destroy >> -rw-rw-r-- 1 sobert sobert 99 2008-12-16 04:15 generate >> drwxrwxr-x 3 sobert sobert 4096 2008-12-16 04:15 performance >> -rw-rw-r-- 1 sobert sobert 97 2008-12-16 04:15 plugin >> drwxrwxr-x 3 sobert sobert 4096 2008-12-16 04:16 process >> -rw-rw-r-- 1 sobert sobert 97 2008-12-16 04:15 runner >> -rw-rw-r-- 1 sobert sobert 97 2008-12-16 04:15 server >> -rwxrwxr-x 1 sobert sobert 162 2008-12-16 04:16 spin >> >> The script folder : >> drwxrwxr-x 5 sobert sobert 4096 2008-12-16 04:37 script >> >> I use apache+mongrel+svn. >> >> All the steps described >> inhttp://capify.org/getting-started/from-the-beginning >> are ok, except the cap deploy:start >> >> my workstation is under windows vista, and my server is a Debian. >> >> Sorry for my poor english :/ > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
