August 2019
Beginner
608 pages
16h 7m
English
The first thing you will want to look at are the log files which by default are called error.log and access.log. In a GitLab environment installed from source these log files will typically reside in /var/log/nginx/ and in a GitLab omnibus install in /var/log/gitlab/nginx.
Following is an example of the error log:
2019/09/08 20:45:14 [crit] 2387#2387: *95 connect() to unix:/var/www/gitlab-app/tmp/sockets/unicorn.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /-/metrics HTTP/1.1", upstream: "http://unix:/var/www/gitlab-app/tmp/sockets/unicorn.sock:/-/metrics", host: "127.0.0.1:8080"
Read now
Unlock full access