com.cenqua.fisheye.config.ConfigException: Unable to get git version

rahuldanwade
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2015

upgraded to latest version FeCru 3.6.3 facing error while starting server

2015-01-15 16:05:44,891 WARN  - Problem starting repository Flap-Adserver

com.cenqua.fisheye.config.ConfigException: Unable to get git version

        at com.atlassian.fisheye.git.client.GitContext.determineGitVersion(GitCo

ntext.java:92)

        at com.atlassian.fisheye.git.client.GitContext.determineGitVersion(GitCo

ntext.java:69)

        at com.atlassian.fisheye.git.GitRepositoryEngine.ensureCorrectScmVersion

(GitRepositoryEngine.java:47)

        at com.cenqua.fisheye.rep.BaseRepositoryEngine.doStart(BaseRepositoryEng

ine.java:56)

        at com.cenqua.fisheye.rep.RepositoryEngine.start(RepositoryEngine.java:2

05)

        at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:394

)

        at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(Defa

ultRepositoryManager.java:353)

        at com.cenqua.fisheye.config.DefaultRepositoryManager$3$1.call(DefaultRe

positoryManager.java:404)

        at com.cenqua.fisheye.config.DefaultRepositoryManager$3$1.call(DefaultRe

positoryManager.java:400)

        at com.cenqua.fisheye.util.NamedExecution.call(NamedExecution.java:35)

        at com.cenqua.fisheye.config.DefaultRepositoryManager$3.call(DefaultRepo

sitoryManager.java:400)

        at com.cenqua.fisheye.config.DefaultRepositoryManager$3.call(DefaultRepo

sitoryManager.java:396)

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

        at java.util.concurrent.FutureTask.run(FutureTask.java:166)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.

java:1146)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:615)

        at java.lang.Thread.run(Thread.java:701)

Caused by: com.atlassian.utils.process.ProcessNotStartedException: git could not

 be started

        at com.atlassian.utils.process.ExternalProcessImpl.start(ExternalProcess

Impl.java:256)

        at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProce

ssImpl.java:377)

@

                                                              65,2-9         0%

1 answer

1 accepted

0 votes
Answer accepted
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2015

Hi Rahul,

This stack trace doesn't look like it was generated by FeCru 3.6.3, this particular exception would be thrown by GitContext.java:88 in this version.  Ensure you have FISHEYE_INST and FISHEYE_HOME folders separate, otherwise you may be experiencing problems with conflicting jars after upgrade.

Anyway, this particular problem seems to be related with FishEye struggling to locate git binary.   Please ensure it is available in the system path or you provide exact path to git binary, see https://confluence.atlassian.com/display/FISHEYE/Git+client for more details.

Ensure also you have supported version of git, as of 3.6 FishEye supported versions listed here: https://confluence.atlassian.com/display/FISHEYE036/Supported+platforms  Consider upgrading FishEye to 3.7, we started supporting newer versions of git in this release.

Kind regards,
Piotr 

rahuldanwade
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2015

Hi Piotr, fisheye server running on linux.Does it require git executable to be set in fisheye???

Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2015
rahuldanwade
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2015

thanks How can I configure it to the git.exe???

rahuldanwade
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2015

because we dont have .exe in linux so up-to which directory I should configure git executable??

Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 10, 2015

Ensure you have git binary on your system first, by running git --version from command line. If you don't find it install it, depending on your linux distribution using appropiate command. E.g. apt-get install git, yum install git, etc. Once you have it find out where does it live by running which git, it should return full path to git executable, e.g. /usr/local/bin/git. When you have it, follow https://confluence.atlassian.com/display/FISHEYE/Git+client guide: go to admin / Global Settings / Server, click Edit details under Git Executable and enter the path you learned. Hope that helps,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events