Unable to get Gitlab pages running

Hi there,

I’ve got an issue when trying to get Gitlab pages to work.

I followed the documentation and set up everything, even according to the instructional videos everything is fine but still, there is the same message on my projects pages (old and new ones) to ask an administrator to enable the feature.

Anyone experienced the same at some point?

Best Regards

Is it possible for you to share the repo? WIthout a specific error or code, nobody could tell anything.

Well, it’s a private repo hosted on our server infrastructure, but I could share the gitlab.rb, if that helps!


Can you copy/paste the exact message that you’re seeing? This should help pinpoint where it’s coming from in the codebase.

In any case, if you’re getting a message about asking an administrator to enable the feature, I suspect that GitLab pages have not been enabled in the GitLab instance’s configuration.

At the very least, gitlab_pages['enable'] = true must be set in the /etc/gitlab/gitlab.rb for Pages to be enabled on the server.

Can you provide sanitized output of [sudo] grep 'gitlab_pages' /etc/gitlab/gitlab.rb | grep -v '^#' on your server? This should output only relevant GitLab pages configuration settings.


Hello @gitlab-greg,

here’s the ouput of that grep command.

 # grep 'gitlab_pages' /etc/gitlab/gitlab.rb | grep -v '^#'
    gitlab_pages['enable'] = true
    gitlab_pages['inplace_chroot'] = true
    gitlab_pages['access_control'] = true

I’m running in Omnibus and I was wondering if there may be something else I’d need to configure in order to make this work properly?

The error reads as follows:
Support for domains and certificates is disabled. Ask your system's administrator to enable it.

Best Regards

EDIT: Ok, I found out what the problem seems to be. As pointet out here, the gitlab_pages['external_https'] has to be set to something. This is not pointed out in any place of the documentation and the documentation itself suggests that setting gitlab_pages['enable] = true' would be sufficient, but it’s not. I’ll make an MR in order to better document this.

Thanks for all of your support.


Hi Tizian,

I’m pleased to hear that it is working as expected for you now. Excellent job troubleshooting, finding the relevant issue, and fixing it yourself.

Thank you very much for making an MR! Issues and MR from our users are vaulable and much appreciated.
Please link to it here once you’ve created it and I’ll assign appropriate labels to ensure it gets noticed and reviewed as soon as possible.