Forums

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

Invalid git executable: Unable to get git version

Kai Dawidowski August 16, 2024

I have the same problem described at:
https://community.atlassian.com/t5/Fisheye-Crucible-questions/Failed-to-setup-git-executable/qaq-p/112217

When I want to set the Git executable on Crucible which runs on Windows Server 2022 Standard I get the following error message:
"Invalid git executable: Unable to get git version"

At the link above, the proposed solutions which are not marked as accepted answer didn't help and the proposed solution which is marked as accepted answer (setting up swap area) is not really understandable. I don't understand where and what I have to set up.

 

The windows account NetworkService which are used by Crucible has the required rights for the path "...\Git\bin".

When I run "git --version" with CMD in that folder I get the correct version.

I also downgraded git to version 2.39.2 which should be supported by Crucible:
https://confluence.atlassian.com/crucible/supported-platforms-298977375.html

By the installation of Git I followed the instructions at:
https://confluence.atlassian.com/crucible/installing-and-upgrading-git-679608571.html

But nothing helped.

Could you help me, please?

1 answer

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
May 20, 2025

Hi @Kai Dawidowski 

 

I know this is almost a year old, I hope you have found the solution to your problem.  However if not, how are you defining the path to the git executable in crucible/fisheye's config?  

 

Kai Dawidowski May 21, 2025

Hi @Shawn Doyle - ReleaseTEAM 

Thank you for your answer! No, I have not been found a solution. On the administration site I open "Server Settings" and click on "Edit Details" under "Git executable". Then I enter the program path of my git installation into the text box named "Git executable". The path I enter is following:

C:\Entwicklertools\Versionsverwaltung\Git\bin\git.exe

I really want to use Crucible but as long as that setting does not work that can't happen.

Shawn Doyle - ReleaseTEAM
Community Champion
May 21, 2025

From a command prompt on the server running Crucible, what happens when you run that same command? C:\Entwicklertools\Versionsverwaltung\Git\bin\git.exe

That would verify the path is correct.

2nd try just adding the path to git, don't include the git.exe command. C:\Entwicklertools\Versionsverwaltung\Git\bin in the Crucible config.

 

 

Kai Dawidowski May 22, 2025

@Shawn Doyle - ReleaseTEAM 

Thank you for your suggestions!

Recording to your first suggestion:
When I do this then all commands of git with their explanation will be listed.

Recording to your second suggestion:
When I do this I get this error message: "C:\Entwicklertools\Versionsverwaltung\Git\bin does not exist or can not be accessed."

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.8.14
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events