“Maybe” my answer is to late for the OP but it is hopefully a help for all of you still running into this Problem. :wink: [image] r.uhlig: Do I have to additionally activate the pages anywhere? I can’t find a corresponding setting. If you are using gitlab in Docker environment you have to en… Answer from cubadonis on forum.gitlab.com
🌐
GitLab
forum.gitlab.com › how to use gitlab
Why is "Pages" not appearing in settings? - How to Use GitLab - GitLab Forum
May 29, 2018 - In the help on GitLab Pages the setup sound quite easy: Fork an example project: by forking a project, you create a copy of the codebase you’re forking from to start from a template instead of starting from scratch. Change a file to trigger a GitLab CI/CD pipeline: GitLab CI/CD will build and deploy your site to GitLab Pages.
Discussions

Pages not showing up, likely due to project rename?
Hello! I set up pages on gitlab.com. First I started with a project that had unrelated name (and broken CI, let’s be honest who can get that correct on the first try?), but then I found out that by naming it .g… More on forum.gitlab.com
🌐 forum.gitlab.com
1
0
September 19, 2020
Pages not appearing in Settings after build
Hey there, I’ve run into a problem with my GitLab pages build. The pipeline is going through, Artifacts are available in the public directory, The gitlab pages is available on *.gitlab.io domain, The Pages setting is not available in Settings. Because the setting is not available, I cannot ... More on forum.gitlab.com
🌐 forum.gitlab.com
1
0
February 10, 2023
Enabling Gitlab pages Not working
I am trying to enable gitlab pages with no luck. It kind of worked once but from one point the pages link on settings menu disappeared and not working anymore. I have a 13.10.2-ee running behind a custom nginx proxy. I’ve tried to configure pages with the minimum configuration and added the ... More on forum.gitlab.com
🌐 forum.gitlab.com
5
0
April 14, 2021
continuous integration - Self hosted GitLab pages not showing at Setting page even if my CI building public/ folder runs successfully - Stack Overflow
I want to use GitLab pages at my self hosted GitLab server, this is my .gitlab-ci.yml file image: node:12.16.1-alpine3.10 before_script: - pwd - which nodejs - nodejs -v - which npm - n... More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitLab
forum.gitlab.com › how to use gitlab
Why Is GitLab Pages Not Working For Me? - How to Use GitLab - GitLab Forum
March 29, 2018 - For the life of me I cannot get GitLab pages to work, I am attempting to make the move from GitHub pages to GitLab pages due to the fact that all of my projects are stored here on GitLab repositories. GitHub was so easy, just name the repo with your username and the extension, add your website ...
🌐
GitLab
docs.gitlab.com › gitlab docs › administer › update your settings › gitlab pages › troubleshooting
Troubleshooting GitLab Pages administration | GitLab Docs
If you get a 404 Page Not Found response from GitLab Pages: Check .gitlab-ci.yml contains the job pages:. Check the current project’s pipeline to confirm the job pages:deploy is being run. Without the pages:deploy job, the updates to your GitLab Pages site are never published. If you’re using a separate Pages server with namespace_in_path enabled, see 404 error when UI shows incorrect URL.
🌐
GitLab
forum.gitlab.com › how to use gitlab
Pages not showing up, likely due to project rename? - How to Use GitLab - GitLab Forum
September 19, 2020 - Hello! I set up pages on gitlab.com. First I started with a project that had unrelated name (and broken CI, let’s be honest who can get that correct on the first try?), but then I found out that by naming it .gitlab.io I can get the pages on .gitlab.io instead of .gitlab.io/ which I prefer.
🌐
GitLab
forum.gitlab.com › gitlab ci/cd
Pages not appearing in Settings after build - GitLab CI/CD - GitLab Forum
February 10, 2023 - Hey there, I’ve run into a problem with my GitLab pages build. The pipeline is going through, Artifacts are available in the public directory, The gitlab pages is available on *.gitlab.io domain, The Pages setting is not available in Settings. Because the setting is not available, I cannot set my custom domain.
🌐
GitLab
forum.gitlab.com › how to use gitlab › self-managed
Enabling Gitlab pages Not working - Self-managed - GitLab Forum
April 14, 2021 - I am trying to enable gitlab pages with no luck. It kind of worked once but from one point the pages link on settings menu disappeared and not working anymore. I have a 13.10.2-ee running behind a custom nginx proxy. I’ve tried to configure pages with the minimum configuration and added the ...
🌐
Stack Overflow
stackoverflow.com › questions › 60321381 › self-hosted-gitlab-pages-not-showing-at-setting-page-even-if-my-ci-building-publ
continuous integration - Self hosted GitLab pages not showing at Setting page even if my CI building public/ folder runs successfully - Stack Overflow
But I didn't see Setting/Pages option, so I don't know what is the public URL of my website. ... If you're not seeing Settings/Pages on your self-hosted server, have you enabled the pages administration?
Find elsewhere
🌐
Reddit
reddit.com › r/gitlab › does gitlab pages access control not work anymore?
r/gitlab on Reddit: Does GitLab Pages Access Control not work anymore?
July 17, 2021 -

Hi everyone. Lately I've been wanting to publish a public static website that's in a private repository of mine (hosted on gitlab.com). I already did that in the past once and supposed that it wouldn't be a problem for me.

However, now, GitLab keeps telling me "Access Control is enabled for this Pages website; only authorized users will be able to access it. To make your website publicly available, navigate to your project's Settings > General > Visibility and select Everyone in pages section", and when I do these exact steps, nothing changes and the message keeps showing up for some reason. I tried waiting a few hours and fiddling with the visibility fields but nothing works.

