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

Upgrade bitbucket server OS to Centos 7.9.2009 and issue on startup

I upgraded OS to Centos 7.9.2009 and, when restart Bitbucket (rel. 7.6.5), I got the error:

2021-05-18 15:27:05,875 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
:: Spring Boot :: (v2.2.6.RELEASE)

2021-05-18 15:27:05,997 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on myserver with PID 6661 (/opt/atlassian/bitbucket-7.6.5/app/WEB-INF/classes started by atlbitbucket in /)
2021-05-18 15:27:05,998 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to default profiles: default
2021-05-18 15:27:06,583 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 7.6.5 (f776446 built on Tue Mar 23 05:34:03 CET 2021)
2021-05-18 15:27:06,584 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Red Hat, Inc. OpenJDK 64-Bit Server VM 1.8.0_292-b10
2021-05-18 15:27:07,739 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 3.741 seconds (JVM running for 4.696)
2021-05-18 15:27:10,821 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/bitbucket
2021-05-18 15:27:12,728 ERROR [spring-startup] com.zaxxer.hikari.pool.HikariPool bitbucket - Exception during pool initialization.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 0 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at com.mysql.jdbc.Util.handleNewInstance(
at com.mysql.jdbc.SQLError.createCommunicationsException(
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(
at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(
at com.mysql.jdbc.MysqlIO.doHandshake(
at com.mysql.jdbc.ConnectionImpl.coreConnect(
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(
at com.mysql.jdbc.ConnectionImpl.createNewIO(
at com.mysql.jdbc.ConnectionImpl.<init>(
at com.mysql.jdbc.JDBC4Connection.<init>(
at com.mysql.jdbc.Util.handleNewInstance(
at com.mysql.jdbc.ConnectionImpl.getInstance(
at com.mysql.jdbc.NonRegisteringDriver.connect(
at com.zaxxer.hikari.util.DriverDataSource.getConnection(
at com.zaxxer.hikari.pool.PoolBase.newConnection(
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(
at com.zaxxer.hikari.pool.HikariPool.<init>(
at com.zaxxer.hikari.HikariDataSource.<init>(
at com.atlassian.stash.internal.hikari.ExtendedHikariDataSource.<init>(
at com.atlassian.stash.internal.hikari.HikariDataSourceFactory.create(
at javax.servlet.GenericServlet.init(
... 100 frames trimmed
Caused by: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(
... 26 common frames omitted

This is what I can see when connected to http://myserver:7990 

atlassian bitbucket 2.png

Mysql version is 5.7.34 upgraded with OS upgrade

MysqlConnector version is 5.1.46

Bitbucket start on server as a service with dedicated user.

Before OS upgrade all work well.

In the same server I have Jira that works well, but I can't see anymore the links between Jira and Bitbucket on solved issues.

Please help me, I red a lot on community but nothing solve the problem.


1 answer

1 accepted

0 votes
Answer accepted
Charlie Misonne Community Leader May 18, 2021

Hi Stefano, Welcome to the Atlassian Community!

That looks like an SSL error. Does your database use SSL?

If it doesn't try to append "useSSL=false" to your database URL. Example: jdbc:mysql://localhost/bitbucket?useSSL=false


Your answer resolved my trouble!


Like Charlie Misonne likes this
Charlie Misonne Community Leader May 19, 2021

Glad to hear that! You're welcome.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

84 views 2 3
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