Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 votes
Answer accepted

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
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

931 views 2 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you