Nightly build failed to install due to failure in `gitlab-pages --version`
I just upgraded my test instance with this config:
pages_external_url "http://pages.example.com/"
gitlab_pages['enable'] = true
gitlab-ctl reconfigure
failed because :
There was an error running gitlab-ctl reconfigure:
version_file[Create version file for Gitlab Pages] (gitlab-pages::enable line 58) had an error: RuntimeError: Execution of the command `/opt/gitlab/embedded/bin/gitlab-pages --version` failed with a non-zero exit code (1)
stdout:
stderr: time="2021-08-08T09:49:56+05:30" level=fatal msg="Failed to load config" error="no listener defined, please specify at least one --listen-* flag"
Running handlers complete
Chef Infra Client failed. 21 resources updated in 46 seconds
===
There was an error running gitlab-ctl reconfigure. Please check the output above for more
details.
===
I would think the --version
command-line shouldn't require config validation?
$ /opt/gitlab/embedded/bin/gitlab-pages --version
FATA[0000] Failed to load config error="no listener defined, please specify at least one --listen-* flag"
@jaime @vshushlin This looks like it was introduced in gitlab-pages!532 (merged).