www-apps/gitlabhq-13.8.0 failed in config stage
After emerging www-apps/gitlabhq-13.8.0, emerge --config failed with:
* Is this an upgrade of an existing installation? [Y|n] y
* Is this an upgrade from a >=13.6.2-r4 version? [Y|n] y
* Found your latest Gitlab instance at "/opt/gitlab/gitlabhq-13.7.4".
* Please make sure that you've created a backup
* and stopped your running Gitlab instance:
* $ cd "/opt/gitlab/gitlabhq-13.7.4"
* $ sudo -u git ruby /usr/bin/bundle exec rake gitlab:backup:create RAILS_ENV=production
* $ systemctl stop gitlabhq.target
* or
* $ /etc/init.d/gitlab/gitlabhq-13.7.4 stop
*
* Proceed? [Y|n] y
* Checking for background migrations...
Traceback (most recent call last):
93: from bin/rails:4:in `<main>'
92: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
91: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
90: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
89: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
88: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
87: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
86: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
85: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
84: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands.rb:18:in `<main>'
83: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command.rb:46:in `invoke'
82: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/base.rb:69:in `perform'
81: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
80: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
79: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
78: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/runner/runner_command.rb:33:in `perform'
77: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
76: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/actions.rb:28:in `require_environment!'
75: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application.rb:339:in `require_environment!'
74: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
73: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
72: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
71: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
70: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
69: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
68: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
67: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
66: from /opt/gitlab/gitlabhq-13.8.0/config/environment.rb:5:in `<main>'
65: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application.rb:363:in `initialize!'
64: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:60:in `run_initializers'
63: from /usr/lib64/ruby/2.7.0/tsort.rb:205:in `tsort_each'
62: from /usr/lib64/ruby/2.7.0/tsort.rb:226:in `tsort_each'
61: from /usr/lib64/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
60: from /usr/lib64/ruby/2.7.0/tsort.rb:347:in `call'
59: from /usr/lib64/ruby/2.7.0/tsort.rb:347:in `each'
58: from /usr/lib64/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
57: from /usr/lib64/ruby/2.7.0/tsort.rb:415:in `each_strongly_connected_component_from'
56: from /usr/lib64/ruby/2.7.0/tsort.rb:415:in `call'
55: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:50:in `tsort_each_child'
54: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:50:in `each'
53: from /usr/lib64/ruby/2.7.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
52: from /usr/lib64/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
51: from /usr/lib64/ruby/2.7.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
50: from /usr/lib64/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
49: from /usr/lib64/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
48: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:61:in `block in run_initializers'
47: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `run'
46: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `instance_exec'
45: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in `block in <class:Engine>'
44: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in `each'
43: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:625:in `block (2 levels) in <class:Engine>'
42: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:665:in `load_config_initializer'
41: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:182:in `instrument'
40: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:666:in `block in load_config_initializer'
39: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `load'
38: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
37: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `block in load'
36: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
35: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
34: from /opt/gitlab/gitlabhq-13.8.0/config/initializers/7_prometheus_metrics.rb:41:in `<main>'
33: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/metrics/prometheus.rb:25:in `prometheus_metrics_enabled?'
32: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/utils/strong_memoize.rb:30:in `strong_memoize'
31: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/metrics/prometheus.rb:26:in `block in prometheus_metrics_enabled?'
30: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/metrics/prometheus.rb:100:in `prometheus_metrics_enabled_unmemoized'
29: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:20:in `method_missing'
28: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:7:in `current_application_settings'
27: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/safe_request_store.rb:12:in `fetch'
26: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/null_request_store.rb:34:in `fetch'
25: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:7:in `block in current_application_settings'
24: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:30:in `ensure_application_settings!'
23: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:48:in `uncached_application_settings'
22: from /opt/gitlab/gitlabhq-13.8.0/app/models/concerns/cacheable_attributes.rb:55:in `current'
21: from /opt/gitlab/gitlabhq-13.8.0/app/models/concerns/cacheable_attributes.rb:19:in `current_without_cache'
20: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/querying.rb:21:in `last'
19: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation/finder_methods.rb:148:in `last'
18: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation/finder_methods.rb:553:in `ordered_relation'
17: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation/delegation.rb:92:in `primary_key'
16: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/attribute_methods/primary_key.rb:67:in `primary_key'
15: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/attribute_methods/primary_key.rb:79:in `reset_primary_key'
14: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/attribute_methods/primary_key.rb:91:in `get_primary_key'
13: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/model_schema.rb:340:in `table_exists?'
12: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_handling.rb:189:in `connection'
11: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_handling.rb:221:in `retrieve_connection'
10: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection'
9: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection'
8: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout'
7: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection'
6: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection'
5: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection'
4: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection'
3: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/postgresql_adapter.rb:46:in `postgresql_connection'
2: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
1: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
/opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': FATAL: role "git" does not exist (PG::ConnectionBad)
94: from bin/rails:4:in `<main>'
93: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
92: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
91: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
90: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
89: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
88: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
87: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
86: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
85: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands.rb:18:in `<main>'
84: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command.rb:46:in `invoke'
83: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/base.rb:69:in `perform'
82: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
81: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
80: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
79: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/runner/runner_command.rb:33:in `perform'
78: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
77: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/actions.rb:28:in `require_environment!'
76: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application.rb:339:in `require_environment!'
75: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
74: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
73: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
72: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
71: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
70: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
69: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
68: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
67: from /opt/gitlab/gitlabhq-13.8.0/config/environment.rb:5:in `<main>'
66: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application.rb:363:in `initialize!'
65: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:60:in `run_initializers'
64: from /usr/lib64/ruby/2.7.0/tsort.rb:205:in `tsort_each'
63: from /usr/lib64/ruby/2.7.0/tsort.rb:226:in `tsort_each'
62: from /usr/lib64/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
61: from /usr/lib64/ruby/2.7.0/tsort.rb:347:in `call'
60: from /usr/lib64/ruby/2.7.0/tsort.rb:347:in `each'
59: from /usr/lib64/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
58: from /usr/lib64/ruby/2.7.0/tsort.rb:415:in `each_strongly_connected_component_from'
57: from /usr/lib64/ruby/2.7.0/tsort.rb:415:in `call'
56: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:50:in `tsort_each_child'
55: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:50:in `each'
54: from /usr/lib64/ruby/2.7.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
53: from /usr/lib64/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
52: from /usr/lib64/ruby/2.7.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
51: from /usr/lib64/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
50: from /usr/lib64/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
49: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:61:in `block in run_initializers'
48: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `run'
47: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `instance_exec'
46: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in `block in <class:Engine>'
45: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in `each'
44: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:625:in `block (2 levels) in <class:Engine>'
43: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:665:in `load_config_initializer'
42: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:182:in `instrument'
41: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/engine.rb:666:in `block in load_config_initializer'
40: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `load'
39: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
38: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `block in load'
37: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
36: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
35: from /opt/gitlab/gitlabhq-13.8.0/config/initializers/7_prometheus_metrics.rb:41:in `<main>'
34: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/metrics/prometheus.rb:25:in `prometheus_metrics_enabled?'
33: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/utils/strong_memoize.rb:30:in `strong_memoize'
32: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/metrics/prometheus.rb:26:in `block in prometheus_metrics_enabled?'
31: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/metrics/prometheus.rb:100:in `prometheus_metrics_enabled_unmemoized'
30: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:20:in `method_missing'
29: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:7:in `current_application_settings'
28: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/safe_request_store.rb:12:in `fetch'
27: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/null_request_store.rb:34:in `fetch'
26: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:7:in `block in current_application_settings'
25: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:30:in `ensure_application_settings!'
24: from /opt/gitlab/gitlabhq-13.8.0/lib/gitlab/current_settings.rb:48:in `uncached_application_settings'
23: from /opt/gitlab/gitlabhq-13.8.0/app/models/concerns/cacheable_attributes.rb:51:in `current'
22: from /opt/gitlab/gitlabhq-13.8.0/app/models/concerns/cacheable_attributes.rb:63:in `rescue in current'
21: from /opt/gitlab/gitlabhq-13.8.0/app/models/concerns/cacheable_attributes.rb:19:in `current_without_cache'
20: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/querying.rb:21:in `last'
19: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation/finder_methods.rb:148:in `last'
18: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation/finder_methods.rb:553:in `ordered_relation'
17: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation/delegation.rb:92:in `primary_key'
16: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/attribute_methods/primary_key.rb:67:in `primary_key'
15: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/attribute_methods/primary_key.rb:79:in `reset_primary_key'
14: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/attribute_methods/primary_key.rb:91:in `get_primary_key'
13: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/model_schema.rb:340:in `table_exists?'
12: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_handling.rb:189:in `connection'
11: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_handling.rb:221:in `retrieve_connection'
10: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection'
9: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection'
8: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout'
7: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection'
6: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection'
5: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection'
4: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection'
3: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/postgresql_adapter.rb:46:in `postgresql_connection'
2: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
1: from /opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
/opt/gitlab/gitlabhq-13.8.0/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': FATAL: role "git" does not exist (PG::ConnectionBad)
Again it may be just my install.
In other news I clean up all ruby versions and whatever it was and this time after install I don't have to run bundle install and all other stuff to make gitlabhq run.