Error post installing STASH 3.4.0

We are experiencing the below mentioned error  post installing STASH 3.4.0.

We have Git version 1.9.2-preview20140411.  Please suggest how to resolve this issue.

A fatal error has occurred

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

  • stash.git.notfound[Stash, 1.7.6, 1.8.4.3, 2.0.2, 2.0.3]

3 answers

1 vote

Hi Sameer,

Allow me to add a few comments to Marcin's answer. Probably the easiest, and most guaranteed way to fix this is to tell Stash explicitly where your Git is installed, rather than having it search the path to try and find it.

To do so, in your STASH_HOME/shared, create a file called stash-config.properties (or edit the current one if it already exists) and add the following line:

plugin.stash-scm-git.path.executable=/usr/bin/git

 

The line above corresponds to the directory of your Git binary (change it accordingly). This will configure Stash to use /usr/bin/git always, rather than allowing it to try and detect the one to use as described in our https://confluence.atlassian.com/display/STASH/Stash+config+properties document.

Let us know how you go.

Best regards,
Thiago Bomfim
Atlassian Support

That git version should work, most likely Stash is not finding your git binary at all on startup. Make sure git is on the path, and that you definitely get one of the supported versions when you run "git --version" from the command line. Check the Git install instructions for Stash at in case you've missed a step: https://confluence.atlassian.com/display/STASH/Installing+and+upgrading+Git#InstallingandupgradingGit-InstallorupgradeGitonWindows And if it still doesn't work this is probably a question that's better answered by Support (https://support.atlassian.com) as they will go through the process of getting your log files etc.

I have git installed on my machine see below: C:\Users\USER\Documents\GitHub [master +2 ~0 -0 !]> git --version git version 1.9.4.msysgit.1 C:\Users\USER\Documents\GitHub [master +2 ~0 -0 !]>

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...

2,040 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