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?
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.
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.
updates: mirrors.cat.pdx.edu
Setting up Install Process
Resolving Dependencies
→ Running transaction check
—> Package git.x86_64 0:1.7.4.1-1.el5 set to be updated
→ Processing Dependency: perl-Git = 1.7.4.1-1.el5 for package: git
→ Processing Dependency: perl(Error) for package: git
→ Processing Dependency: perl(Git) for package: git
→ Running transaction check
—> Package perl-Error.noarch 1:0.17010-1.el5 set to be updated
—> Package perl-Git.x86_64 0:1.7.4.1-1.el5 set to be updated
→ Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
Installing:
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 Summary
Install 3 Package(s)
Upgrade 0 Package(s)
Total download size: 4.6 M
Is this ok [y/N]: Exiting on user Command
Complete!
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!