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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Bamboo Upgrade

System: Windows Server 2012 R2
DB Server (External): Microsoft SQL
Previous Bamboo: v6.5
New Bamboo: v6.10

Initial Steps Before Upgrade: I made a backup of the xml-data folder (contains builds and configuration). I also made a database export using the built-in tool from Bamboo. In hindsite I think this was the wrong way to keep a backup since I use an external SQL Server.

Problem: I have installed Bamboo 6.10. I run the "Start in Console" and follow the setup instructions through the web browser (custom setup). Everything is fine until I reach the Database setup/connection portion. I enter the Type of database (Microsoft SQL), the driver class name, the direct JDBC connection URL, the user name, and the password. I DO NOT check "Overwrite existing data" as I want to keep my database intact. When I press "Continue" I am given a red error at the top of the page that states "Database contains existing data.". It will not let me proceed and I do not want to overwrite my database, I want to keep my existing Bamboo DB.

How do I get past this? How do I get everything to upgrade without a complete wipe of my database?

I began the process of upgrading Bamboo from version 6.5 to 6.10. I ran an export backup

1 answer

1 vote
edwin Community Leader May 14, 2020

Hi @Chris ,

Once you have the new Bamboo instance configured, you'll update bamboo-init.properties file of the new installation to point to the current home directory. When the new Bamboo starts up, it'll read DB information from there, connect to and update the database tables.

You won't have to go through the install wizard in the UI. Once it's started up, Bamboo should be upgraded.

More information can be found in the Bamboo upgrade guide

What is the specific file that it is looking for within the home directory? I thought I had it looking at the correct directory, but it isn't doing anything different on setup.

edwin Community Leader May 15, 2020

It's looking for a bamboo.cfg.xml

Thank you.
I updated it and am getting an error now.


Edit: Removed error (too long). See screenshots of error in later post. 

Removed duplicate info.

I have found and setup the bamboo.cfg.xml that I believe to be the correct one. I now get an error. I have tried posting the error a few times but the post always disappears.

Edit: Looks like my other posts have reappeared.

Here are two images of the stacktrace.Bamboo Error P1.PNGBamboo Error P2.PNG

edwin Community Leader May 20, 2020

Hi @Chris ,

The error seems to be related to Crowd, although i'm not finding much information on the error. It's possible data got corrupted. Since you have a backup, I'd recommend reinstalling the previous version to a separate database, importing the data and running the upgrade again. It should be a smooth process since you're on a newer version of Bamboo.

So after restoration, download the new version, migrate over custom configurations to the new installation (memory e.t.c), set home directory to current home directory, stop the current service, update the service so it points to the new installation and start up the service.

Thank you for the detailed response.
I am not sure what Crowd is. So if I reinstall the previous version, why do I wanted a new database vs the one that currently exists?

edwin Community Leader May 28, 2020

Crowd is one of the Atlassian tools used as a centralized user management. You could try that, but your export and the current database aren't in the same state after the upgrade attempt. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

489 views 5 7
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