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

Forum Discussion

cjbischoff's avatar
cjbischoff
Aspirant
Nov 24, 2011

No project listing from gitweb - addon:git 1.7.1

System/Addon specifics

git 1.7.1
Model: ReadyNAS Pro 6 [X-RAID2]
Serial: 2H0314RM00229
Firmware: RAIDiator 4.2.19
Memory: 8192 MB [6-6-6-18 DD

Git is installed properly and tested - created several repositories on the directory /opt/git/ - however when accessing https://nas1/gitweb/gitweb.cgi - no projects/data are listed.

From the local nas/system I execute the cgi script /etc/frontview/addons/ui/GITSCM/gitweb/gitweb.cgi - all the project/repository information is outputted correctly - its like Apache config isn't allow the execution, but I did check permissions/file setting and the Apache Addon file and it looks correct.

Anyone else having issues with gitweb?

2 Replies

Replies have been turned off for this discussion
  • OK so I worked it out. It was a permission issue for me:-

    Essentially:-

    chmod -R 770 /c/.gitscm
    chown -R youruser:admin /c/.gitscm

    As apache runs as admin user it needs permissions to the repositories folder to read it.

    You can adjust it accordingly but as long as admin gets access somehow thats all that seems to matter.

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