docker-gitlab: Pages service does not start after upgrading from 13.12.4 to 14.0.0
Pages service does not start after upgrading from 13.12.4 to 14.0.0,then upgraded to 14.0.1 and the same problem occurred.
time="2021-06-28T01:01:42Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:42Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:42Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T01:01:43Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:43Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:43Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T01:01:45Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:45Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:45Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T01:01:48Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:48Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:48Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:27Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:27Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:27Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:28Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:28Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:28Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:30Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:30Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:30Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:34Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:34Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:34Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
```time="2021-06-28T01:01:42Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:42Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:42Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T01:01:43Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:43Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:43Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T01:01:45Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:45Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:45Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T01:01:48Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T01:01:48Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T01:01:48Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:27Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:27Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:27Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:28Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:28Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:28Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:30Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:30Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:30Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
time="2021-06-28T02:28:34Z" level=info msg="GitLab Pages Daemon" revision=0e711de version=1.40.0
time="2021-06-28T02:28:34Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
time="2021-06-28T02:28:34Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 27 (20 by maintainers)
Unfortunately same situation on our setup after an upgrade from 13.12.1 to 14.0.2, so for now juste “+1, me too” comment. Also tried a few things, but no success yet. Nothing in the changelog of gitlab 14.0.4 or 14.0.5 seems to mention this issue either.
@sue445 I updated to 14.1.0 and this issue does not seem to be fixed.
@statnmap
Following the documents, checkout the MR you want to test (for this case it is #2400).
make buildis also a choice because this repository contains Makefile that wrapsdocker build. It takes a while (depends on your environment. it took around 30 minutes in my case)best,
Current workaround on top of the existing fix, if you jump into the container with
docker exec:/etc/supervisor/conf.d/gitlab-pages.confso it has these two added arguments:supervisorctl reread.supervisorctl remove gitlab-pagesandsupervisorctl add gitlab-pages, at this point the service should be back up and running, you can double-check withsupervisorctl status gitlab-pages.