我在 Ubuntu 11.04 机器上部署 Gitorious。一切正常,除了推。
客户得到这个:
$ git push origin master
== Gitorious:
==========================================================
fatal error
========================================================================
fatal: The remote end hung up unexpectedly
服务器在gitorious_auth.log中显示了这一点:
I, [2012-05-08 18:40:45#7589] INFO -- : Connection from "12.34.56.78
50393 22" (admin): git-receive-pack 'test/test.git'
F, [2012-05-08 18:40:45#7589] FATAL -- : EOFError end of file
reached: /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
/usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
/usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
/usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
/usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
/usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
/usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
/usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
/usr/lib/ruby/1.8/net/http.rb:1051:in `request'
/usr/lib/ruby/1.8/net/http.rb:772:in `get'
/var/www/gitorious/script/../lib/gitorious/ssh/client.rb:85:in
`configuration'
/var/www/gitorious/script/../lib/gitorious/ssh/client.rb:59:in
`real_path'
/var/www/gitorious/script/../lib/gitorious/ssh/client.rb:73:in
`to_git_shell_argument'
/usr/bin/gitorious:60
我怎样才能使推动工作?
最好的,
鲁本