Review apps failing due to failed migration
The migration job fails with PG::InsufficientPrivilege: ERROR: permission denied to create extension "btree_gist"
.
This causes subsequent unicorn and sidekiq pods to fail during initialization of dependencies
container.
dependencies
init container log:
kubectl logs review-218040-all-ft83vo-unicorn-6494c47ffb-2kqnz -c dependencies
+ /scripts/set-config /var/opt/gitlab/templates /srv/gitlab/config
Begin parsing .erb files from /var/opt/gitlab/templates
Writing /srv/gitlab/config/gitlab.yml
Writing /srv/gitlab/config/cable.yml
Writing /srv/gitlab/config/database.yml
Writing /srv/gitlab/config/resque.yml
Copying other config files found in /var/opt/gitlab/templates
Copying smtp_settings.rb into /srv/gitlab/config
Copying puma.rb into /srv/gitlab/config
Copying unicorn.rb into /srv/gitlab/config
+ exec /scripts/wait-for-deps
Checking database connection and schema version
Database Schema - current: 20200519171058, codebase: 20200526120714
Checking database connection and schema version
Database Schema - current: 20200519171058, codebase: 20200526120714
Checking database connection and schema version
Database Schema - current: 20200519171058, codebase: 20200526120714
Checking database connection and schema version
Database Schema - current: 20200519171058, codebase: 20200526120714
Checking database connection and schema version
Database Schema - current: 20200519171058, codebase: 20200526120714
WARNING: Waiting for all services to be operational, and data migrations to complete.
If this container continues to fail / restart, please see:
https://docs.gitlab.com/charts/troubleshooting/index.html#application-containers-constantly-initializing
migrations
log
PG::InsufficientPrivilege: ERROR: permission denied to create extension "btree_gist"
HINT: Must be superuser to create this extension.
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in exec' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in
block (2 levels) in execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:91:in
block in execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
block (2 levels) in synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
block in synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/notifications/instrumenter.rb:24:in
instrument'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:712:in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:90:in
execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/marginalia-1.8.0/lib/marginalia.rb:71:in execute_with_marginalia' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:890:in
block in method_missing'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:858:in block in say_with_time' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:858:in
say_with_time'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:879:in method_missing' /srv/gitlab/db/migrate/20200515152649_enable_btree_gist_extension.rb:7:in
up'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:831:in exec_migration' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:812:in
block (2 levels) in migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:811:in block in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in
with_connection'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:810:in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1002:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1310:in block in execute_migration_in_transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1361:in
block in ddl_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in block in transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
block in within_new_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
within_new_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/transactions.rb:212:in
transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1361:in ddl_transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1309:in
execute_migration_in_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1281:in block in migrate_without_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1280:in
each'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1280:in migrate_without_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1229:in
block in migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1382:in with_advisory_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1229:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1061:in up' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1036:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/tasks/database_tasks.rb:238:in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:86:in
block (3 levels) in '
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:84:in each' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:84:in
block (2 levels) in '
/srv/gitlab/lib/tasks/gitlab/db.rake:49:in `block (3 levels) in '
Caused by:
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "btree_gist"
HINT: Must be superuser to create this extension.
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in exec' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in
block (2 levels) in execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:91:in
block in execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
block (2 levels) in synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
block in synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/notifications/instrumenter.rb:24:in
instrument'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:712:in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:90:in
execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/marginalia-1.8.0/lib/marginalia.rb:71:in execute_with_marginalia' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:890:in
block in method_missing'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:858:in block in say_with_time' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:858:in
say_with_time'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:879:in method_missing' /srv/gitlab/db/migrate/20200515152649_enable_btree_gist_extension.rb:7:in
up'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:831:in exec_migration' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:812:in
block (2 levels) in migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:811:in block in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in
with_connection'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:810:in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1002:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1310:in block in execute_migration_in_transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1361:in
block in ddl_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in block in transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
block in within_new_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
within_new_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/transactions.rb:212:in
transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1361:in ddl_transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1309:in
execute_migration_in_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1281:in block in migrate_without_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1280:in
each'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1280:in migrate_without_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1229:in
block in migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1382:in with_advisory_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1229:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1061:in up' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1036:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/tasks/database_tasks.rb:238:in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:86:in
block (3 levels) in '
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:84:in each' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:84:in
block (2 levels) in '
/srv/gitlab/lib/tasks/gitlab/db.rake:49:in `block (3 levels) in '
Caused by:
PG::InsufficientPrivilege: ERROR: permission denied to create extension "btree_gist"
HINT: Must be superuser to create this extension.
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in exec' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in
block (2 levels) in execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:91:in
block in execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
block (2 levels) in synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
block in synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
synchronize'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/notifications/instrumenter.rb:24:in
instrument'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:712:in log' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:90:in
execute'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/marginalia-1.8.0/lib/marginalia.rb:71:in execute_with_marginalia' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:890:in
block in method_missing'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:858:in block in say_with_time' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:858:in
say_with_time'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:879:in method_missing' /srv/gitlab/db/migrate/20200515152649_enable_btree_gist_extension.rb:7:in
up'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:831:in exec_migration' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:812:in
block (2 levels) in migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:811:in block in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in
with_connection'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:810:in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1002:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1310:in block in execute_migration_in_transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1361:in
block in ddl_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in block in transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
block in within_new_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
within_new_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/transactions.rb:212:in
transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1361:in ddl_transaction' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1309:in
execute_migration_in_transaction'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1281:in block in migrate_without_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1280:in
each'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1280:in migrate_without_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1229:in
block in migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1382:in with_advisory_lock' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1229:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1061:in up' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/migration.rb:1036:in
migrate'
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/tasks/database_tasks.rb:238:in migrate' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:86:in
block (3 levels) in '
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:84:in each' /srv/gitlab/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:84:in
block (2 levels) in '
/srv/gitlab/lib/tasks/gitlab/db.rake:49:in `block (3 levels) in '
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
== 20200515152649 EnableBtreeGistExtension: migrating =========================
-- execute("CREATE EXTENSION IF NOT EXISTS btree_gist")
</details>