재빌드 후 다음 오류가 반환됩니다: #<Process::Status: pid 1631 exit 1


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' 실행 실패, 반환 코드: #<Process::Status: pid 1631 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}

아래는 전체 로그입니다. 도와주실 분 계신가요?

/usr/local/bin/pups --stdin
I, [2024-12-26T12:50:52.207241 #1]  INFO -- : Reading from stdin
I, [2024-12-26T12:50:52.223092 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-12-26T12:50:52.226838 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-12-26T12:50:52.231373 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-12-26T12:50:52.234873 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown:
I, [2024-12-26T12:50:52.238419 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-12-26T12:50:52.240056 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /                                                                                    etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.240707 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql                                                                                    .conf
I, [2024-12-26T12:50:52.241185 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgr                                                                                    esql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.241563 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main                                                                                    /postgresql.conf
I, [2024-12-26T12:50:52.241951 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.242323 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_sea                                                                                    rch_config' in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.242699 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/pos                                                                                    tgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.243215 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresq                                                                                    l/13/main/postgresql.conf
I, [2024-12-26T12:50:52.243612 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_                                                                                    statement in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.244219 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postg                                                                                    resql/13/main/pg_hba.conf
I, [2024-12-26T12:50:52.244634 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba                                                                                    .conf
I, [2024-12-26T12:50:52.244999 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba                                                                                    .conf
I, [2024-12-26T12:50:52.245528 #1]  INFO -- : > if [ -f /root/install_postgres ]; then
  /root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi

I, [2024-12-26T12:50:58.805083 #1]  INFO -- : Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.

I, [2024-12-26T12:50:58.805434 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-                                                                                    cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-12-26T12:50:58.812375 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-12-26T12:50:58.818965 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-12-26T12:50:58.823036 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-12-26T12:50:58.823281 #1]  INFO -- : > sleep 5
2024-12-26 12:50:58.899 GMT [39] LOG:  skipping missing configuration file "/shared/postgres_data/postgresql.auto.conf"
2024-12-26 12:50:58.903 UTC [39] FATAL:  data directory "/shared/postgres_data" has wrong ownership
2024-12-26 12:50:58.903 UTC [39] HINT:  The server must be started by the user that owns the data directory.
I, [2024-12-26T12:51:03.826002 #1]  INFO -- :
I, [2024-12-26T12:51:03.826212 #1]  INFO -- : > /usr/local/bin/create_db
createdb: error: could not connect to database template1: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or dire                                                                                    ctory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
I, [2024-12-26T12:51:04.472673 #1]  INFO -- :
I, [2024-12-26T12:51:04.472805 #1]  INFO -- : > echo postgres installed!
I, [2024-12-26T12:51:04.474368 #1]  INFO -- : postgres installed!

I, [2024-12-26T12:51:04.479147 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2024-12-26T12:51:04.483492 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-12-26T12:51:04.487637 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-12-26T12:51:04.488582 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.489262 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.489751 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-12-26T12:51:04.493498 #1]  INFO -- :
I, [2024-12-26T12:51:04.493959 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.494534 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.495122 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.495772 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.496298 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-12-26T12:51:04.496781 #1]  INFO -- : > echo redis installed
I, [2024-12-26T12:51:04.498507 #1]  INFO -- : redis installed

I, [2024-12-26T12:51:04.498696 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-12-26T12:51:04.502939 #1]  INFO -- : logfile ""

I, [2024-12-26T12:51:04.503105 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-12-26T12:51:04.504381 #1]  INFO -- : > sleep 10
87:C 26 Dec 2024 12:51:04.522 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
87:C 26 Dec 2024 12:51:04.522 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=87, just started
87:C 26 Dec 2024 12:51:04.522 # Configuration loaded
87:M 26 Dec 2024 12:51:04.523 * monotonic clock: POSIX clock_gettime
87:M 26 Dec 2024 12:51:04.525 * Running mode=standalone, port=6379.
87:M 26 Dec 2024 12:51:04.525 # Server initialized
87:M 26 Dec 2024 12:51:04.525 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory conditi                                                                                    on. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue                                                                                     add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
87:M 26 Dec 2024 12:51:04.526 * Loading RDB produced by version 7.0.7
87:M 26 Dec 2024 12:51:04.526 * RDB age 1152 seconds
87:M 26 Dec 2024 12:51:04.526 * RDB memory usage when created 0.92 Mb
87:M 26 Dec 2024 12:51:04.526 * Done loading RDB, keys loaded: 1, keys expired: 0.
87:M 26 Dec 2024 12:51:04.526 * DB loaded from disk: 0.000 seconds
87:M 26 Dec 2024 12:51:04.526 * Ready to accept connections
I, [2024-12-26T12:51:14.506650 #1]  INFO -- :
I, [2024-12-26T12:51:14.507053 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-12-26T12:51:14.512648 #1]  INFO -- : thpoff is installed!

I, [2024-12-26T12:51:14.513141 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2024-12-26T12:51:14.599767 #1]  INFO -- :
I, [2024-12-26T12:51:14.599873 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2024-12-26T12:51:14.687292 #1]  INFO -- :
I, [2024-12-26T12:51:14.687398 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-12-26T12:51:14.767418 #1]  INFO -- :
I, [2024-12-26T12:51:14.767643 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-12-26T12:51:14.770302 #1]  INFO -- :
I, [2024-12-26T12:51:14.772555 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2024-12-26T12:51:14.780855 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-12-26T12:51:14.784714 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-12-26T12:51:14.788282 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-12-26T12:51:14.791993 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-12-26T12:51:14.795425 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-12-26T12:51:14.795568 #1]  INFO -- : Replacing # postgres with if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1
 in /etc/service/unicorn/run
I, [2024-12-26T12:51:14.797041 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-12-26T12:51:15.572806 #1]  INFO -- :
I, [2024-12-26T12:51:15.572932 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
'
From https://github.com/discourse/discourse
 - [deleted]             (none)     -> origin/0-a-extra-item-classes
 - [deleted]             (none)     -> origin/abstract_autocomplete_textarea
 - [deleted]             (none)     -> origin/add-plugin-wrapper-to-user-profile-avatar
 - [deleted]             (none)     -> origin/better-conflict-handling
 - [deleted]             (none)     -> origin/custom-flag-default-translation
 - [deleted]             (none)     -> origin/dependabot/bundler/sass-embedded-1.81.0
 - [deleted]             (none)     -> origin/dependabot/bundler/webrick-1.9.1
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/sass-1.81.0
 - [deleted]             (none)     -> origin/dev/ember-5-12
 - [deleted]             (none)     -> origin/feature/backup-cli-sql-only-option
 - [deleted]             (none)     -> origin/feature/block-ip-and-email-to-bulk-delete
 - [deleted]             (none)     -> origin/fix-undefined-controller
 - [deleted]             (none)     -> origin/fix/hide-profiles
 - [deleted]             (none)     -> origin/mobile-firefox-keyboard-fix
 - [deleted]             (none)     -> origin/relax-emoji-sanitization
 - [deleted]             (none)     -> origin/separate_upload_placeholder
 - [deleted]             (none)     -> origin/update-robots-desc
   251333995..bf3279d75  main                    -> origin/main
 * [new branch]          0-a-gjs-comp            -> origin/0-a-gjs-comp
 * [new branch]          0-a-no-nest             -> origin/0-a-no-nest
 * [new branch]          0-a-presence            -> origin/0-a-presence
 * [new branch]          add-devenv              -> origin/add-devenv
 + 8741e0f07...04bf23c03 br/directory            -> origin/br/directory  (forced update)
 * [new branch]          category-page-mobile    -> origin/category-page-mobile
   07c91ff5b..1a3925b17  composer_toolbar_improv -> origin/composer_toolbar_improv
 * [new branch]          dependabot/bundler/mocha-2.7.1 -> origin/dependabot/bundler/mocha-2.7.1
 * [new branch]          dependabot/bundler/nokogiri-1.18.0 -> origin/dependabot/bundler/nokogiri-1.18.0
 * [new branch]          dependabot/bundler/sass-embedded-1.83.0 -> origin/dependabot/bundler/sass-embedded-1.83.0
 * [new branch]          dependabot/npm_and_yarn/ember-cli-6.1.0 -> origin/dependabot/npm_and_yarn/ember-cli-6.1.0
 * [new branch]          dependabot/npm_and_yarn/highlightjs-4b4c138b28 -> origin/dependabot/npm_and_yarn/highlightjs-4b4c138b28
 * [new branch]          dependabot/npm_and_yarn/sass-1.83.0 -> origin/dependabot/npm_and_yarn/sass-1.83.0
 * [new branch]          dev-no-text-on-yields   -> origin/dev-no-text-on-yields
 * [new branch]          dev-update-svg-icon-subset-site-setting-help-text -> origin/dev-update-svg-icon-subset-site-setting-help-text
 + d5f594c07...3759d9cf2 dev/admin-api-ui-guidelines -> origin/dev/admin-api-ui-guidelines  (forced update)
 * [new branch]          dev/admin-webhooks-ui-guidelines -> origin/dev/admin-webhooks-ui-guidelines
 * [new branch]          dev/import-support-discourse-reactions-plugin -> origin/dev/import-support-discourse-reactions-plugin
 * [new branch]          dev/settable-fields     -> origin/dev/settable-fields
 * [new branch]          embedding-ux            -> origin/embedding-ux
 * [new branch]          feature/add-trigger-on-option-to-on-tag-change-automation -> origin/feature/add-trigger-on-option-to-on-tag-change-automation
 * [new branch]          feature/default-value-to-fields-in-automation -> origin/feature/default-value-to-fields-in-automation
 * [new branch]          feature/option-for-optional-name-at-signup -> origin/feature/option-for-optional-name-at-signup
 + 2921205f2...7902d7260 feature/wizard-look-and-feel-improvements -> origin/feature/wizard-look-and-feel-improvements  (forced update)
 * [new branch]          fitzy/org-runners       -> origin/fitzy/org-runners
 * [new branch]          fix-chat                -> origin/fix-chat
 * [new branch]          fix-firefox-android-followup -> origin/fix-firefox-android-followup
 * [new branch]          fix-is-replying-when-offline -> origin/fix-is-replying-when-offline
 * [new branch]          fix-open-composer-error -> origin/fix-open-composer-error
 * [new branch]          hide-login-outlets      -> origin/hide-login-outlets
 * [new branch]          i18n/banned-lint        -> origin/i18n/banned-lint
 * [new branch]          issue/allow-admin-to-use-reserved-usernames -> origin/issue/allow-admin-to-use-reserved-usernames
 + 50c0a90ba...56e8c5245 less_invasive_autocomplete -> origin/less_invasive_autocomplete  (forced update)
 * [new branch]          login-css               -> origin/login-css
 + 8834e37c4...d502d7c37 loic-enable-rspec-rule  -> origin/loic-enable-rspec-rule  (forced update)
 * [new branch]          mt/fix-poll-options     -> origin/mt/fix-poll-options
 + 1fc526eb4...9e46da1b7 mt/idb                  -> origin/mt/idb  (forced update)
 + 72f3215c0...eaded6223 mt/pr4                  -> origin/mt/pr4  (forced update)
 * [new branch]          multiple-drafts-dropdown -> origin/multiple-drafts-dropdown
 * [new branch]          plugin-outlet-for-full-page-search-container-and-filter -> origin/plugin-outlet-for-full-page-search-container-and-filter
 * [new branch]          plugin-outlet-on-full-page-search-container-and-filter -> origin/plugin-outlet-on-full-page-search-container-and-filter
 * [new branch]          plugin-outlet-on-full-page-search-container-and-filter-1 -> origin/plugin-outlet-on-full-page-search-container-and-filter-1
 * [new branch]          post-dup-event          -> origin/post-dup-event
 * [new branch]          reapply_refactor        -> origin/reapply_refactor
 * [new branch]          refactor-mobile-coposer-position -> origin/refactor-mobile-coposer-position
 * [new branch]          refactor-mobile-coposer-position-replace-actions -> origin/refactor-mobile-coposer-position-replace-actions
 * [new branch]          remove-u-blocked        -> origin/remove-u-blocked
 * [new branch]          renato/pm               -> origin/renato/pm
 * [new branch]          skip_compressing_assets_if_assets_is_already_on_s3 -> origin/skip_compressing_assets_if_assets_is_already_on_s3
 * [new branch]          speed_up_bundle         -> origin/speed_up_bundle
 * [new branch]          splash-screen-optim     -> origin/splash-screen-optim
 * [new branch]          split-badge-grant       -> origin/split-badge-grant
   f5b108bf9..bb7b5ec70  stable                  -> origin/stable
   251333995..bf3279d75  tests-passed            -> origin/tests-passed
 * [new branch]          topic-tracking-dmenu    -> origin/topic-tracking-dmenu
 * [new branch]          translations-from-crowdin-main -> origin/translations-from-crowdin-main
 * [new branch]          translations-from-crowdin-stable -> origin/translations-from-crowdin-stable
 * [new branch]          user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
 * [new branch]          user-menu-plugin-outlet -> origin/user-menu-plugin-outlet
 * [new branch]          vite                    -> origin/vite
 * [new branch]          wip-merged-topics       -> origin/wip-merged-topics
 t [tag update]          beta                    -> beta
 t [tag update]          latest-release          -> latest-release
 * [new tag]             v3.3.3                  -> v3.3.3
 * [new tag]             v3.4.0.beta3            -> v3.4.0.beta3
I, [2024-12-26T12:51:18.637477 #1]  INFO -- :
I, [2024-12-26T12:51:18.637601 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout tests-passed
  fi
'
Switched to a new branch 'tests-passed'
I, [2024-12-26T12:51:32.760569 #1]  INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.

I, [2024-12-26T12:51:32.760686 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-12-26T12:51:32.769978 #1]  INFO -- :
I, [2024-12-26T12:51:32.770075 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-12-26T12:51:32.772833 #1]  INFO -- :
I, [2024-12-26T12:51:32.772915 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-12-26T12:51:32.775404 #1]  INFO -- :
I, [2024-12-26T12:51:32.775482 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-12-26T12:51:32.778308 #1]  INFO -- :
I, [2024-12-26T12:51:32.778383 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-12-26T12:51:32.780841 #1]  INFO -- :
I, [2024-12-26T12:51:32.780926 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-12-26T12:51:32.784451 #1]  INFO -- :
I, [2024-12-26T12:51:32.784543 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-12-26T12:51:32.787109 #1]  INFO -- :
I, [2024-12-26T12:51:32.787191 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-12-26T12:51:32.790727 #1]  INFO -- :
I, [2024-12-26T12:51:32.790896 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
I, [2024-12-26T12:51:32.794789 #1]  INFO -- :
I, [2024-12-26T12:51:32.794877 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-12-26T12:51:32.798800 #1]  INFO -- :
I, [2024-12-26T12:51:32.798885 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-12-26T12:51:32.802599 #1]  INFO -- :
I, [2024-12-26T12:51:32.802677 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-12-26T12:51:32.806850 #1]  INFO -- :
I, [2024-12-26T12:51:32.806935 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-12-26T12:51:32.810393 #1]  INFO -- :
I, [2024-12-26T12:51:32.810479 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-12-26T12:51:32.888664 #1]  INFO -- :
I, [2024-12-26T12:51:32.888804 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-12-26T12:51:32.890931 #1]  INFO -- :
I, [2024-12-26T12:51:32.891136 #1]  INFO -- : Replacing # redis with if [ ! -d /shared/redis_data ]; then
  install -d -m 0755 -o redis -g redis /shared/redis_data
fi
sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-12-26T12:51:32.891767 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-12-26T12:51:35.362595 #1]  INFO -- :
I, [2024-12-26T12:51:35.362724 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2024-12-26T12:51:37.397513 #1]  INFO -- :
I, [2024-12-26T12:51:37.397655 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2024-12-26T12:51:39.372227 #1]  INFO -- :
I, [2024-12-26T12:51:39.372361 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
I, [2024-12-26T12:51:43.860556 #1]  INFO -- :
I, [2024-12-26T12:51:43.860787 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
I, [2024-12-26T12:51:45.872895 #1]  INFO -- :
I, [2024-12-26T12:51:45.873053 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-policy.git
Cloning into 'discourse-policy'...
I, [2024-12-26T12:51:47.722593 #1]  INFO -- :
I, [2024-12-26T12:51:47.722971 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.727257 #1]  INFO -- :
I, [2024-12-26T12:51:47.727641 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-12-26T12:51:47.729606 #1]  INFO -- :
I, [2024-12-26T12:51:47.729712 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-12-26T12:51:47.731912 #1]  INFO -- :
I, [2024-12-26T12:51:47.732880 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-12-26T12:51:47.733403 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.733788 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.734148 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.734484 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-12-26T12:51:47.734778 #1]  INFO -- : > echo "done configuring web"
I, [2024-12-26T12:51:47.736525 #1]  INFO -- : done configuring web

I, [2024-12-26T12:51:47.736920 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-12-26T12:51:48.089770 #1]  INFO -- :
I, [2024-12-26T12:51:48.089887 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-12-26T12:51:52.139597 #1]  INFO -- :
I, [2024-12-26T12:51:52.140257 #1]  INFO -- : > cd /var/www/discourse && if [ -f yarn.lock ]; then
  if [ -d node_modules/.pnpm ]; then
    echo "This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up..."
    find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +
  fi
  su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
  su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'
fi
I, [2024-12-26T12:52:29.760119 #1]  INFO -- : Scope: all 18 workspace projects
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +232 -97
++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
Progress: resolved 232, reused 164, downloaded 0, added 2
Progress: resolved 232, reused 164, downloaded 0, added 29
Progress: resolved 232, reused 164, downloaded 0, added 45
Progress: resolved 232, reused 164, downloaded 14, added 59
Progress: resolved 232, reused 164, downloaded 19, added 71
Progress: resolved 232, reused 164, downloaded 29, added 79
Progress: resolved 232, reused 164, downloaded 46, added 94
Progress: resolved 232, reused 164, downloaded 59, added 106
Progress: resolved 232, reused 164, downloaded 60, added 109
Progress: resolved 232, reused 164, downloaded 65, added 111
Progress: resolved 232, reused 164, downloaded 67, added 113
Progress: resolved 232, reused 164, downloaded 67, added 116
Progress: resolved 232, reused 164, downloaded 67, added 122
Progress: resolved 232, reused 164, downloaded 67, added 123
Progress: resolved 232, reused 164, downloaded 68, added 125
Progress: resolved 232, reused 164, downloaded 68, added 126
Progress: resolved 232, reused 164, downloaded 68, added 127
Progress: resolved 232, reused 164, downloaded 68, added 127, done
.../node_modules/@swc/core postinstall$ node postinstall.js
.../esbuild@0.24.2/node_modules/esbuild postinstall$ node install.js
.../node_modules/lefthook postinstall$ node postinstall.js
.../node_modules/@swc/core postinstall: Done
.../node_modules/lefthook postinstall: Done
.../esbuild@0.24.2/node_modules/esbuild postinstall: Done

devDependencies:
- @swc/core 1.9.3
+ @swc/core 1.10.1
- esbuild 0.24.0
+ esbuild 0.24.2
- lefthook 1.8.5
+ lefthook 1.10.0
- lint-to-the-future 2.5.1
+ lint-to-the-future 2.6.1
- lint-to-the-future-ember-template 2.0.0
+ lint-to-the-future-ember-template 3.0.0
- puppeteer-core 23.9.0
+ puppeteer-core 23.11.1
- terser 5.36.0
+ terser 5.37.0

Done in 34.7s
Lockfile is up to date, resolution step is skipped
Already up to date


I, [2024-12-26T12:52:29.760701 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.2
      - 3.1.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
I, [2024-12-26T12:53:29.944202 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/........
Fetching bigdecimal 3.1.9
Fetching minitest 5.25.4
Fetching logger 1.6.4
Installing bigdecimal 3.1.9 with native extensions
Installing minitest 5.25.4
Installing logger 1.6.4
Fetching securerandom 0.4.1
Fetching erubi 1.13.1
Installing securerandom 0.4.1
Fetching useragent 0.16.11
Installing erubi 1.13.1
Fetching timeout 0.4.3
Installing useragent 0.16.11
Fetching openssl 3.3.0
Installing timeout 0.4.3
Fetching csv 3.3.2
Installing openssl 3.3.0 with native extensions
Installing csv 3.3.2
Fetching discourse-fonts 0.0.12
Installing discourse-fonts 0.0.12
json 2.9.1 가져오는 중
json 2.9.1 네이티브 확장으로 설치 중
io-console 0.8.0 가져오는 중
io-console 0.8.0 네이티브 확장으로 설치 중
regexp_parser 2.10.0 가져오는 중
regexp_parser 2.10.0 설치 중
webrick 1.9.1 가져오는 중
webrick 1.9.1 설치 중
rexml 3.4.0 가져오는 중
rexml 3.4.0 설치 중
rack-test 2.2.0 가져오는 중
rack-test 2.2.0 설치 중
reline 0.6.0 가져오는 중
reline 0.6.0 설치 중
psych 5.2.2 가져오는 중
psych 5.2.2 네이티브 확장으로 설치 중
css_parser 1.21.0 가져오는 중
css_parser 1.21.0 설치 중
net-imap 0.5.4 가져오는 중
net-imap 0.5.4 설치 중
rdoc 6.10.0 가져오는 중
rdoc 6.10.0 설치 중
mini_scheduler 0.18.0 가져오는 중
mini_scheduler 0.18.0 설치 중
rails-html-sanitizer 1.6.2 가져오는 중
rails-html-sanitizer 1.6.2 설치 중
faraday 2.12.2 가져오는 중
faraday 2.12.2 설치 중
irb 1.14.3 가져오는 중
irb 1.14.3 설치 중
activesupport 7.2.2.1 가져오는 중
google-protobuf 4.29.2 (x86_64-linux) 가져오는 중
activesupport 7.2.2.1 설치 중
oj 3.16.8 가져오는 중
google-protobuf 4.29.2 (x86_64-linux) 설치 중
oj 3.16.8 네이티브 확장으로 설치 중
activemodel 7.2.2.1 가져오는 중
activemodel 7.2.2.1 설치 중
actionview 7.2.2.1 가져오는 중
actionview 7.2.2.1 설치 중
activejob 7.2.2.1 가져오는 중
activejob 7.2.2.1 설치 중
activerecord 7.2.2.1 가져오는 중
activerecord 7.2.2.1 설치 중
actionpack 7.2.2.1 가져오는 중
actionpack 7.2.2.1 설치 중
actionmailer 7.2.2.1 가져오는 중
actionmailer 7.2.2.1 설치 중
railties 7.2.2.1 가져오는 중
railties 7.2.2.1 설치 중
Bundle 완료! 146개의 Gemfile 의존성, 187개의 gem이 설치되었습니다.
'test' 및 'development' 그룹의 gem은 설치되지 않았습니다.
Bundled gem은 `./vendor/bundle`에 설치되었습니다.
직접 의존하는 2개의 설치된 gem이 자금 조달을 필요로 합니다.
  자세한 내용은 `bundle fund`를 실행하십시오

I, [2024-12-26T12:53:29.944330 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle clean'
I, [2024-12-26T12:53:30.602553 #1]  INFO -- : actionmailer (7.2.2) 제거 중
actionpack (7.2.2) 제거 중
actionview (7.2.2) 제거 중
activejob (7.2.2) 제거 중
activemodel (7.2.2) 제거 중
activerecord (7.2.2) 제거 중
activesupport (7.2.2) 제거 중
bigdecimal (3.1.8) 제거 중
css_parser (1.19.1) 제거 중
csv (3.3.0) 제거 중
discourse-fonts (0.0.9) 제거 중
erubi (1.13.0) 제거 중
faraday (2.12.1) 제거 중
google-protobuf-4.29.0-x86_64 (linux) 제거 중
io-console (0.7.2) 제거 중
irb (1.14.1) 제거 중
json (2.8.2) 제거 중
logger (1.6.2) 제거 중
mini_scheduler (0.17.0) 제거 중
minitest (5.25.2) 제거 중
net-imap (0.5.1) 제거 중
oj (3.16.7) 제거 중
openssl (3.2.0) 제거 중
psych (5.2.1) 제거 중
rack-test (2.1.0) 제거 중
rails-html-sanitizer (1.6.1) 제거 중
railties (7.2.2) 제거 중
rdoc (6.8.1) 제거 중
regexp_parser (2.9.3) 제거 중
reline (0.5.12) 제거 중
rexml (3.3.9) 제거 중
securerandom (0.4.0) 제거 중
timeout (0.4.2) 제거 중
useragent (0.16.10) 제거 중
webrick (1.9.0) 제거 중

I, [2024-12-26T12:53:30.602867 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-12-26T12:53:34.804140 #1]  INFO -- : discourse-fonts gem에서 폰트 심링크 생성 중
discourse-adplugin은 이미 최신 호환 버전입니다
discourse-data-explorer는 이미 최신 호환 버전입니다
discourse-policy는 이미 최신 호환 버전입니다
discourse-solved는 이미 최신 호환 버전입니다
discourse-user-notes는 이미 최신 호환 버전입니다
docker_manager는 이미 최신 호환 버전입니다

I, [2024-12-26T12:53:34.804366 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-12-26T12:53:34.806082 #1]  INFO -- : > sleep 10
1628:C 26 Dec 2024 12:53:34.814 # oO0OoO0OoO0Oo Redis 시작 중 oO0OoO0OoO0Oo
1628:C 26 Dec 2024 12:53:34.814 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=1628, just started
1628:C 26 Dec 2024 12:53:34.814 # 구성 로드 완료
1628:M 26 Dec 2024 12:53:34.814 * monotonic clock: POSIX clock_gettime
1628:M 26 Dec 2024 12:53:34.815 # 경고: 서버 TCP 리스닝 소켓 *:6379를 생성할 수 없음: bind: Address already in use
1628:M 26 Dec 2024 12:53:34.815 # 포트 6379 (TCP) 리스닝 실패, 중단합니다.
I, [2024-12-26T12:53:44.808580 #1]  INFO -- :
I, [2024-12-26T12:53:44.809131 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
긴급: 사이트 기본값 초기화 실패: ActiveRecord::ConnectionNotEstablished 소켓 "/var/run/postgresql/.s.PGSQL.5432"에 대한 서버 연결 실패: No such file or directory
        로컬에서 서버가 실행 중이며 해당 소켓에서 연결을 허용하고 있습니까?

/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:69:in `rescue in new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:57:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:982:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:994:in `reconnect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:662:in `block in reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:661:in `reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:763:in `block in verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:754:in `verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:771:in `connect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:977:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:976:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:128:in `quote_string'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:76:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:122:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1099:in `quoted_scope'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1076:in `data_source_sql'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:60:in `table_exists?'
/var/www/discourse/lib/site_settings/db_provider.rb:58:in `table_exists?'
/var/www/discourse/lib/site_settings/db_provider.rb:14:in `all'
/var/www/discourse/lib/site_settings/defaults_provider.rb:30:in `db_all'
/var/www/discourse/lib/site_setting_extension.rb:360:in `block in refresh!'
/var/www/discourse/lib/site_setting_extension.rb:353:in `synchronize'
/var/www/discourse/lib/site_setting_extension.rb:353:in `refresh!'
/var/www/discourse/config/initializers/005-site_settings.rb:20:in `block (2 levels) in <main>'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:16:in `block in safe_each_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:36:in `each_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `each_connection'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:9:in `each_active_connection'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:14:in `safe_each_connection'
/var/www/discourse/config/initializers/005-site_settings.rb:18:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:109:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb:96:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/local/lib/ruby/3.3.0/tsort.rb:231:in `block in tsort_each'
/usr/local/lib/ruby/3.3.0/tsort.rb:353:in `block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby/3.3.0/tsort.rb:434:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/3.3.0/tsort.rb:352:in `block in each_strongly_connected_component'
/usr/local/lib/ruby/3.3.0/tsort.rb:350:in `each'
/usr/local/lib/ruby/3.3.0/tsort.rb:350:in `call'
/usr/local/lib/ruby/3.3.0/tsort.rb:350:in `each_strongly_connected_component'
/usr/local/lib/ruby/3.3.0/tsort.rb:229:in `tsort_each'
/usr/local/lib/ruby/3.3.0/tsort.rb:208:in `tsort_each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:435:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:411:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:559:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:281:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:281:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:281:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:188:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:188:in `invoke_task'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `block (2 levels) in top_level'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `block in top_level'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:147:in `run_with_threads'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:132:in `top_level'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:83:in `block in run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:214:in `standard_exception_handling'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:80:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/bin/rake:25:in `load'
/var/www/discourse/vendor/bundle/ruby/3.3.0/bin/rake:25:in `<top (required)>'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli.rb:455:in `exec'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli.rb:35:in `dispatch'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli.rb:29:in `start'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/exe/bundle:28:in `block in <top (required)>'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/exe/bundle:20:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
rake 중단됨!
ActiveRecord::ConnectionNotEstablished: 소켓 "/var/run/postgresql/.s.PGSQL.5432"에 대한 서버 연결 실패: No such file or directory (ActiveRecord::ConnectionNotEstablished)
        로컬에서 서버가 실행 중이며 해당 소켓에서 연결을 허용하고 있습니까?
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:69:in `rescue in new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:57:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:982:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:994:in `reconnect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:662:in `block in reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:661:in `reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:763:in `block in verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:754:in `verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:771:in `connect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:977:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:976:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:128:in `quote_string'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:76:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:122:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1099:in `quoted_scope'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1076:in `data_source_sql'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:60:in `table_exists?'
/var/www/discourse/config/initializers/006-ensure_login_hint.rb:8:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:109:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb:96:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:435:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:411:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:559:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'

원인:
PG::ConnectionBad: 소켓 "/var/run/postgresql/.s.PGSQL.5432"에 대한 서버 연결 실패: No such file or directory (PG::ConnectionBad)
        로컬에서 서버가 실행 중이며 해당 소켓에서 연결을 허용하고 있습니까?
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg/connection.rb:819:in `connect_start'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg/connection.rb:819:in `connect_to_hosts'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg/connection.rb:759:in `new'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg.rb:63:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:58:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:982:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:994:in `reconnect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:662:in `block in reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:661:in `reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:763:in `block in verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:754:in `verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:771:in `connect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:977:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:976:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:128:in `quote_string'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:76:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:122:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1099:in `quoted_scope'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1076:in `data_source_sql'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:60:in `table_exists?'
/var/www/discourse/config/initializers/006-ensure_login_hint.rb:8:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:109:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb:96:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:435:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:411:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:559:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
(전체 추적을 보려면 --trace 옵션과 함께 작업을 실행하십시오)
I, [2024-12-26T12:53:47.919752 #1]  INFO -- :
I, [2024-12-26T12:53:47.920249 #1]  INFO -- : 비동기 프로세스 종료 중
I, [2024-12-26T12:53:47.920297 #1]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 87에 TERM 신호 전송 중
87:signal-handler (1735217627) SIGTERM 수신, 종료 예약 중...
87:M 26 Dec 2024 12:53:47.985 # 사용자가 종료를 요청했습니다...
87:M 26 Dec 2024 12:53:47.985 * 종료 전 최종 RDB 스냅샷 저장 중.
87:M 26 Dec 2024 12:53:48.018 * 디스크에 DB 저장 완료
87:M 26 Dec 2024 12:53:48.018 # Redis가 이제 종료 준비가 되었습니다, 안녕히 가세요...

/var/discourse/shared 디렉터리 또는 그 하위 디렉터리의 소유권을 변경해 보셨나요? 이렇게 하면 설치가 깨집니다.

사이트가 비어 있었다면 /var/discourse를 삭제하고 설치를 다시 수행할 수 있습니다.

오래된 기본 이미지(base image)의 사용자 ID가 달랐기 때문에 chown을 적용해야 한다고 생각합니다.

제가 ./launcher rebuild app을 실행하기 전에 Docker를 업데이트했는데, 이것이 원인이 될 수 있을까요?

네, Falco
재구축 전에 백업을 해 두었고, 서버를 재시작한 뒤 이전에 백업해 둔 파일을 복원했습니다. 답변해 주셔서 정말 감사합니다.