Kei, it's simply common sense, without posting here "hey, lads this is on SO too" there's a chance we waste our time helping when you already had the solution, here's how your problem boils down for me:
First - and commented often in the list, logging into the server as yourself (or deploy) does not mimic the environment in which capistrano runs, you can mimic this by using inline ssh commands: ssh dep...@myserver 'whoami' for example, this will connect without using a "login shell" and without loading (mostly) any of your environmental settings… this is by design, and allows cap to operate in a largely untainted environment. Beyond that, I would assume the problem is that you don't have the same permissions on production, and staging environment directories (something :setup probably won't take care of for you) Additional you should verify that git doesn't have the auth credentials cached… it can sometimes help to erase the Git cache and start over. If you still have problems - I'd be more than happy to have 15 minutes with you on IRC later, then as a last resort, maybe you can let me poke around on the server with your supervision, and we can find out what's going wrong. - Lee On 25 October 2010 16:20, kei <[email protected]> wrote: > Hi Lee, > > 1) > I apologise unreservedly. > > I did not know i did wrong by posting in SO as well as over here. or > that i need to disclose this. > > I did not intend to hide that I was posting in SO and here as well. if > i knew i should disclose that fact, i would definitely do so. > > I was thinking i should not leave any possible stone unturned. > I really want the capistrano to work. > > Hence cross posting. > > This is not an excuse for my behavior. I accept fully all > responsibilities for my behavior. > > 2) > > I will redo all my steps again. and i will post it up using screen > shots where necessary. > > i am certain i did something wrong because i am really a novice in > linux environments and a total newbie in capistrano. > > hopefully by disclosing as much information as i can will enable > people to help me as much as possible. > > I will just post it here in Capistrano thread. > > Once again thank you for your time, Lee and Rafael and i am really > sorry for any upsets caused. > > -- > * 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]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > -- * 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
