Skip to content

Instantly share code, notes, and snippets.

@iamajvillalobos
Last active August 22, 2023 04:25
Show Gist options
  • Save iamajvillalobos/36b9e3a8529f5eba6bccc8bb23bbc959 to your computer and use it in GitHub Desktop.
Save iamajvillalobos/36b9e3a8529f5eba6bccc8bb23bbc959 to your computer and use it in GitHub Desktop.
~/Development/radiopaedia docker-development
❯ bin/setup
Login Succeeded
== Checking/Installing dependencies ==
The Gemfile's dependencies are satisfied
Waiting for database to become ready
[+] Running 4/0
✔ Network radiopaedia_default Created 0.0s
✔ Container radiopaedia-redis-1 Created 0.0s
✔ Container radiopaedia-s3-1 Created 0.0s
✔ Container radiopaedia-postgres-1 Created 0.0s
Attaching to radiopaedia-postgres-1, radiopaedia-redis-1, radiopaedia-s3-1
radiopaedia-redis-1 | 1:C 22 Aug 2023 04:21:12.591 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
radiopaedia-redis-1 | 1:C 22 Aug 2023 04:21:12.591 # Redis version=6.2.13, bits=64, commit=00000000, modified=0, pid=1, just started
radiopaedia-redis-1 | 1:C 22 Aug 2023 04:21:12.591 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.591 * monotonic clock: POSIX clock_gettime
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.592 * Running mode=standalone, port=6379.
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.592 # Server initialized
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.593 * Loading RDB produced by version 6.2.13
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.593 * RDB age 568 seconds
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.593 * RDB memory usage when created 0.92 Mb
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.593 # Done loading RDB, keys loaded: 25, keys expired: 0.
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.593 * DB loaded from disk: 0.000 seconds
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:21:12.593 * Ready to accept connections
radiopaedia-postgres-1 |
radiopaedia-postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
radiopaedia-postgres-1 |
radiopaedia-postgres-1 |
radiopaedia-postgres-1 | 2023-08-22 04:21:12.741 UTC [1] LOG: starting PostgreSQL 14.7 (Debian 14.7-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
radiopaedia-postgres-1 | 2023-08-22 04:21:12.741 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
radiopaedia-postgres-1 | 2023-08-22 04:21:12.741 UTC [1] LOG: listening on IPv6 address "::", port 5432
radiopaedia-postgres-1 | 2023-08-22 04:21:12.743 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
radiopaedia-postgres-1 | 2023-08-22 04:21:12.747 UTC [27] LOG: database system was shut down at 2023-08-22 04:20:57 UTC
radiopaedia-postgres-1 | 2023-08-22 04:21:12.751 UTC [1] LOG: database system is ready to accept connections
Postgres listening, waiting one more moment for post-bootstrap initialization
radiopaedia-postgres-1 | 2023-08-22 04:21:26.821 UTC [139] FATAL: database "radio_development" does not exist
radiopaedia-postgres-1 | 2023-08-22 04:21:26.853 UTC [140] FATAL: database "radio_development" does not exist
radiopaedia-postgres-1 | 2023-08-22 04:21:27.167 UTC [143] ERROR: database "mattermost-development" already exists
radiopaedia-postgres-1 | 2023-08-22 04:21:27.167 UTC [143] STATEMENT: CREATE DATABASE "mattermost-development" ENCODING = 'unicode'
Database 'mattermost-development' already exists
Created database 'radio_development'
Created database 'radio_test'
Created dbs
[+] Creating 1/0
✔ Container radiopaedia-postgres-1 Running 0.0s
{"level":"warn","msg":"DefaultServerLocale must be one of the supported locales. Setting DefaultServerLocale to en as default value."}
{"level":"warn","msg":"DefaultClientLocale must be one of the supported locales. Setting DefaultClientLocale to en as default value."}
{"level":"warn","msg":"DefaultServerLocale must be one of the supported locales. Setting DefaultServerLocale to en as default value."}
{"level":"warn","msg":"DefaultClientLocale must be one of the supported locales. Setting DefaultClientLocale to en as default value."}
{"level":"info","msg":"Pinging SQL","fields":{"dataSource":"\"postgres://%2A%2A%2A%2A:%2A%2A%2A%2A@postgres:5432/mattermost-development?connect_timeout=10\u0026sslmode=disable\"","database":"master"}}
{"level":"debug","msg":"Deleting any unused pre-release features"}
Database store correctly initialised
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-commands (p46a00), requested by @tiptap/core
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-dropcursor (paf341), requested by @tiptap/extension-dropcursor
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-gapcursor (p9ff80), requested by @tiptap/extension-gapcursor
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-history (p8dc28), requested by @tiptap/extension-history
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-keymap (p712cc), requested by @tiptap/core
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-model (p84425), requested by @tiptap/core
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-schema-list (p51fe1), requested by @tiptap/core
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-state (pac015), requested by @tiptap/core
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-state (pdf55f), requested by @tiptap/extension-code-block
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-state (p539a1), requested by @tiptap/extension-horizontal-rule
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-transform (pb7b23), requested by @tiptap/core
➤ YN0002: │ @tiptap/starter-kit@npm:2.0.0-beta.205 doesn't provide prosemirror-view (p54198), requested by @tiptap/core
➤ YN0060: │ radiopaedia@workspace:. provides cornerstone-core (pbdf36) with version 2.3.0, which doesn't satisfy what cornerstone-wado-image-loader requests
➤ YN0060: │ radiopaedia@workspace:. provides esbuild (p7059a) with version 0.18.2, which doesn't satisfy what esbuild-sass-plugin requests
➤ YN0002: │ radiopaedia@workspace:. doesn't provide glob (pcffae), requested by glob-promise
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (p433e0), requested by @welldone-software/why-did-you-render
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (pa73dd), requested by react-draggable
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (p98f80), requested by react-google-invisible-recaptcha
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (pbde1f), requested by react-tabs
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (p6c581), requested by react-test-renderer
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (p68054), requested by react-transition-group
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react (p8720e), requested by use-resize-observer
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react-dom (p63761), requested by react-draggable
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react-dom (p81f49), requested by react-transition-group
➤ YN0002: │ radiopaedia@workspace:. doesn't provide react-dom (p8e1f1), requested by use-resize-observer
➤ YN0060: │ radiopaedia@workspace:. provides typescript (pbb66e) with version 5.0.4, which doesn't satisfy what gts and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 0s 381ms
== Preparing database ==
/Users/ajvillalobos/Development/radiopaedia/app/lib/attachment_fu.rb:330: warning: undefining the allocator of T_DATA class FileMagic
radiopaedia-postgres-1 | 2023-08-22 04:22:40.704 UTC [261] ERROR: duplicate key value violates unique constraint "users_username_key"
radiopaedia-postgres-1 | 2023-08-22 04:22:40.704 UTC [261] DETAIL: Key (username)=(s) already exists.
radiopaedia-postgres-1 | 2023-08-22 04:22:40.704 UTC [261] STATEMENT: INSERT INTO "users" ("id", "createat", "updateat", "deleteat", "username", "password", "authdata", "authservice", "email", "emailverified", "nickname", "firstname", "lastname", "roles", "allowmarketing", "props", "notifyprops", "lastpasswordupdate", "lastpictureupdate", "failedattempts", "locale", "mfaactive", "mfasecret", "position", "timezone", "remoteid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) RETURNING "id"
rails aborted!
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "users_username_key"
DETAIL: Key (username)=(s) already exists.
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:814:in `exec_params'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:814:in `block (2 levels) in exec_no_cache'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:935:in `block in with_raw_connection'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:908:in `with_raw_connection'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:813:in `block in exec_no_cache'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:1039:in `log'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:812:in `exec_no_cache'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:792:in `execute_and_clear'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:63:in `exec_query'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:132:in `exec_insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:101:in `exec_insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:167:in `insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:496:in `_insert_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:1120:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/counter_cache.rb:169:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/locking/optimistic.rb:79:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/attribute_methods/dirty.rb:222:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:461:in `block in _create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:107:in `run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:929:in `_run_create_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:461:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/timestamp.rb:108:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:1091:in `create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:457:in `block in create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/autosave_association.rb:370:in `around_save_collection_association'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:138:in `run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:929:in `_run_save_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:457:in `create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/timestamp.rb:126:in `create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:648:in `save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/validations.rb:55:in `save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:304:in `block in save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:356:in `block in with_transaction_returning_status'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:455:in `block in within_new_transaction'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:453:in `within_new_transaction'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:352:in `with_transaction_returning_status'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:304:in `save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/suppressor.rb:54:in `save!'
/Users/ajvillalobos/Development/radiopaedia/app/models/mattermost/user.rb:81:in `sync_from_user!'
/Users/ajvillalobos/Development/radiopaedia/app/models/mattermost/user.rb:117:in `create_from_user'
/Users/ajvillalobos/Development/radiopaedia/app/workers/chat_user_sync_worker.rb:9:in `perform'
/Users/ajvillalobos/Development/radiopaedia/lib/tasks/chat.rake:72:in `block (3 levels) in <top (required)>'
/Users/ajvillalobos/Development/radiopaedia/lib/tasks/chat.rake:72:in `each'
/Users/ajvillalobos/Development/radiopaedia/lib/tasks/chat.rake:72:in `block (2 levels) in <top (required)>'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/command.rb:51:in `invoke'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands.rb:18:in `<top (required)>'
Caused by:
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "users_username_key"
DETAIL: Key (username)=(s) already exists.
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:814:in `exec_params'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:814:in `block (2 levels) in exec_no_cache'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:935:in `block in with_raw_connection'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:908:in `with_raw_connection'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:813:in `block in exec_no_cache'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:1039:in `log'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:812:in `exec_no_cache'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:792:in `execute_and_clear'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:63:in `exec_query'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:132:in `exec_insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:101:in `exec_insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:167:in `insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `insert'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:496:in `_insert_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:1120:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/counter_cache.rb:169:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/locking/optimistic.rb:79:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/attribute_methods/dirty.rb:222:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:461:in `block in _create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:107:in `run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:929:in `_run_create_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:461:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/timestamp.rb:108:in `_create_record'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:1091:in `create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:457:in `block in create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/autosave_association.rb:370:in `around_save_collection_association'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:138:in `run_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/callbacks.rb:929:in `_run_save_callbacks'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/callbacks.rb:457:in `create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/timestamp.rb:126:in `create_or_update'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/persistence.rb:648:in `save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/validations.rb:55:in `save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:304:in `block in save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:356:in `block in with_transaction_returning_status'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:455:in `block in within_new_transaction'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:453:in `within_new_transaction'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:352:in `with_transaction_returning_status'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/transactions.rb:304:in `save!'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/activerecord/lib/active_record/suppressor.rb:54:in `save!'
/Users/ajvillalobos/Development/radiopaedia/app/models/mattermost/user.rb:81:in `sync_from_user!'
/Users/ajvillalobos/Development/radiopaedia/app/models/mattermost/user.rb:117:in `create_from_user'
/Users/ajvillalobos/Development/radiopaedia/app/workers/chat_user_sync_worker.rb:9:in `perform'
/Users/ajvillalobos/Development/radiopaedia/lib/tasks/chat.rake:72:in `block (3 levels) in <top (required)>'
/Users/ajvillalobos/Development/radiopaedia/lib/tasks/chat.rake:72:in `each'
/Users/ajvillalobos/Development/radiopaedia/lib/tasks/chat.rake:72:in `block (2 levels) in <top (required)>'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/command.rb:51:in `invoke'
/Users/ajvillalobos/Development/radiopaedia/vendor/cache/rails-b945dfbb69c5/railties/lib/rails/commands.rb:18:in `<top (required)>'
Tasks: TOP => chat:setup_test_env
(See full trace by running task with --trace)
radiopaedia-postgres-1 | 2023-08-22 04:22:40.856 UTC [1] LOG: received fast shutdown request
radiopaedia-redis-1 | 1:signal-handler (1692678160) Received SIGTERM scheduling shutdown...
radiopaedia-postgres-1 | 2023-08-22 04:22:40.857 UTC [1] LOG: aborting any active transactions
radiopaedia-postgres-1 | 2023-08-22 04:22:40.859 UTC [1] LOG: background worker "logical replication launcher" (PID 33) exited with exit code 1
radiopaedia-postgres-1 | 2023-08-22 04:22:40.863 UTC [28] LOG: shutting down
[+] Running 0/0
⠋ Container radiopaedia-redis-1 Stopping0.1s
⠋ Container radiopaedia-postgres-1 Stopping0.1s
⠋ Container radiopaedia-s3-1 Stopping0.1s
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:22:40.945 # User requested shutdown...
radiopaedia-redis-1 | 1:M 22 Aug 2023 04:22:40.945 * Saving the final RDB snapshot before exiting.
radiopaedia-postgres-1 | 2023-08-22 04:22:40.946 UTC [1] LOG: database system is shut down
[+] Running 1/3is-1 | 1:M 22 Aug 2023 04:22:40.946 * DB saved on disk
⠙ Container radiopaedia-redis-1 Stopping0.2s .946 # Redis is now ready to exit, bye bye...
[+] Running 4/3diopaedia-postgres-1 Stopping0.2s
✔ Container radiopaedia-redis-1 Removed0.2s
✔ Container radiopaedia-postgres-1 Removed0.2s
✔ Container radiopaedia-s3-1 Removed0.1s
✔ Network radiopaedia_default Removed0.0s
/Users/ajvillalobos/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/childprocess-4.1.0/lib/childprocess/unix/process.rb:73:in `kill': Operation not permitted (Errno::EPERM)
from /Users/ajvillalobos/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/childprocess-4.1.0/lib/childprocess/unix/process.rb:73:in `send_signal'
from /Users/ajvillalobos/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/childprocess-4.1.0/lib/childprocess/unix/process.rb:62:in `send_term'
from /Users/ajvillalobos/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/childprocess-4.1.0/lib/childprocess/unix/process.rb:12:in `stop'
from bin/setup:98:in `block in <main>'
from /Users/ajvillalobos/.rbenv/versions/3.2.2/lib/ruby/3.2.0/fileutils.rb:244:in `chdir'
from /Users/ajvillalobos/.rbenv/versions/3.2.2/lib/ruby/3.2.0/fileutils.rb:244:in `cd'
from bin/setup:29:in `<main>'
~/Development/radiopaedia docker-development 1m 36s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment