NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ledermann's avatar
ledermann
Aspirant
Oct 10, 2010

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 rebooted the NAS
- Logged in to my readynas as root (ssh root@readynas)
- Created a git repo with:
# cd /opt/git
# mkdir repo
# cd repo
# git init --bare
- Checked that the new repo is shown in https://readynas/gitweb/gitweb.cgi => OK
- Trying to clone the repo from my local MAc client with:
# git clone root@readynas:/opt/git/repo.git
=> bash: line 1: git-upload-pack: command not found
fatal: The remote end hung up unexpectedly

Are there any hints? Because I don't have found any documentation to this addon, maybe I have created the repo the wrong way...

My config:
- ReadyNAS Duo
- Radiator 4.1.6
- git-scm v1.7.1-readynas-0.1.2

Kind regards,
Georg Ledermann

14 Replies

Replies have been turned off for this discussion

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More