Greetings,
I am in the process of upgrading to a new set of Bitbucket (all Centos7) servers. I am starting off by recreating the old server setup in the new one and then upgrading the version (4.13 > 5.9 or higher). I am using Postgres 9.2.23 right now and the plan is to move to 10+.
I have already moved the data from the old server to the new one and it starts up just fine.
I am trying to move the db into the new server with a .sql backup file and I am having no luck in completing this effort.
Since this isn't working I'm considering the following:
I am really liking the migration option but I cannot simply change the service over permenantly until i have upgraded and tested everything on the new set up.
Sure, no problem @voyager8jlh!
Thanks, I am getting ready to upgrade our version from V4.13 to V5.10.1 and was wondering if there would be any issues. This answered my questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @devittward,
An upgrade directly to the latest version is, in general, always possible. I'm not sure what happened exactly, but I'm glad it's all working now!
Caterina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This issue has been resolved.
I installed Postgresql-9.5, then moved a restored a .dump version to the new server.
The bitbucket upgrades of a higher version did not workon start up. The error was that the table names were wrong, or that the configured database was not compatible. My solution was to incrementally upgrade starting with 5.0.5> 5.3.6 >5.5.5 > 5.8.3> 5.10.1 and 5.11.1. Sure this might be overkill but it was tired of the database errors.
The root cause was that the table names were not the same in the pre 5.x.x versions and threw an error each time I attempted to upgrade.
Perhaps once I upgraded to 5.0.5 I could have made a bigger jump but oh well. It is finished.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @devittward,
What @Shankar Asam {Appfire} suggested is a valid starting point (Thanks!).
However, we always recommend to restore both the home directory and the database from a backup taken at the same time. This is to make sure that the data are 100% consistent.
The change of the jdbc url in the bitbucket.properties is still required and you want to always double check that this is done to avoid to upgrade the database of the current server by mistake.
We also have a guide that covers How to Migrate Bitbucket Server to another server, this contains various links to the necessary checks and prerequisites (e.g. Supported Platforms).
An alternative could be to backup the data from the current instance and restore them in the target one (see Data recovery and backups for options).
Cheers,
Caterina - Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to migrate the databases for bitbucket, you need to do the following;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.