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 votes
Answer accepted

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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

282 views 0 12
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