Do not auto upgrade database if attributes missing
- If the public attributes file is missing, then an automatic upgrade of the database should not occur as the system is likely a fresh installation or in a broken state that requires a successful reconfigure Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6518 Changelog: fixed Signed-off-by:Robert Marshall <rmarshall@gitlab.com>
parent
b7c86a77785a
No related branches found
No related tags found
Showing
- files/gitlab-ctl-commands/check_config.rb 7 additions, 0 deletionsfiles/gitlab-ctl-commands/check_config.rb
- files/gitlab-ctl-commands/lib/gitlab_ctl/util.rb 15 additions, 4 deletionsfiles/gitlab-ctl-commands/lib/gitlab_ctl/util.rb
- files/gitlab-ctl-commands/upgrade.rb 5 additions, 0 deletionsfiles/gitlab-ctl-commands/upgrade.rb
- spec/gitlab-ctl-commands/lib/util_spec.rb 43 additions, 1 deletionspec/gitlab-ctl-commands/lib/util_spec.rb
Loading
Please register or sign in to comment