Gitlab CE Manual Installation Error on Linux RHEL 7.x

Dear Community,

We are trying to install GitLab in one of our servers. Since we don’t have internet access due to security limitations we are going for manual installation process.

We are facing some issues post installation, and appreciate if you can suggest what we are missing. Below are the details.

  • OS: RHEL 7.x

  • Installable taken from https://packages.gitlab.com/gitlab/gitlab-ce. Link: https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-11.10.3-ce.0.el7.x86_64.rpm

  • Instructions followed as: https://packages.gitlab.com/gitlab/gitlab-ce/install#manual-rpm

  • GitLab installed manually and received below message:
    Gitlab_1

  • External url updated and GitLab reconfigured and restarted

  • When we hit GitLab URL we face below issue in browser:
    Gitlab_2

  • We get below permission errors in gitlab_errors.log, can’t find any other issue as such in any of the other logs

    • *2019/04/30 19:01:33 [error] 23534#0: 89 open() "/var/opt/gitlab/nginx/html/-/metrics" failed (13: Permission denied), client: 127.0.0.1, server: 10.x.x.x, request: "GET /-/metrics HTTP/1.1", host: "127.0.0.1:8080"
    • *2019/04/30 19:01:48 [error] 23535#0: 90 open() "/var/opt/gitlab/nginx/html/-/metrics.gz" failed (13: Permission denied), client: 127.0.0.1, server: 10.x.x.x, request: "GET /-/metrics HTTP/1.1", host: "127.0.0.1:8080"
    • *2019/04/30 19:01:48 [error] 23535#0: 90 open() "/var/opt/gitlab/nginx/html/-/metrics" failed (13: Permission denied), client: 127.0.0.1, server: 10.x.x.x, request: "GET /-/metrics HTTP/1.1", host: "127.0.0.1:8080"

Can you please suggest what we might be missing or doing wrong?

Thank you,
Ashish

Did you try to disable selinux ?

Hi, Sorry I am relatively new to linux. Can you please suggest how to do this and what impact does this has?

Hi! Just type in console

setenforce 0

And it will disable selinux temporary