These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Git repositories module- how to configure? on the new forum.
I have the Git Repos module set up successfully, but when I check the box under Features and Plugins and click save, I get an error: "Failed to save enabled features : The plugin Git repositories cannot be used : The Git administration command git is not installed"
Under Configure > Full path to git command, the default entry is "git". This apparently needs to be changed, but I'm unclear as to what should be entered in this field. A Google search yielded nothing on this. Can anyone help?
Thanks!
Jack
i recommend you run "updatedb". After run "locate git". It should tell you where the binary is located at.
Thanks, below is the output from "locate git". I also ran "which git" which shows that it's not installed. I'm running Centos 5.8. I've run "yum install git" which appears to be successful, but I must be missing something (I'm new to linux). That output is also below.
Dependencies Resolved
================================================================================
Package Arch Version Repository SizeInstalling: git x86_64 1.7.4.1-1.el5 epel 4.5 M Installing for dependencies: perl-Error noarch 1:0.17010-1.el5 epel 26 k perl-Git x86_64 1.7.4.1-1.el5 epel 28 k
Transaction SummaryInstall 3 Package(s) Upgrade 0 Package(s)
Total download size: 4.6 M Is this ok [y/N]: Exiting on user Command Complete!
What am I doing wrong?
Jack
Howdy,
Also, if git's not installed, you may just need to install that package. You can do that with "apt-get install git" or "yum install git", depending on your distro.
-Eric
Thanks Andrechek! I tried everything you suggested until it finally worked. It's strange that I couldn't use the link to the GZ file directly in the virtualmin ftp or http field, but had to click & download it, then upload it. It's always nice when a 5yo comment can still salvage your day! ;)
I take great pride in my humility.
Thanks again for you help guys, I was able to install git successfully using a different console app.