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?
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.