java.io.IOException - Cannot run program "git": java.io.IOException: error=2, No such file or directory

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When the following ERROR appears when trying to add a git repository:

Exception executing command "git ls-remote -h <REPO> " java.io.IOException: Cannot run program "git": java.io.IOException: error=2, No such file or directory 

com.atlassian.fisheye.plugins.scm.utils.process.ProcessException - 
java.io.IOException: Cannot run program "git": java.io.IOException: 
error=2, No such file or directory

java.io.IOException - Cannot run program "git": java.io.IOException: error=2, No such file or directory

java.io.IOException - java.io.IOException: error=2, No such file or directory

Cause

Fisheye can't find the GIT Executable: http://confluence.atlassian.com/display/FISHEYE/Git+Client

Resolution

Install git on the Server where Fisheye is installed:

  • Debian Like:
    apt-get install git
  • RedHat Like:
    yum install git

 

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.