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

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 vote

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 

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

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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

77 views 0 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you