Upgrade GitLab

 

Note: As always you will want to backup your important data before attempting any system upgrades.

 

To upgrade GitLab is fortunately quite simple.

1. Get the new package

2. Install

3. Reconfigure GitLab

The commands for each step are below.

 You can download new packages here https://about.gitlab.com/downloads/

  

For example, if your OS is Ubuntu 14.04

wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.1.1-omnibus-1_amd64.deb
sudo dpkg -i gitlab_7.1.1-omnibus-1_amd64.deb
sudo gitlab-ctl reconfigure

 

From another author”

 

Next, we will take a backup of the GitLab database. This is something important to do before making any major changes to your server.

sudo gitlab-ctl stop unicorn sudo gitlab-ctl stop sidekiq sudo gitlab-rake gitlab:backup:create 

Now, install the update and reconfigure GitLab:

sudo dpkg -i gitlab_7.1.1-omnibus-1_amd64.deb sudo gitlab-ctl reconfigure sudo gitlab-ctl restart 

Your updated GitLab instance will now be ready to go.

 

source: https://www.digitalocean.com/community/tutorials/how-to-use-the-gitlab-one-click-install-image-to-manage-git-repositories

Leave a Reply