Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Bitbucket fails to start - SpringMVC dispatcher [springMvc] could not be started

Hi There,

I recently upgraded to 8.4.1 without any issues, however, upon a system restart Bitbucket refuses to start again, in the GUI it's throwing this error: 

  • SpringMVC dispatcher [springMvc] could not be started

 

In the logs I am seeing these errors:

2022-10-07 10:44:46,992 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.context.ApplicationContextException: Failed to start bean 'meshController'; nested exception is com.atlassian.bitbucket.repository.RepositoryOfflineException: bitbucket.scm.repository.offline

Caused by: com.atlassian.bitbucket.repository.RepositoryOfflineException: bitbucket.scm.repository.offline
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: localhost/0:0:0:0:0:0:0:1:7777
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused


I haven't found any answers so far that have helped to resolve this, please advise.
Thank you,
Joel

1 answer

1 accepted

Same here, the fix was to downgrade the local version of git.

From 2.38.0 to 2.37.3 in our case

Even the official docs say, that it simply must be higher than 2.31 - nevermind

Have a nice day.

I just encountered this as well. Bitbucket Server 8.3.1 on Ubuntu 18.04, unattended-upgrades upgraded git from the git-core PPA from 1:2.37.3-0ppa1~ubuntu18.04.1 to 1:2.38.0-0ppa1~ubuntu18.04.1. I had to download the source and rebuild the packages, but after installing 2.37.3, Bitbucket Server now appears to start without issue.

@Philipp Schweizer Thank you for documenting your fix, it helped here as well.

Thank you!  I ended up removing the Ubuntu packaged version of Git and downloading and compiling git-2.37.3.  That resolved the issue for me!

https://github.com/git/git/archive/v2.37.3.zip

@Philipp Schweizer @Stephen Leavitt 

@Philipp Schweizer thank you.

We were testing out Git 2.38.0 to see if 2.37.x listed under Supported platforms is a hard limit, and apparently, it is!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.4.1
TAGS
AUG Leaders

Atlassian Community Events