Update to GitLab 8+

We're seeing major updates that include UI redesigns for many software platforms these days and another one my personal favourites is GitLab.

Straight down to business, if you're using their package server it's as simple as sudo apt-get update
and sudo apt-get install gitlab-ce Done.

If you installed via their Omnibus package then it requires a few extra steps.

  • Stop the relevant services but leave the database for migrations and backup

sudo gitlab-ctl stop unicorn

sudo gitlab-ctl stop sidekiq

sudo gitlab-ctl stop nginx

sudo gitlab-rake gitlab:backup:create

  • Download and install the latest package (assuming we're using the Community Edition on Ubuntu)

sudo dpkg -i gitlab-ce_x.x.x-ce.1_xxx.deb

  • Reconfigure and restart services

sudo gitlab-ctl reconfigure

sudo gitlab-ctl restart

The full README for updating can be found here.