Updating gitlab server. one-click install

June 24, 2015 13.4k views
Git One-Click Install Apps

Hello,

I’m using a gitlab server by DO, their one-click install.

Now there have been a few updates and I wish to update to the newest, but unsure how to do that.

I found this page https://about.gitlab.com/update/, but since its the one-click install, then I’m unsure which one to follow.

5 comments
  • I’ve now tried following this one https://about.gitlab.com/upgrade-to-package-repository/

    So good so far, but now when I want to update, it tells me

    The following packages will be REMOVED:
      gitlab
    The following NEW packages will be installed:
      gitlab-ce
    
    

    Is it save to say yes?, I won’t lose my repos?

  • Did you ever find out the answer to this?

  • Ubuntu / Debian: Upgrading from manually downloaded Omnibus package

    To upgrade you will need to add the package repository to your system first.

    Call the following script for easy installation:

    curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

    Now you will be able to install / upgrade GitLab to the latest version using the package repository. When running the command below, GitLab will detect a conflict and remove gitlab in favor of gitlab-ce. This will leave your data intact.

    To upgrade, run:
    sudo apt-get install gitlab-ce

    You are now ready to use GitLab again!

  • Just ran this, and initially I thought I had broken my gitlab. Turns out that the time I was spending looking for solutions to “Whoops, GitLab is taking too much time to respond.” was just what the doctor ordered, because after about 20 minutes I went back hit reload (just for safe measures) and it was all back. So things seem to have turned sour after you upgraded. Just be a little patient. Gitlab-ce will come to life…eventually…

  • “Whoops, GitLab is taking too much time to respond.”

    waiting and praying vevmesteren

1 Answer

This question was answered by @AuroJR:

Ubuntu / Debian: Upgrading from manually downloaded Omnibus package

To upgrade you will need to add the package repository to your system first.

Call the following script for easy installation:

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

Now you will be able to install / upgrade GitLab to the latest version using the package repository. When running the command below, GitLab will detect a conflict and remove gitlab in favor of gitlab-ce. This will leave your data intact.

To upgrade, run:
sudo apt-get install gitlab-ce

You are now ready to use GitLab again!

View the original comment

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!