Upgrade from 11.10 to 11.11 on Ubuntu 18.04

I have a gitlab-ee version installed on an Ubuntu 18.04. I can see version 11.11 is out, but I cannot upgrade it from the repository like I have been doing so far. apt update & apt upgrade does not upgrade gitlab.

Does it take some time to appear or do I have to do something else?

root@git-lab:/home/localadmin# sudo apt update &&
> sudo apt upgrade gitlab-ee -y &&
> sudo apt list gitlab-ee &&
> sudo gitlab-rake gitlab:env:info
Hit:1 http://dk.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://dk.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                   
Hit:4 http://dk.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 88.7 kB in 0s (237 kB/s)                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gitlab-ee is already the newest version (11.10.1-ee.0).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Listing... Done
gitlab-ee/now 11.10.1-ee.0 amd64 [installed,local]

System information
System:		Ubuntu 18.04
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.5.3p105
Gem Version:	2.7.6
Bundler Version:1.17.3
Rake Version:	12.3.2
Redis Version:	3.2.12
Git Version:	2.18.1
Sidekiq Version:5.2.5
Go Version:	unknown

GitLab information
Version:	11.10.1-ee
Revision:	2cd7cedf96c
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	9.6.11
URL:		http://git-lab.cph.intranet
HTTP Clone URL:	http://git-lab.cph.intranet/some-group/some-project.git
SSH Clone URL:	git@git-lab.cph.intranet:some-group/some-project.git
Elasticsearch:	no
Geo:		no
Using LDAP:	no
Using Omniauth:	yes
Omniauth Providers: 

GitLab Shell
Version:	9.0.0
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell
Git:		/opt/gitlab/embedded/bin/git

Ubuntu releases are stable, meaning that they don’t change, so no new version of gitlab will ever enter Ubuntu 18.04. As you appear to be running 11.10 which is quite a bit newer than Ubuntu 18.04, you’ve probably not installed it from ubuntu, and all the sources shown in your output are ubuntu.com.

You should re-read the instructions for installing GitLab(-ee), look in the script used and configure GitLab’s repository as a source.

It was an incorrect information. It was from the repository inside the install script Gitlab provides.

Hi @evc and welcome to the GitLab forum!

Based on the output provided, this system is not checking GitLab software sources for updates. The upstream GitLab repo has been removed, lost, or disabled from the apt package manager sources.

If it were successfully checking for GitLab updates, you would see this in your output:

Hit:5 https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu bionic InRelease

If the repository was added and available, there will be a file located at /etc/apt/sources.list.d/gitlab_gitlab-ee.list containing the following un-commented line:

deb https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main

If you can’t find an existing entry, you need to add the GitLab package repository, which can be done with the following command:

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash

Let me know if you have any questions.

The file was there, but was commented because of the upgrade to Ubuntu 18. That was the problem.

Thanks. :slight_smile: