So I seem to have stepped over that hump but run into another. cap deploy:update works without a hitch. I've re-created my remote repository with git init --bare. and renamed the apple folder to myApp.git/ accordingly. This has worked very well.
Now when I run cap deploy:start or cap deploy. I receive an error: ** [out :: myDomain] !!! PID file /home/myUser/apps/myApp/current/log/ mongrel.pid does not exist. Not running? ** [out :: myDomain] mongrel::restart reported an error. Use mongrel_rails mongrel::restart -h to get help. The 2nd line is a server side error I'm assuming and I've opened a ticked with my provider accordingly. The first line regarding the error log on the other hand is what concerns me. If I browse to ~/apps/ myApp/current/ I can see my rails file structure. It is missing the logs folder. I added an older logs folder into my local repository. Pushed the changes to the server. Ran Cap deploy:update. If I look at ~/apps/myApp/current/ the /logs/ folder is still missing. Should it have been pushed and added to the structure with the previous commands? I had the same problem before well changing my mysql.sock location for the db.yaml. The updates don't seem to make it to my / current/ folder despite running all the commands without error. Am I missing something to get the changes pushed all the way out? On Mar 18, 1:17 am, brianp <[email protected]> wrote: > Hey, thanks for your help so far. > > I've added the following to my deploy.rb: > set :repositroy, "~/git/#{application}/" > set :local_repository, "#{us...@#{domain}:/home/#{user}/git/ > #{application}" > > but now receive the following error:http://pastie.org/875081 > > cheers, > > On Mar 17, 12:45 am, Lee Hambley <[email protected]> wrote: > > > Unless the server can SSH into itself (unlikely) you need to use the split > > repository variables.... > > > set :repositroy, ''~/git/myApp/" > > set :local_repository, "myusern...@mydomain:/home/myUserName/" > > > Your workstation will use the latter to connect to retrieve the HEAD; and > > remote commands will use the :repositroy -- not very intuitive, I know. > > > You may also want to look up the difference between `bare` and `working > > copy` repositories [1]; if your server is hosting a bare one, it should be > > named "MyApp.git" to signify that; some tools care, and it's confusing for > > anyone that helps you. (on the git front!) > > > -- > > [1] -http://toolmantim.com/thoughts/setting_up_a_new_remote_git_repository > > > -- Lee Hambley > > > Twitter: @leehambley | @capistranorb > > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en To unsubscribe from this group, send email to capistrano+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
