git was not found on the PATH for Stash

When I try to use stash I get the message

'A fatal error has occurred

The following problem occurred which prevents Atlassian Stash from starting correctly:

git was not found on the PATH for Stash. Please add git version 1.7.6 or higher to the PATH and restart Stash.'

But I have git installed and in the PATH. PATH is exported and git should be available for Stash. Only one version of git is installed. I've restarted Tomcat several times and reinstalled git with empty home directory and database. The result is the same.

2 answers

Hi, is git installed by the same user running Stash? I'm just wondering if the PATH variable does get to Stash. Also make sure that the user running Stash has execute permissions to the git path.

Also, what version of Stash are you using?


This error can happens if Stash user has no rights to run the git command.

You can create a simbolic link of git binary on /bin folder, as the /bin folder helds all binaries that can be executed by all users.

If you already has the GIT binary on /bin give it 755 permission.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

156 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you