Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Upgrading Bamboo from 5.12 on Postgres 8.4 to current Bamboo/Postgres

I am trying to migrate and upgrade an older Bamboo 15.12 installation from an old Postgres 8.4 database, but I am having issues.

I am using Postgres pg_dump and pg_restore to move the database as a first step, because upgrading Bamboo requires a newer version of Postgres.  But I cannot get the Bamboo code to work with the restored database on the newer version of Postgres.  With Bamboo pointed at the old db it starts fine, when I point Bamboo at the new db, I get a bootstrap error - "Bamboo bootstrap failed: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian".

I've tried a bunch of different pg_dump and pg_restore options, but it seems like I am missing something.

Are there any written docs for Postgres specifically to make this happen?  I have looked some on the site, but the only think I can find are general steps.

1 answer

0 votes
Robert W Atlassian Team May 14, 2018

Jerry,

Is your new instance Bamboo 5.12 or is it a newer version?

If you're using {{pg_restore}} onto a more recent version of Bamboo, it will be missing key information for the upgrade.

 

Please try the following:

  1. Install/configure Bamboo 5.12 in new environment pointing at the new Postgres instance
  2. Stop new Bamboo instance
  3. pg_restore onto the new Bamboo database on new Postgres instance
  4. Install Bamboo 6.5 in a new <bamboo-install> directory
  5. configure this instance to point at the same <bamboo-home> directory from step 1.
  6. Start Bamboo 6.5

Bamboo will then begin upgrading the data in the database to the latest version of Bamboo.

 

If this fails, please let me know and we'll open a support case so we can go over the logs of your install to see why the upgrade is failing.

 

Cheers, Robert
Dev Tools Support | Atlassian

Hi Robert,

Thank you for your reply, but I am not sure I can do much with it.  I probably need to describe my setup a little more.

The old/current system is running on boxes that are being replaced.  The old systems contain version 5.12 of Bamboo, using Postgres 8.4.

I am trying to start with just moving/transplanting Bamboo onto the new box, pointing at what I thought was a pg_dump/pg_restore of the Postgres data into version 10.

I am trying to get the data onto the current Postgres, and then get Bamboo up to the current version.  It is my understanding that the old version of Postgres (8.4) cannot be used when upgrading Bamboo - something to do with case insensitivity that the old version does not support.

So - new Bamboo pointing at the old Postgres, looks fine.  When I point it at the new Postgres, then I get the bootstrap failure error.

I used pg_dump -Fc to export from the old system, and pg_restore to import the data on the new system.

I hope this helps.  Thanks for your time and effort!

-Jerry

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

256 views 4 6
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