I have installed Git 1.7.11 which worked fine with Stash until today. An hour ago I restarted Tomcat and now I get the message below. My path is correct and there is no other version on my server (Ubuntu)
Has anybody an idea?
The following problem occurred which prevents Atlassian Stash from starting correctly:
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, create stash-config.properties (or edit the current one if it already exists) and add the following line:
This will configure Stash to use /usr/bin/git always, rather than allowing it to try and detect the one to use.
For our reference, did you upgrade your Stash version while you were restarting? Is that why you restarted? If so, which version of Stash are you running now?
thanks for the hint. I tried it and it worked - but not very long. After the next restart I had the same problem again.
The fault was that I run several Atlassian applications in one Tomcat. Tyler from Atlassian gave me the hint that this causes problems.
Now I started stash in an own tomcat and it seems to work now.
Anyway thanks for your help.
This works if you have to use RHEL 6.3 and are unable to upgrade git from 1.7.1. Install a newer version of GIT from source (http://git-scm.com/book/en/v2/Getting-Started-Installing-Git#Installing-from-Source), and use this method to tell Stash to not use the installed version. Thank You @Bryan Turner ! Adam Martin - Isos Technology
type this in the terminal:
It should produce something like that:
If not, try
locate git |grep bin
find / -name git |grep bin
You'll find the git executable.
next you may print out PATH
Probably this is a problem, you have no path of git executable in $PATH.
edit /etc/profile and add:
If the result of which git is the /usr/bin/
The command source/etc/profile shoud have a space between source and the path to /etc/profile.
Also you can remove the old version of git from the server with:
sudo apt-get remove git git-svn sudo apt-get build-dep git-core
and install only the up to date on using the steps found on http://blog.jasonmeridth.com/2012/07/11/using-latest-version-of-git-on-ubuntu.html.
Please give it a try and let me know how it goes
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
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!
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