When I checked on my older project to compare fields, I noticed that the pages' visibility was "Only Project Members" though it was still accessible on other computers and on a private window without logging in, but I once miss-clicked on "Save" and now the message above keeps popping up on this repository too, and, of course, the previously-public pages are now private, even though I checked "Everyone" on "Pages Visibility" there.

The documentation also shares this YouTube video and I noticed the subcategories on Visibility was "Pages access control" here while it is "Pages" on my computer. I wonder if the name change broke something but I can't tell much about it. I tried to check on the issues list and haven't seen anyone talk about that.

Is there anything I can do to make my pages public?

Thanks a lot.

🌐
GitLab
forum.gitlab.com › how to use gitlab › self-managed
Gitlab pages not getting enabled - Self-managed - GitLab Forum
June 7, 2023 - Hello I tried to enable gitlab-pages on self-hosted Omnibus GitLab instance by following GitLab Pages administration | GitLab instructions. I started with the minimal set of requirements to enable the gitlab-pages but no. lock. external_url “https://gitlab.example.com” # external_url here is only for reference pages_external_url “https://pages.example.com” # not a subdomain of external_url Even I’m not seeing any error in gitlab logs.
🌐
GitLab
forum.gitlab.com › how to use gitlab
Gitlab pages do not show up - How to Use GitLab - GitLab Forum
November 19, 2018 - Hello I am experimenting with giLab pages in a private project/repo. I followed the tutorial, successfully deployed and under Settings->Pages I get: Congratulations! Your pages are served under: However, the link gives a 404 error. Could someone help?
🌐
GitLab
forum.gitlab.com › how to use gitlab
Cannot find Pages in Settings - How to Use GitLab - GitLab Forum
September 27, 2021 - Hello, I’m trying to see the URL of the static html that I created with Sphinx by accessing the Pages tab in Settings. The repository I have this in is a private one: My .gitlab-ci.yml is as below: image: python:3.6-alpine pages: script: - pip install -U sphinx - pip install sphinx_rtd_theme ...
🌐
GitLab
forum.gitlab.com › how to use gitlab
GitLab Pages not showing after successful CI run - How to Use GitLab - GitLab Forum
July 27, 2024 - I have a public group project at gitlab.com, say https://gitlab.com/group/project I’m trying to add GitLab Pages for this project (based on mkdocs). I’ve added a .gitlab-ci.yml file with the following contents (simplified): pages: stage: deploy image: python:3.10 only: - tags - main script: - pip install -r requirements/requirements-dev.txt - mkdocs build --strict --verbose artifacts: paths: - public environment: production After commit, it ran successfu...
🌐
GitLab
forum.gitlab.com › how to use gitlab
Unable to access my Pages for a repo - How to Use GitLab - GitLab Forum
November 9, 2019 - Hi everyone, I’m deploying some reports using Gitlab CI to pages. This script succeeds. However, when I try to access pages from the repo. I get a 404 error. Steps: Project > Settings > Pages Someone pls help me. If you need more details
🌐
GitLab
forum.gitlab.com › infrastructure as code & cloud native
Gitlab Pages not working correctly - Infrastructure as Code & Cloud Native - GitLab Forum
July 4, 2022 - Hi There! I am currently setting up gitlab pages for our internal network. Now I have completed my project and the CI pipeline is working. Now I have gone through all the steps in the gitlab.rb configuration via the git…
🌐
GitLab
forum.gitlab.com › how to use gitlab
Unable to get Gitlab pages running - How to Use GitLab - GitLab Forum
September 27, 2019 - 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 ...
🌐
Reddit
reddit.com › r/gitlab › gitlab pages deployment
r/gitlab on Reddit: Gitlab pages deployment
December 12, 2023 -

Greetings,

keep in mind that I come from github, where creating a github pages static website consists of just placing html files in a repository with the correct name.

I followed the guide to create a gitlab pages website. I created its script thing. Then it said it had no "runner" for the pipeline/job.

Then I created that runner, I installed gitlab-runner.exe as explained, copied the stuff it told me to copy in the command line, called gitlab-runner.exe run. The job started, and it failed. In the terminal that is running gitlab-runner I got this error:

ERROR: Job failed (system failure): prepare environment: failed to start process: exec: "pwsh": executable file not found in %PATH%. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information  duration_s=0.0085868 job=52 project=113 runner=uuj-sLTL2

I couldn't find a single gitlab guide that said anything specific about what else I need to do to setup this convoluted mess. The runners documentation doesn't mention pages deployment, the pages documentation doesn't mention runners at all.

What am I supposed to do? Where can I read about the setup steps that I'm evidently missing?

I'm also wondering, does the runner only take care of some behind-the-scenes process to build the website, and it'll be hosted in the gitlab server, or is the website going to be dependent on having the runner.exe process constantly active?

Sorry for the ranty tone, I just didn't expect this to eat up half a day.

Edit: it's likely relevant, we're not using the public gitlab website, we're using a self-hosted version within the company.

Edit edit: I fixed the issue, the runner now runs and the job completes. However i cannot access the pages page.Deploy doesn't contain any "pages" tab, only Releases, Feature flags, Package Registry. If I search "pages" in Settings/General I see an info box

GitLab Pages has moved

To go to GitLab Pages, on the left sidebar, select Deploy > Pages. ù

But the link it redirects to is a 404.

This is my .gitlab-ci.yml file:

image: alpine:latest

pages:
  stage: deploy
  script:
  - echo 'Nothing to do...'
  artifacts:
    paths:
    - public
  only:
  - master

And the public directory contains a hierarchy of html files and subdirectories. The master branch is master, no main/master issue either.