Puma port ignored in gitlab_url
Summary
When upgrading from 12.8 to 12.9 I attempted to switch from Unicorn to Puma. We use a non-standard port for the Ruby application server, so I changed the puma port to suite. However, the generated gitlab_url
in gitlab-shell/config.yml
reverted to the default port of 8080, causing all API access to fail.
Steps to reproduce
Enable Puma like so in gitlab.rb
:
unicorn['enable'] = false
puma['enable'] = true
puma['port'] = 8090
And then run gitlab-ctl reconfigure
.
What is the current bug behavior?
gitlab-shell/config.yml
contains
gitlab_url: "http://127.0.0.1:8080"
What is the expected correct behavior?
gitlab-shell/config.yml
should contain
gitlab_url: "http://127.0.0.1:8090"
Relevant logs
N/A
Details of package version
gitlab-ce-12.9.0-ce.0.el6.x86_64
Environment details
- Operating System:
Red Hat Enterprise Linux Server release 6.10 (Santiago)
- Installation Target, remove incorrect values:
- Bare Metal Machine
- Installation Type, remove incorrect values:
- Upgrade from version
12.8
- Upgrade from version
- Is there any other software running on the machine: Yes
- Is this a single or multiple node installation? Single
- Resources
- CPU:
Xeon E5649
- Memory total:
26 GiB
- CPU:
Configuration details
Provide the relevant sections of `/etc/gitlab/gitlab.rb`
unicorn['enable'] = false puma['enable'] = true puma['port'] = 8090