I have decided to upgrade my old 7.1.0 instance to fresh 7.4.0.
I followed the upgrade guide. When I stared the installer (linux shell), :
--------------------------------
sudo ./atlassian-bitbucket-7.4.0-x64.bin
Starting Installer ...
Bitbucket 7.4.0 installation wizard
Would you like to install or upgrade an instance?
Install a new instance [1, Enter], Upgrade an existing instance [2]
2
Upgrade Bitbucket 7.4.0
What type of instance are you looking to upgrade?
Upgrade an existing Server instance [1, Enter], Upgrade an existing Data Center instance [2], Upgrade an existing Smart Mirroring instance [3]
1
Where should Bitbucket be installed?
Select the folder where you would like Bitbucket 7.4.0 to be installed, then
click Next.
[/opt/atlassian/bitbucket/7.4.0]
/app/bitbucket
The target installation directory is not empty.
Where should Bitbucket be installed?
Select the folder where you would like Bitbucket 7.4.0 to be installed, then
click Next.
[/app/bitbucket]
----------------------------------------
The upgrade script stucked here and constantly returning to this question even if I have chosen the upgrade option at start.... The upgrade guide mentioned that I have to locate the old installation home, but how to upgrade if the installer claims that the old directory (what I want to upgrade) is not empty?
Hey Josef
Very good question on the upgrade with the installer!
So let set some terminology before proceeding:
As all you instance information is stored in Bitbucket home the upgrade is actually setting up new binaries and then pointing them to existing Bitbucket home. Which means that you need to set up 7.4.0 binaries side by side into empty directory (and not over the old binaries!) with 7.1.0. And then point it to existing Bitbucket home directory.
So sequence will be the following:
sudo ./atlassian-bitbucket-7.4.0-x64.bin
Starting Installer ...
Bitbucket 7.4.0 installation wizard
Would you like to install or upgrade an instance?
Install a new instance [1, Enter], Upgrade an existing instance [2]
2
Upgrade Bitbucket 7.4.0
What type of instance are you looking to upgrade?
Upgrade an existing Server instance [1, Enter], Upgrade an existing Data Center instance [2], Upgrade an existing Smart Mirroring instance [3]
1
Where should Bitbucket be installed?
Select the folder where you would like Bitbucket 7.4.0 to be installed, then
click Next.
[/opt/atlassian/bitbucket/7.4.0]
/path_to_installation/7.4.0
Default location for Bitbucket home directory
The location for Bitbucket data.
Please provide the location of your existing home directory, where your
repositories, plugins, and other data are stored.
Be sure to STOP your current instance and create a backup before proceeding.
So you need to stop the instance if you didn't and then past the path of the directory with the application data (which should be different from the directory with the installation binaries).
Kind Regards
Anton
Thank you very much, now it has been upgraded successfully and working!
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.