I am trying to follow the instructions at https://gitlab.com/gitlab-org/gitlab-ee/blob/master/doc/update/8.7-ce-to-ee.md to upgrade our GitLab CE server to GitLab EE
Server is CentOS 6.7, with GitLab CE originally installed by
$ curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
$ sudo yum install gitlab-ce
And the current version is
$ rpm -q gitlab-ce
gitlab-ce-8.7.5-ce.0.el6.x86_64
I follow the steps from the upgrade guide linked above, but get an error
$ cd /home/git/gitlab
$ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
sudo: bundle: command not found
I am aware of this problem from earlier work and other questions here. I think the base cause is that we have installed from rpm, so should use "gitlab-rake" instead of "bundle exec rake".
That will suffice for the above problem, but the next steps in the guide include
$ sudo -u git -H bundle install ...
It seems that gitlab-rake
will not work for that, so I need to actually use the bundle
command. But I have no idea which one - there are currently 19 different files on disk called .../bin/bundle
, of which 7 came from the gitlab rpm.
So: which "bundle" command should I use when the guide tells me to
sudo -u git -H bundle install ....
?