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.
Learn how to troubleshoot your GitLab server with the following steps:
Log in to your server using SSH.
The first case shows troubleshooting in the case of a GitLab source installation.
Go to your
$ cd /home/git/gitlab
To autodiagnose your installation, run the following command:
$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
When there is a problem with your GitLab installation, it will be outputted in red text, as shown in the following screenshot:
$ sudo-u git -h bundle exec rake gitlab:satellites:create...