Can't upgrade from CE v11.10.4 (62c464651d2) to v12, and can't find latest v11 version

When I try to upgrade from CE v11.10.4 (62c464651d2) to v12 using:

sudo yum install gitlab-ce

I receive this message:

It seems you are upgrading from 11.x version series
to 12.x series. It is recommended to upgrade
to the last minor version in a major version series first before
jumping to the next major version.
Please follow the upgrade documentation at
and upgrade to 11.11 first.

Problem is, I can’t find any info regarding how to specify the required version.

From what I understand, I should use:

sudo yum install gitlab-ce-<version_info>

And this to find the available versions:

yum list gitlab-ce --showduplicates

But the last command returns:

Loaded plugins: fastestmirror
Skipping unreadable repository '/etc/yum.repos.d/gitlab_gitlab-ce.repo'
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Installed Packages
gitlab-ce.x86_64                                                    11.10.4-ce.0.el7                                                     @gitlab_gitlab-ce

How do I install the latest v11 version so I can move on to v12?

11.11.5 seems to be the latest 11.11.x version:

So sudo yum install gitlab-ce-11.11.5 should do the trick

Hi @GregShu

Always happy to help out a fellow “Greg”.

Skipping unreadable repository '/etc/yum.repos.d/gitlab_gitlab-ce.repo'

This error indicates there is a problem preventing communication with the GitLab software repositories.

I suggest you backup remove the existing /etc/yum.repos.d/gitlab_gitlab-ce.repo file and then re-add the GitLab package repository with the following command:

curl -s | sudo bash

Once that is done, yum list gitlab-ce --showduplicates should list all available versions.

In your situation, the upgrade path will be:
Upgrade to 11.11.5
yum install gitlab-ce-11.11.5-ee.0.el7
then upgrade to latest version (currently 12.0.3)
yum install gitlab-ce-12.0.3-ee.0.el7

Thank you, @bartj and @gitlab-greg, for your quick responses.

I deleted the gitlab_gitlab-ce.repo file and re-added it as suggested but doing so did not resolve the issue. I did notice that this file’s permissions did not match the other files in the /etc/yum.repos.d directory.

-rw-r--r--. 1 root root  951 Oct  2  2017 epel.repo
-rw-r--r--. 1 root root 1050 Oct  2  2017 epel-testing.repo
-rw-r-----. 1 root root  773 Jul 19 19:26 gitlab_gitlab-ce.repo

After changing the gitlab_gitlab-ce.repo file’s permissions to match the yum list gitlab-ce --showduplicates command worked as expected.

The only other change to the recommended steps was to change ee to ce in the versions specified.

The two upgrades appear to have executed successfully. Now I am stuck at a Deploy in progress screen, but that is another issue not related to my initial post. Let’s see how I do on my own.

Thanks again.