The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error post installing STASH 3.4.0

sameer135
November 1, 2014

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2014

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

0 votes
Dani Rodni
November 13, 2014

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 !]>

0 votes
Marcin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2014

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.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events