You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
My application is in a container. And my fron, which is front and back, is no longer running because the bank restore is not running
docker logs 2b619051d2d6
Invoking Migrations
== 0 EnableExtensions: migrating ==============================================
-- enable_extension(:unaccent)
-> 0.0130s
== 0 EnableExtensions: migrated (0.0131s) =====================================
== 20170806125915 CreateActiveStorageTables: migrating ========================
-- create_table(:active_storage_blobs)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::DuplicateTable: ERROR: relation "active_storage_blobs" already exists
: CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in exec' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in block (2 levels) in execute'
/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/concurrency/share_lock.rb:187:in yield_shares'
/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:74:in block in execute'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:581:in block (2 levels) in log' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:580:in block in log'
/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/notifications/instrumenter.rb:23:in instrument' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:571:in log'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:73:in execute' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/schema_statements.rb:311:in create_table'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:871:in block in method_missing' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in block in say_with_time'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in say_with_time' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:860:in method_missing'
/app/spa/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb:4:in change' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:814:in exec_migration'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:798:in block (2 levels) in migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:797:in block in migrate'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in with_connection' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:796:in migrate'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:977:in migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1292:in block in execute_migration_in_transaction'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in block in ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in block in transaction'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:in block in within_new_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in within_new_transaction'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in transaction'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1291:in execute_migration_in_transaction'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1263:in block in migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in each'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in block in migrate'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1363:in with_advisory_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in migrate'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1036:in up' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1011:in migrate'
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/tasks/database_tasks.rb:172:in migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/railties/databases.rake:60:in block (2 levels) in
My application is in a container. And my fron, which is front and back, is no longer running because the bank restore is not running
docker logs 2b619051d2d6
Invoking Migrations
== 0 EnableExtensions: migrating ==============================================
-- enable_extension(:unaccent)
-> 0.0130s
== 0 EnableExtensions: migrated (0.0131s) =====================================
== 20170806125915 CreateActiveStorageTables: migrating ========================
-- create_table(:active_storage_blobs)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::DuplicateTable: ERROR: relation "active_storage_blobs" already exists
': CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in
exec' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in
block (2 levels) in execute'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:48:in
block in permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:47:in
permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:74:in
block in execute'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:581:in
block (2 levels) in log' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:580:in
block in log'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/notifications/instrumenter.rb:23:in
instrument' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:571:in
log'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:73:in
execute' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/schema_statements.rb:311:in
create_table'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:871:in
block in method_missing' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in
block in say_with_time'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in
say_with_time' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:860:in
method_missing'/app/spa/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb:4:in
change' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:814:in
exec_migration'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:798:in
block (2 levels) in migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:797:in
block in migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in
with_connection' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:796:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:977:in
migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1292:in
block in execute_migration_in_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in
block in ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in
block in transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:in
block in within_new_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in
within_new_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in
transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in
transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in
ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1291:in
execute_migration_in_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1263:in
block in migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in
each'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in
migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in
block in migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1363:in
with_advisory_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1036:in
up' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1011:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/tasks/database_tasks.rb:172:in
migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/railties/databases.rake:60:in
block (2 levels) in/usr/local/bundle/ruby/2.6.0/gems/airbrake-13.0.3/lib/airbrake/rake.rb:17:in
execute' /app/spa/lib/tasks/monitor_concurrent.rake:10:in
block (4 levels) in '/app/spa/lib/tasks/monitor_concurrent.rake:7:in
loop' /app/spa/lib/tasks/monitor_concurrent.rake:7:in
block (3 levels) in '/usr/local/bundle/ruby/2.6.0/gems/airbrake-13.0.3/lib/airbrake/rake.rb:17:in
execute' /usr/local/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in
<top (required)>'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:58:in
load' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:58:in
kernel_load'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:23:in
run' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:483:in
exec'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
run' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor.rb:392:in
dispatch' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:31:in
dispatch'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
start' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:25:in
start'/usr/local/bundle/gems/bundler-2.3.11/exe/bundle:48:in
block in <top (required)>' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/friendly_errors.rb:103:in
with_friendly_errors'/usr/local/bundle/gems/bundler-2.3.11/exe/bundle:36:in
<top (required)>' /usr/local/bundle/bin/bundle:23:in
load'/usr/local/bundle/bin/bundle:23:in `'
Caused by:
'ActiveRecord::StatementInvalid: PG::DuplicateTable: ERROR: relation "active_storage_blobs" already exists
: CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in
exec' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in
block (2 levels) in execute'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:48:in
block in permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:47:in
permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:74:in
block in execute'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:581:in
block (2 levels) in log' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:580:in
block in log'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/notifications/instrumenter.rb:23:in
instrument' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:571:in
log'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:73:in
execute' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/schema_statements.rb:311:in
create_table'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:871:in
block in method_missing' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in
block in say_with_time'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in
say_with_time' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:860:in
method_missing'/app/spa/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb:4:in
change' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:814:in
exec_migration'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:798:in
block (2 levels) in migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:797:in
block in migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in
with_connection' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:796:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:977:in
migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1292:in
block in execute_migration_in_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in
block in ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in
block in transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:in
block in within_new_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in
within_new_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in
transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in
transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in
ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1291:in
execute_migration_in_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1263:in
block in migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in
each'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in
migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in
block in migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1363:in
with_advisory_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1036:in
up' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1011:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/tasks/database_tasks.rb:172:in
migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/railties/databases.rake:60:in
block (2 levels) in/usr/local/bundle/ruby/2.6.0/gems/airbrake-13.0.3/lib/airbrake/rake.rb:17:in
execute' /app/spa/lib/tasks/monitor_concurrent.rake:10:in
block (4 levels) in '/app/spa/lib/tasks/monitor_concurrent.rake:7:in
loop' /app/spa/lib/tasks/monitor_concurrent.rake:7:in
block (3 levels) in '/usr/local/bundle/ruby/2.6.0/gems/airbrake-13.0.3/lib/airbrake/rake.rb:17:in
execute' /usr/local/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in
<top (required)>'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:58:in
load' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:58:in
kernel_load'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:23:in
run' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:483:in
exec'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
run' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor.rb:392:in
dispatch' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:31:in
dispatch'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
start' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:25:in
start'/usr/local/bundle/gems/bundler-2.3.11/exe/bundle:48:in
block in <top (required)>' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/friendly_errors.rb:103:in
with_friendly_errors'/usr/local/bundle/gems/bundler-2.3.11/exe/bundle:36:in
<top (required)>' /usr/local/bundle/bin/bundle:23:in
load'/usr/local/bundle/bin/bundle:23:in `'
Caused by:
'PG::DuplicateTable: ERROR: relation "active_storage_blobs" already exists
/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in
exec' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:75:in
block (2 levels) in execute'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:48:in
block in permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies/interlock.rb:47:in
permit_concurrent_loads' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:74:in
block in execute'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:581:in
block (2 levels) in log' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:580:in
block in log'/usr/local/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/notifications/instrumenter.rb:23:in
instrument' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract_adapter.rb:571:in
log'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:73:in
execute' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/schema_statements.rb:311:in
create_table'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:871:in
block in method_missing' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in
block in say_with_time'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:840:in
say_with_time' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:860:in
method_missing'/app/spa/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb:4:in
change' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:814:in
exec_migration'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:798:in
block (2 levels) in migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:797:in
block in migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in
with_connection' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:796:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:977:in
migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1292:in
block in execute_migration_in_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in
block in ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in
block in transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:in
block in within_new_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in
within_new_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in
transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in
transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1343:in
ddl_transaction' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1291:in
execute_migration_in_transaction'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1263:in
block in migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in
each'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1262:in
migrate_without_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in
block in migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1363:in
with_advisory_lock' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1210:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1036:in
up' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:1011:in
migrate'/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/tasks/database_tasks.rb:172:in
migrate' /usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/railties/databases.rake:60:in
block (2 levels) in/usr/local/bundle/ruby/2.6.0/gems/airbrake-13.0.3/lib/airbrake/rake.rb:17:in
execute' /app/spa/lib/tasks/monitor_concurrent.rake:10:in
block (4 levels) in '/app/spa/lib/tasks/monitor_concurrent.rake:7:in
loop' /app/spa/lib/tasks/monitor_concurrent.rake:7:in
block (3 levels) in '/usr/local/bundle/ruby/2.6.0/gems/airbrake-13.0.3/lib/airbrake/rake.rb:17:in
execute' /usr/local/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in
<top (required)>'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:58:in
load' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:58:in
kernel_load'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli/exec.rb:23:in
run' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:483:in
exec'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
run' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor.rb:392:in
dispatch' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:31:in
dispatch'/usr/local/bundle/gems/bundler-2.3.11/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
start' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/cli.rb:25:in
start'/usr/local/bundle/gems/bundler-2.3.11/exe/bundle:48:in
block in <top (required)>' /usr/local/bundle/gems/bundler-2.3.11/lib/bundler/friendly_errors.rb:103:in
with_friendly_errors'/usr/local/bundle/gems/bundler-2.3.11/exe/bundle:36:in
<top (required)>' /usr/local/bundle/bin/bundle:23:in
load'/usr/local/bundle/bin/bundle:23:in `'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
/usr/local/bundle/ruby/2.6.0/gems/brdata-3.3.0/lib/brdata.rb:37: warning: already initialized constant FERIADOS_PATH
/usr/local/bundle/ruby/2.6.0/gems/brdata-3.3.0/lib/brdata.rb:36: warning: previous definition of FERIADOS_PATH was here
The text was updated successfully, but these errors were encountered: