git was not found on the PATH

Stash v1.2.2

git --version => git version 1.7.9.3

java -version => java version "1.6.0_26"

error:

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

i tried the fix found in https://answers.atlassian.com/questions/82492/stash-requires-git-1-7-6-but-git-1-7-11-is-installed ( adding the stash-config.properties file with the key ) and I have also adjusted and readjust the path environment variable to no avail.

I created a special stash user and I can manually run the git commands as that user without an issue, but the stash process itself will not see git installed or as the correct version.

Any help resolving this would be great. My company is trying out several different varieties of these tools for internal use.

1 answer

1 accepted

0 vote

Hi Brian,

My guess is that It sounds like we'll have to have a look at your logs to figure out why things are not working for you. Can you open a support request on https://support.atlassian.com?

Cheers,

Michael

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,745 views 1 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