Troubleshooting your GitLab installation

When your GitLab instance does not work the way you expect it to work, it's nice to have a way to check what parts of your installation are not working properly. In this recipe, we will take a look at the self-diagnostic tools provided by GitLab.

How to do it…

Learn how to troubleshoot your GitLab server with the following steps:

  1. Log in to your server using SSH.

    The first case shows troubleshooting in the case of a GitLab source installation.

  2. Go to your gitlab folder:
    $ cd /home/git/gitlab
    
  3. To autodiagnose your installation, run the following command:
    $ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
    
  4. When there is a problem with your GitLab installation, it will be outputted in red text, as ...

Get GitLab Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.