Migrate Stash 4.7.1 to Bitbucket 5.7.1

Stefan Hüffer February 14, 2018

I copied the home directory from the 4.7.1-Installation and started bitbucket 5.7.1.

My Stash 4.7.1  has MySQL database. The new 5.7.1 installation shows me that database is managed internally. 

I can access the webpage at URL:7990 but everything is empty. 

How can I transfer/migrate my projects? 

3 answers

1 accepted

1 vote
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 15, 2018

Hi Stefan,

When installing Bitbucket 5.7.1, all you need to do is point it to the existing home directory, which will be upgraded automatically. It sounds like 5.7.1 didn't detect the existing home directory and therefore initialised a new setup.

Check the Bitbucket Server Upgrade Guide for details - specifically it sounds like you may not have entered the path of the existing home directory when you ran the installer.

Cheers,

Christian

Premier Support Engineer
Atlassian

Stefan Hüffer February 16, 2018

Hi Christian,

there's a running stash 4.7.1 application with MySQL database which is names "stash".

I've a new machine and I simply want to bring that stuff to that machine (with latest version for sure which is Butbucket 5.7.1.

BB 5.7.1 on that machine works but there is no opportunity to tell BB which database or password to use. How can I proceed?

I think the homedirectory is installed correctly now. 

greets

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2018

Hi Stefan,

You should first migrate the 4.7.1 to the new machine, verify it's working, and then upgrade to 5.7.1 on the new machine.

We've got instructions on migrating to another machine at Migrating Bitbucket Server to another server

Cheers,

Christian

Premier Support Engineer

Atlassian

Stefan Hüffer February 19, 2018

Thanks Christian.

I copied

  • the Home directory, 
  • Stash (/opt/stash)
  • and /var/lib/mysql  

MySQL Service is running without no errors. But when I access my Stash with Browser I get

 

A fatal error has occurred

The following problem occurred which prevents Atlassian Stash from starting correctly:

  • SpringMVC dispatcher [springMvc] could not be started
0 votes
Stefan Hüffer February 19, 2018

.   

0 votes
Stefan Hüffer February 16, 2018

        .

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events