Published in


How to upgrade to latest Gitlab from version less then 10.8

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.




Stories from creative software house based in Poland, with a love for all web technology

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
Mateusz Wojczal

Mateusz Wojczal

founder of Qunabu Interactive from Gdańsk, Poland. Full-stack web developer with over a dozen years of experience.

More from Medium

A Beginner’s Guide To Forking A Repository on GitHub.

Deploy Jenkins agents using EC2 Spot instances

Infrastructure — Phpmyadmin + Mysql with Docker (external volume management)

mTLS Authentication with NGINX