hello, I want to run cap deploy command but i am gettion following error.. * executing `deploy'' * executing `deploy:update'' ** transaction: start * executing `deploy:update_code'' executing locally: "svn info http://svn.ecomm.pragtech.co.in/ecomm -rHEAD" * executing "svn checkout -q -r65 http://svn.ecomm.pragtech.co.in/ecomm /u/apps/ecomm/releases/20091203063655 && (echo 65 > /u/apps/ecomm/ releases/20091203063655/REVISION)" servers: ["application"] *** [deploy:update_code] rolling back * executing "rm -rf /u/apps/ecomm/releases/20091203063655; true" servers: ["application"] ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: application (SocketError: getaddrinfo: Name or service not known) connection failed for: application (SocketError: getaddrinfo: Name or service not known) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Might need to see your deploy.rb file, but I would look where you define the servers. It appears it is looking for the the host ''application'' and cannot find it. Darian Shimy -- http://www.darianshimy.com http://twitter.com/dshimy On Wed, Dec 2, 2009 at 10:37 PM, madhuri godade <madhurigodade-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hello, > > > I want to run cap deploy command but i am gettion following error.. > > * executing `deploy'' > * executing `deploy:update'' > ** transaction: start > * executing `deploy:update_code'' > executing locally: "svn info http://svn.ecomm.pragtech.co.in/ecomm > -rHEAD" > * executing "svn checkout -q -r65 http://svn.ecomm.pragtech.co.in/ecomm > /u/apps/ecomm/releases/20091203063655 && (echo 65 > /u/apps/ecomm/ > releases/20091203063655/REVISION)" > servers: ["application"] > *** [deploy:update_code] rolling back > * executing "rm -rf /u/apps/ecomm/releases/20091203063655; true" > servers: ["application"] > ** [deploy:update_code] exception while rolling back: > Capistrano::ConnectionError, connection failed for: application > (SocketError: getaddrinfo: Name or service not known) > connection failed for: application (SocketError: getaddrinfo: Name or > service not known) > > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
My deploy.rb file contains.. set :application, "application name" set :repository, "http://..." set :applicationdir, "/root/#{application}" # The standard Dreamhost setup # If you aren''t deploying to /u/apps/#{application} on the target # servers (which is the default), you can specify the actual location # via the :deploy_to variable: set :deploy_to, applicationdir # If you aren''t using Subversion to manage your source code, specify # your SCM below: set :scm, :subversion role :app, "application" role :web, "application" role :db, "application", :primary => true Can you tell me the configuration of deploy.rb is right.. On Dec 3, 11:58 am, Darian Shimy <dsh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Might need to see your deploy.rb file, but I would look where you > define the servers. It appears it is looking for the the host > ''application'' and cannot find it. > > Darian Shimy > --http://www.darianshimy.comhttp://twitter.com/dshimy > > On Wed, Dec 2, 2009 at 10:37 PM, madhuri godade <madhurigod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > hello, > > > I want to run cap deploy command but i am gettion following error.. > > > * executing `deploy'' > > * executing `deploy:update'' > > ** transaction: start > > * executing `deploy:update_code'' > > executing locally: "svn infohttp://svn.ecomm.pragtech.co.in/ecomm > > -rHEAD" > > * executing "svn checkout -q -r65http://svn.ecomm.pragtech.co.in/ecomm > > /u/apps/ecomm/releases/20091203063655 && (echo 65 > /u/apps/ecomm/ > > releases/20091203063655/REVISION)" > > servers: ["application"] > > *** [deploy:update_code] rolling back > > * executing "rm -rf /u/apps/ecomm/releases/20091203063655; true" > > servers: ["application"] > > ** [deploy:update_code] exception while rolling back: > > Capistrano::ConnectionError, connection failed for: application > > (SocketError: getaddrinfo: Name or service not known) > > connection failed for: application (SocketError: getaddrinfo: Name or > > service not known) > > > -- > > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You need to change the following lines:> role :app, "application" > role :web, "application" > role :db, "application", :primary => trueReplace the application with the name of the host or IP Address. Darian Shimy -- http://www.darianshimy.com http://twitter.com/dshimy On Wed, Dec 2, 2009 at 11:14 PM, madhuri godade <madhurigodade-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> My deploy.rb file contains.. > > > set :application, "application name" > set :repository, "http://..." > set :applicationdir, "/root/#{application}" # The standard Dreamhost > setup > > # If you aren''t deploying to /u/apps/#{application} on the target > # servers (which is the default), you can specify the actual location > # via the :deploy_to variable: > set :deploy_to, applicationdir > > # If you aren''t using Subversion to manage your source code, specify > # your SCM below: > set :scm, :subversion > > role :app, "application" > role :web, "application" > role :db, "application", :primary => true > > > Can you tell me the configuration of deploy.rb is right.. > > On Dec 3, 11:58 am, Darian Shimy <dsh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Might need to see your deploy.rb file, but I would look where you >> define the servers. It appears it is looking for the the host >> ''application'' and cannot find it. >> >> Darian Shimy >> --http://www.darianshimy.comhttp://twitter.com/dshimy >> >> On Wed, Dec 2, 2009 at 10:37 PM, madhuri godade <madhurigod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > hello, >> >> > I want to run cap deploy command but i am gettion following error.. >> >> > * executing `deploy'' >> > * executing `deploy:update'' >> > ** transaction: start >> > * executing `deploy:update_code'' >> > executing locally: "svn infohttp://svn.ecomm.pragtech.co.in/ecomm >> > -rHEAD" >> > * executing "svn checkout -q -r65http://svn.ecomm.pragtech.co.in/ecomm >> > /u/apps/ecomm/releases/20091203063655 && (echo 65 > /u/apps/ecomm/ >> > releases/20091203063655/REVISION)" >> > servers: ["application"] >> > *** [deploy:update_code] rolling back >> > * executing "rm -rf /u/apps/ecomm/releases/20091203063655; true" >> > servers: ["application"] >> > ** [deploy:update_code] exception while rolling back: >> > Capistrano::ConnectionError, connection failed for: application >> > (SocketError: getaddrinfo: Name or service not known) >> > connection failed for: application (SocketError: getaddrinfo: Name or >> > service not known) >> >> > -- >> >> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. >> > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. >> > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.