NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ledermann
Oct 10, 2010Aspirant
gitscm: Can't connect to git repo
Hi! I have installed the gitscm add-on and can't get it to work, instead the "git-upload-pack: command not found" message appears. What I have done: - Installed gitscm-addon via FrontView and ...
nashwaan
Oct 28, 2010Aspirant
I second my request to ledermann. We really need help here. git (or VCS) is crucial for maintaining any project. I have been trying to clone/pull/push from my PC to readyNAS remotely by no success. I have read many web articles (around 30+) for more than 2 weeks to find a way to communicate remotely to the repo located in ReadyNAS it but no luck. Very frustrated. Here is the list of things i done:
I have also tried to create --bare repo, still no success.
I have made similar checks to what ledermann ensuring path of git commands are accessible but i still get this error:
fatal: The remote end hung up unexpectedly
We are stuck here. Yo-dah, Who cares, or any ReadyNAS expert, pleeeeeeeeeease help :)
My config:
- ReadyNAS NV+
- Radiator 4.1.6
- git-scm v1.7.1-readynas-0.1.2
Thanks,
Yousuf
- downloaded gitscm from this link http://readynasfreeware.org/attachments/download/100/gitscm_1.7.1-readypro-0.1.2.bin
Installed gitscm-addon via FrontView and rebooted the NAS
logged in to readyNAS as root user via Putty.
created a repo in the /opt/git directory, added few test files to the repo, commit the changes.
verified https://<ReadyNAS>/gitweb/gitweb.cgi and the repo showed there successfully.
I installed "msysgit" which is a Windows flavour of git and opened git bash session and tried to clone/pull/push the repo created in ReadyNAS to my local PC, but i get "fatal: The remote end hung up unexpectedly"
I have also tried to create --bare repo, still no success.
I have made similar checks to what ledermann ensuring path of git commands are accessible but i still get this error:
fatal: The remote end hung up unexpectedly
ledermann wrote: quattro:~ ledermann$ ssh root@readynas
root@readynas's password:
Linux ReadyNAS 2.6.17.8ReadyNAS #1 Tue Jun 9 13:59:28 PDT 2009 padre unknown
ReadyNAS:~# echo $PATH
/opt/rfw/bin:/opt/rfw/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
ReadyNAS:~# whereis git-upload-pack
git-upload-pack: /opt/rfw/bin/git-upload-pack
ReadyNAS:~# git-upload-pack
usage: git upload-pack [--strict] [--timeout=nn] <dir>
ReadyNAS:~# exit
logout
Connection to readynas closed.
quattro:~ ledermann$ git clone root@readynas:/opt/git/repo.git
Cloning into repo...
root@readynas's password:
bash: line 1: git-upload-pack: command not found
fatal: The remote end hung up unexpectedly
quattro:~ ledermann$
We are stuck here. Yo-dah, Who cares, or any ReadyNAS expert, pleeeeeeeeeease help :)
My config:
- ReadyNAS NV+
- Radiator 4.1.6
- git-scm v1.7.1-readynas-0.1.2
Thanks,
Yousuf
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!