After restarting our bamboo instance we are getting the below errors and are unable to login to bamboo. We have not upgraded or made any changes recently.
Bamboo home directory comes from version 6.2 or older (build number ) but database does not contain build number. I wondering what the best solution is to resolve this issue.
We are currently running version 6.6.1.
I see the below error in my bamboo server logs. Is it possible to just add the build version into the db table? This instance has been up for over a year before it was rebooted. I was hoping to get the instance back up and running.
2020-02-18 14:50:26,638 FATAL [localhost-startStop-1] [BuildNumberInHomeMatchesDatabase] Bamboo home directory comes from version 6.2 or older (build number ) but database does not contain build number
2020-02-18 14:50:26,671 FATAL [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 3 failed
com.atlassian.bamboo.upgrade.exception.ValidationException: Your Bamboo instance could not start because Bamboo home directory does not match database. Contact Atlassian Support at https://support.atlassian.com
2020-02-18 14:50:26,673 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: Your Bamboo instance could not start because Bamboo home directory does not match database. Contact Atlassian Support at https://support.atlassian.com
Its running on the correct version. I see in the logs every time over the last year or so version 6.6.1 starting. I saw in some docs that the db validation is checking the table bandana in the bamboo db. When I check I see the following:
bamboo=# select * from BANDANA where BANDANA_KEY = 'bamboo.db.version';
bandana_id | build_id | bandana_key | serialized_data
I apparently don't have a db version set in the bamboo db table.
Is it possible to insert the db version number into the db to get past the DB validation in bamboo?
Its a local Postgres db on the bamboo server. There is only the bamboo database, so I'm certain its not pointing to the wrong database. Previously we were running atlassian bamboo version 5.15.5 and are now running version 6.6.1. Looking at an old test instance running atlassian bamboo 5.10.3, I see there is the same issue with no BANDANA_KEY with bamboo.db.version set. I'm wondering if my problem is related to BAM-18718?
Looks like this maybe related to the upgrade we did in 2018 possibly. I'm guessing then my only option is to completely reinstall the instance from scratch?
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
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