Can't do initial push - W access 'denied' (In caps)

  • 1
  • Problem
  • Updated 9 years ago
  • Solved
I can't seem to do an initial build. I had problems with connecting to a coworker's repo, so I created my own app and repo and can't push to that either. Followed the directions in the docs, but I keep getting this error when I 'git push phonegap master':

W access for danlinniv/19681_MediaDan DENIED to dan
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: The remote end hung up unexpectedly

The weird thing is that nowhere have I specified the my username as just 'dan'. My email starts with that, but my username is danlinn on my comp and danlinniv on phonegap.com.

Just updated git, but it didn't help. I've reinitialized the repo and started over three times now. Not sure what I'm missing.
Photo of dan

dan

  • 1 Post
  • 0 Reply Likes
  • frustrated

Posted 9 years ago

  • 1
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
It looks as though you've changed your username on PhoneGap Build a couple of times - it's currently set to "dan." This has confused our git server a bit, which is why it was denying your permissions for that repo.

I've manually updated the configuration so you should be able to push to that repository now. Please give it another shot.
Photo of christocracy

christocracy

  • 3 Posts
  • 0 Reply Likes
Similar problem here. My client just added me as a collaborator with R/W access (well, I added myself as a collab. since I have access to their account). Adding to the confusion, I originally created the project under my own account "christocracy" with an identically named app "metracker". I've since deleted the initial app to alleviate confusion.

I'm now trying to do the initial push to the client's repo

$ mkdir metracker_phonegap
$ cd metracker_phonegap
$ git init
$ touch README
$ git add README
$ git commit -m "first commit"
$ git remote add metracker git@git.phonegap.com:metracker/21535_metracker.git
$ git push phonegap master

W access for metracker/21535_metracker DENIED to christocracy
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: The remote end hung up unexpectedly

$ ssh git@git.phonegap.com
PTY allocation request failed on channel 0
hello christocracy, the gitolite version here is v1.5.7-18-g2bbcc82
the gitolite config gives you the following access:
R W christocracy/17305_metracker

As I said, I initially created an app "metracker" under my own account then deleted it (17305_metracker).

Via my client's account, I granted "christocracy" RW access to *21535_metracker*

christocracy needs ssh to report RW access to *21535_metracker*
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
There are definitely some issues regarding our git hosting and the new multi-user interface that have to be resolved - we're going to investigate these.
Photo of danlinniv

danlinniv

  • 2 Posts
  • 0 Reply Likes
That did it, thanks!
Photo of danlinniv

danlinniv

  • 2 Posts
  • 0 Reply Likes
Oh, and Drinky the Crow is awesome.
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Agreed