GitLab 6 specific changes

Updating from GitLab 6.6 and higher to the latest version

NOT: Note: The procedure can also be used to upgrade from a CE Omnibus package to an EE Omnibus package.

First, download the latest CE or EE (license key required) package to your GitLab server.

  1. Stop services, but leave postgres running for the database migrations and create a backup:

     sudo gitlab-ctl stop unicorn
     sudo gitlab-ctl stop sidekiq
     sudo gitlab-ctl stop nginx
     sudo gitlab-rake gitlab:backup:create
    
  2. Install the latest package:

     # Debian/Ubuntu:
     sudo dpkg -i gitlab_x.x.x-omnibus.xxx.deb
    
     # CentOS:
     sudo rpm -Uvh gitlab-x.x.x_xxx.rpm
    
  3. Reconfigure GitLab (includes running database migrations) and restart all services:

     sudo gitlab-ctl reconfigure
     sudo gitlab-ctl restart
    

Updating from GitLab 6.6.0.pre1 to 6.6.4

  1. First, download the latest package from https://about.gitlab.com/downloads/ to your GitLab server.

  2. Stop unicorn and Sidekiq so we can do database migrations:

     sudo gitlab-ctl stop unicorn
     sudo gitlab-ctl stop sidekiq