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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Git was not found on the PATH. Install Git 2.31.0+, and restart.

Edited

getting a Fatal error and showing  Sidecar is unavailable. 

Based on KB article reference :

https://confluence.atlassian.com/bitbucketserver/troubleshoot-sidecar-startup-1189490619.html?utm_campaign=in-app-help&utm_medium=in-app-help&utm_source=stash 

this is what I found in Mesh logs. where it is mentioned "Git was not found on the PATH. Install Git 2.31.0+, and restart".

 

2023-03-03 05:55:27,250 INFO  [main] - c.a.b.mesh.boot.MeshApplication Starting MeshApplication using Java 17.0.6 on 170-187-233-6.ip.linodeusercontent.com with PID 7719 (/opt/atlassian/bitbucket/atlassian-bitbucket-8.8.2/app/WEB-INF/mesh/mesh-app.jar started by atlbitbucket in /bitbucket/mesh)

2023-03-03 05:55:27,256 INFO  [main] - c.a.b.mesh.boot.MeshApplication The following 1 profile is active: "sidecar"

2023-03-03 05:55:28,234 INFO  [main] - c.a.b.m.l.DefaultHomeSubdirectoryResolver Using '/bitbucket/caches' as the 'caches' directory

2023-03-03 05:55:29,742 WARN  [main] - o.s.c.a.AnnotationConfigApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationClientInterceptor' defined in com.atlassian.bitbucket.mesh.grpc.MeshGrpcWiring$AuthenticationWiring: Unsatisfied dependency expressed through method 'authenticationClientInterceptor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticator' defined in com.atlassian.bitbucket.mesh.grpc.MeshGrpcWiring$AuthenticationWiring: Unsatisfied dependency expressed through method 'authenticator' parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationConfig' defined in com.atlassian.bitbucket.mesh.MeshCoreWiring: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bitbucket.mesh.config.ApplicationConfig]: Factory method 'applicationConfig' threw exception; nested exception is java.lang.IllegalStateException: Git was not found on the PATH. Install Git 2.31.0+, and restart.

2023-03-03 05:55:29,775 ERROR [main] - o.s.boot.SpringApplication Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationClientInterceptor' defined in com.atlassian.bitbucket.mesh.grpc.MeshGrpcWiring$AuthenticationWiring: Unsatisfied dependency expressed through method 'authenticationClientInterceptor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticator' defined in com.atlassian.bitbucket.mesh.grpc.MeshGrpcWiring$AuthenticationWiring: Unsatisfied dependency expressed through method 'authenticator' parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationConfig' defined in com.atlassian.bitbucket.mesh.MeshCoreWiring: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bitbucket.mesh.config.ApplicationConfig]: Factory method 'applicationConfig' threw exception; nested exception is java.lang.IllegalStateException: Git was not found on the PATH. Install Git 2.31.0+, and restart.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 06, 2023

Welcome to the Atlassian Community!

This is what it says it is, there is no install of git in the path the environment has.  

If you do have git installed, then look at the path variable in the environment Bitbucket is running in (it won't include your git install). 

If you are not sure, then try logging into the server and running git on the command line, ideally "git -v" which should confirm what version you have there (hopefully 2.31.0+)

If you have a decent OS, then try "which git", which will return the location of the one you just asked for the version of, and that should tell you what to add to the environment path.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events