I found this question https://answers.atlassian.com/questions/55689 which is quite the same as mine, but it seems that we don't have the same context.
I have installed Stash and was working correctly for some months. It is installed on a local machine to make tests before launching it on a real server. I picked option 2 during installation so that my PATH was added the path to Git/cmd.
I went on vacation, during this time no one did anything on the server, and when I came back Stash raised the following error:
The following problem occurred which prevents Atlassian Stash from starting correctly:
I tried to modify my PATH environment var, tried to uninstall / install again Git, but no way, it doesn't work... I try to type "git --version" in my windows command prompt, and I alsways get "fatal: open /dev/null or dup failed: no such file or directory". I get the same message on Git bash.
So it seems that it is an environment issue, but I can't find out what it is ! Maybe the command prompt is corrupted? Does anyone has already seen that issue ?
Can anyone help or guide me?
Sounds like someone HAS done something to your server - they've probably re-installed git or upgraded it and answered 1 or 2 for the installation question. Or they've messed with the path.
You'll need to locate the correct git.exe on your system and adjust your path so that it is the first one to be included (ideally, I'd bin any others found too)
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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