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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,014 views 26 12
Join discussion

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