I'm installing Bitbucket 5.4 on a google cloud compute instance. I'm following the list of dependencies found here:
https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html
I installed git lfs:
[root@server /]# curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bashDetected operating system as centos/7.Checking for curl...Detected curl...Downloading repository file: https://packagecloud.io/install/repositories/github/git-lfs/config_file.repo?os=centos&dist=7&source=scriptdone.Installing pygpgme to verify GPG signatures...Loaded plugins: fastestmirrorgithub_git-lfs-source/signature | 836 B 00:00:00 Retrieving key from https://packagecloud.io/github/git-lfs/gpgkeyImporting GPG key 0xD59097AB: Userid : "packagecloud ops (production key) <ops@packagecloud.io>" Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab From : https://packagecloud.io/github/git-lfs/gpgkeygithub_git-lfs-source/signature | 1.0 kB 00:00:00 !!! github_git-lfs-source/primary | 3.5 kB 00:00:00 Loading mirror speeds from cached hostfile * base: repo1.ash.innoscale.net * epel: mirror.us.leaseweb.net * extras: mirror.wdc1.us.leaseweb.net * updates: reflector.westga.edugithub_git-lfs-source 32/32
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repo1.ash.innoscale.net
* epel: mirror.us.leaseweb.net
* extras: mirror.wdc1.us.leaseweb.net
* updates: reflector.westga.edu
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-42.el7 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-42.el7.noarch
--> Processing Dependency: libxml2-python for package: yum-utils-1.1.31-42.el7.noarch
--> Running transaction check
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_2.3 will be installed
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================
Package Arch Version Repository Size
===================================================================================================================
Installing:
yum-utils noarch 1.1.31-42.el7 base 117 k
Installing for dependencies:
libxml2-python x86_64 2.9.1-6.el7_2.3 base 247 k
python-kitchen noarch 1.1.1-5.el7 base 267 k
Transaction Summary
===================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 631 k
Installed size: 3.2 M
Downloading packages:
(1/3): libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm | 247 kB 00:00:00
(2/3): yum-utils-1.1.31-42.el7.noarch.rpm | 117 kB 00:00:00
(3/3): python-kitchen-1.1.1-5.el7.noarch.rpm | 267 kB 00:00:00
-------------------------------------------------------------------------------------------------------------------
Total 1.2 MB/s | 631 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-kitchen-1.1.1-5.el7.noarch 1/3
Installing : libxml2-python-2.9.1-6.el7_2.3.x86_64 2/3
Installing : yum-utils-1.1.31-42.el7.noarch 3/3
Verifying : libxml2-python-2.9.1-6.el7_2.3.x86_64 1/3
Verifying : yum-utils-1.1.31-42.el7.noarch 2/3
Verifying : python-kitchen-1.1.1-5.el7.noarch 3/3
Installed:
yum-utils.noarch 0:1.1.31-42.el7
Dependency Installed:
libxml2-python.x86_64 0:2.9.1-6.el7_2.3 python-kitchen.noarch 0:1.1.1-5.el7
Complete!
Generating yum cache for github_git-lfs...
Importing GPG key 0xD59097AB:
Userid : "packagecloud ops (production key) <ops@packagecloud.io>"
Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
From : https://packagecloud.io/github/git-lfs/gpgkey
The repository is setup! You can now install packages.
[root@server /]# yum install git-lfs
Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: repo1.ash.innoscale.net * epel: mirror.us.leaseweb.net * extras: mirror.wdc1.us.leaseweb.net * updates: reflector.westga.eduResolving Dependencies--> Running transaction check---> Package git-lfs.x86_64 0:2.3.1-1.el7 will be installed--> Processing Dependency: git >= 1.8.2 for package: git-lfs-2.3.1-1.el7.x86_64--> Running transaction check---> Package git.x86_64 0:1.8.3.1-12.el7_4 will be installed--> Processing Dependency: perl-Git = 1.8.3.1-12.el7_4 for package: git-1.8.3.1-12.el7_4.x86_64--> Processing Dependency: perl(Git) for package: git-1.8.3.1-12.el7_4.x86_64--> Running transaction check---> Package perl-Git.noarch 0:1.8.3.1-12.el7_4 will be installed--> Finished Dependency ResolutionDependencies Resolved=================================================================================================================== Package Arch Version Repository Size===================================================================================================================Installing: git-lfs x86_64 2.3.1-1.el7 github_git-lfs 2.2 MInstalling for dependencies: git x86_64 1.8.3.1-12.el7_4 updates 4.4 M perl-Git noarch 1.8.3.1-12.el7_4 updates 53 kTransaction Summary
===================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 6.7 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): perl-Git-1.8.3.1-12.el7_4.noarch.rpm | 53 kB 00:00:00
(2/3): git-1.8.3.1-12.el7_4.x86_64.rpm | 4.4 MB 00:00:00
(3/3): git-lfs-2.3.1-1.el7.x86_64.rpm | 2.2 MB 00:00:00
-------------------------------------------------------------------------------------------------------------------
Total 6.0 MB/s | 6.7 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-Git-1.8.3.1-12.el7_4.noarch 1/3
Installing : git-1.8.3.1-12.el7_4.x86_64 2/3
Installing : git-lfs-2.3.1-1.el7.x86_64 3/3
Git LFS initialized.
Verifying : git-1.8.3.1-12.el7_4.x86_64 1/3
Verifying : git-lfs-2.3.1-1.el7.x86_64 2/3
Verifying : perl-Git-1.8.3.1-12.el7_4.noarch 3/3
Installed:
git-lfs.x86_64 0:2.3.1-1.el7
Dependency Installed:
git.x86_64 0:1.8.3.1-12.el7_4 perl-Git.noarch 0:1.8.3.1-12.el7_4
Complete!
But when I try to install bitbucket, I get the following message:
Unsupported Git version found [1.8.3.1]. Please upgrade Git to a supportedversion before installing Bitbucket.See http://go.atlassian.com/installgit for more information.NOTE: If you proceed without a working Git, Bitbucket won't be able to startafter installation until a working Git is found.If you proceed without a working Git, Bitbucket won't be able to start after installation. Are you sure you want to continue?Yes [y, Enter], No [n]