How to upgrade to latest Gitlab from version less then 10.8

Mateusz Wojczal
Oct 16, 2018 · 1 min read

I’ve come across issue when i wanted upgrade Gitlab CE from 10.5 to latest 11.X stable version. I’m using Ubuntu on my hosting machine, on the official documentation of GL says that you should run command

sudo apt-get update && sudo apt-get install gitlab-ce

which should be just enough, yet the installer returns that you should upgrade to 10.8 in first place. I’m writing this post because I couldn’t find this tutorial anywhere.

Like most of similar tasks in Linux this is quite simple. You need to upgrate package manager with sudo apt-get update and then find last 10.8 available to your system with command

apt list -a gitlab-ce

then you need to find latest 10.8 version for your system and install this with

sudo apt-get install gitlab-ce=10.8.7-ce.0

where 10.8.7-ce.0 is the latest 10.8 version for Ubuntu at the moment of creation of this post.

Once this is ready you can run

sudo apt-get install gitlab-ce

to get the latest GitlabCE.

Escolasoft

Stories from web&mobile software house based in Poland

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store