Migrate from 7.18 to Latest

Gordon Taylor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 10, 2024

Hello, 

 

I'm looking for a migration path from Bitbucket Data Center 7.18 on Windows (unsupported) to Bitbucket Data Center Latest on Linux.

This is a production environment.  We'd like to build a parallel environment that we can 'cut over' to.

Primary concerns are

1. We want to ensure our upgrade path is sound (7.18-9.2).  We're concnerned that 9.2 is Cluster only
2. When building the parallel environment we'd like to have both instanced licensed and ready to cutover (this can be accomplished with a temp license)
3. We have some apps to install 
4.  We'd like to change our BB URL FQN to match our wildcard cert.  Will this cause a problem?

-Webhook to Jenkins for Bitbucket Server
-Office 365 Connector
-Awesome Graphs for Bitbucket Server
-Bitbucket Look and Feel Plugin
-SSO for Atlassian Data Center
-Two Factor Authentication (2FA) for Bitbucket
-All Pull Requests
-Needs Work
-merge check
-OpenAPI Viewer for Bitbucket

1 answer

0 votes
Aman Shrivastava
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2024

Hi @Gordon Taylor

I would suggest you perform this activity in two maintenance windows. Segregating activities will help quickly narrow down the issue.

  • First Activity: Migrate Bitbucket 7.18 from windows machine to Linux machine and let the users use for 1-2 weeks.
    • Kindly review Migrate Bitbucket Server from Windows to Linux KB article for the steps involved in the migration of Bitbucket instance from windows to linux.
    • If you want to run both windows and linux instance in parallel and windows acting as an actual production instance, then you would need to ensure that Bitbucket instance running on Linux machine doesn't interact production steps. For this, you need to execute steps 3.3 to 3.9 mentioned in Setup Staging Server Environments. However, for the actual migration, you will have to copy the fresh data from production Bitbucket to this Linux server. 
  • Second Activity: Upgrade Bitbucket from 7.18 to 9.2.
    • Before upgrading, verify the supported platforms for the 9.2 version from the KB article Supported Platforms. It will help you find the compatible version of DB, GIT server and client, OS, JAVA, etc.
    • You may find the upgrade-related procedure in this KB article. Bitbucket Upgrade Guide
    • Kindly check the release notes of the 9.2.X version from this KB article. Bitbucket 7.21.X Release Notes
    • Before upgrading in production, kindly make sure you have a consistent backup of the complete Bitbucket. Detailed steps mentioned in Bitbucket Upgrade Guide
    • Upgrading from a version older than Bitbucket 9 disables all user-installed apps on startup. Be sure to update your own apps and check the Atlassian Marketplace to ensure 3rd-party apps are compatible with Bitbucket Server 9 before upgrading. If they are not supported then it is possible that they don't function after the upgrade.
    • As stated above, the upgrade procedure should be tested in a test/staging environment. If your test environment isn't already set up, you can do it by following the instructions in the KB article. Setup Staging Server Environments
    • Bitbucket 7.18 comes with bundled Elasticsearch, but as of 7.21.X, we have stopped bundling Elasticsearch and are instead using OpenSearch as a bundled search server.


In case of any confusion, please raise a support ticket at Support portal.

Regards,
Aman

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events