O'Reilly logo

GitLab Repository Management by Jonathan M. Hethey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Updating GitLab

In this chapter we will go through the steps that are required for updating GitLab. First and most importantly, we will go through how to keep your repositories and database entries created with GitLab safe and make backups, after which we will proceed to the actual update process.

Lastly, to make sure everything runs as it is supposed to, we will run the included test suite and start our server backup. We are covering the following topics in this chapter:

  • Stopping the GitLab service
  • Creating backups
  • Upgrading to a new version
  • Upgrading configuration files
  • Restarting the GitLab service

Preparing for an update

As every book, guide, and tutorial warns you, back up your data. Copy the directory and database, just in case something ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required