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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2018


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!


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events