Discourse 재구축 실패 관련 도움 요청

Discourse를 다시 빌드하려 할 때 문제가 발생하고 있는데, 무엇이 문제인지 모르겠습니다. 도와주실 분 계신가요?

./launcher rebuild app 명령의 출력은 다음과 같습니다:

x86_64 아키텍처 감지됨.
Launcher가 최신 상태인지 확인 중
원본 가져오기
Launcher가 최신 상태입니다
기존 컨테이너 중지 중
+ /usr/bin/docker stop -t 600 app
app
2.0.20241203-0251: discourse/base에서 가져오는 중
Digest: sha256:d5d4e6d361d56745e37f2609db58a6970cc9b3fcd26d0b2dcba23d0cb581f067
상태: discourse/base:2.0.20241203-0251 이미지가 최신 상태입니다
docker.io/discourse/base:2.0.20241203-0251
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-12-17T20:04:51.340338 #1]  INFO -- : stdin에서 읽는 중
I, [2024-12-17T20:04:51.372817 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-12-17T20:04:51.380788 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-12-17T20:04:51.389047 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-12-17T20:04:51.398337 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown:
I, [2024-12-17T20:04:51.405124 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-12-17T20:04:51.406966 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 data_directory = '/var/lib/postgresql/13/main'를 data_directory = '/shared/postgres_data'로 교체
I, [2024-12-17T20:04:51.408283 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?listen_addresses *=.*)를 listen_addresses = '*'로 교체
I, [2024-12-17T20:04:51.409225 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?synchronous_commit *=.*)를 synchronous_commit = $db_synchronous_commit로 교체
I, [2024-12-17T20:04:51.410158 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?shared_buffers *=.*)를 shared_buffers = $db_shared_buffers로 교체
I, [2024-12-17T20:04:51.410961 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?work_mem *=.*)를 work_mem = $db_work_mem으로 교체
I, [2024-12-17T20:04:51.411604 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?default_text_search_config *=.*)를 default_text_search_config = '$db_default_text_search_config'로 교체
I, [2024-12-17T20:04:51.412229 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?checkpoint_segments *=.*)를 checkpoint_segments = $db_checkpoint_segments로 교체
I, [2024-12-17T20:04:51.412891 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?logging_collector *=.*)를 logging_collector = $db_logging_collector로 교체
I, [2024-12-17T20:04:51.413731 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf에서 (?-mix:#?log_min_duration_statement *=.*)를 log_min_duration_statement = $db_log_min_duration_statement로 교체
I, [2024-12-17T20:04:51.419815 #1]  INFO -- : /etc/postgresql/13/main/pg_hba.conf에서 (?-mix:^#local +replication +postgres +peer$)를 local replication postgres  peer로 교체
I, [2024-12-17T20:04:51.420380 #1]  INFO -- : /etc/postgresql/13/main/pg_hba.conf에서 (?-mix:^host.*all.*all.*127.*$)를 host all all 0.0.0.0/0 md5로 교체
I, [2024-12-17T20:04:51.421094 #1]  INFO -- : /etc/postgresql/13/main/pg_hba.conf에서 (?-mix:^host.*all.*all.*::1\/128.*$)를 host all all ::/0 md5로 교체
I, [2024-12-17T20:04:51.421838 #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-17T20:04:55.815863 #1]  INFO -- : 로케일 생성 중 (시간이 다소 걸릴 수 있습니다)...
  en_US.UTF-8... 완료
생성이 완료되었습니다.

I, [2024-12-17T20:04:55.816523 #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-17T20:04:55.825934 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-12-17T20:04:55.834243 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-12-17T20:04:55.839156 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-12-17T20:04:55.839678 #1]  INFO -- : > sleep 5
2024-12-17 20:04:55.944 UTC [39] LOG:  x86_64-pc-linux-gnu에서 PostgreSQL 13.18 (Debian 13.18-1.pgdg120+1) 시작 중, gcc (Debian 12.2.0-14) 12.2.0으로 컴파일됨, 64-bit
2024-12-17 20:04:55.945 UTC [39] LOG:  IPv4 주소 "0.0.0.0", 포트 5432에서 경청 중
2024-12-17 20:04:55.945 UTC [39] LOG:  IPv6 주소 "::", 포트 5432에서 경청 중
2024-12-17 20:04:55.949 UTC [39] LOG:  Unix 소켓 "/var/run/postgresql/.s.PGSQL.5432"에서 경청 중
2024-12-17 20:04:55.957 UTC [48] LOG:  데이터베이스 시스템이 2024-12-17 20:04:41 UTC에 종료되었습니다
2024-12-17 20:04:55.969 UTC [39] LOG:  데이터베이스 시스템이 연결을 받을 준비가 되었습니다
I, [2024-12-17T20:05:00.843375 #1]  INFO -- :
I, [2024-12-17T20:05:00.843591 #1]  INFO -- : > /usr/local/bin/create_db
2024-12-17 20:05:01.014 UTC [58] postgres@postgres ERROR:  데이터베이스 "discourse"가 이미 존재합니다
2024-12-17 20:05:01.014 UTC [58] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: 데이터베이스 생성 실패: ERROR:  데이터베이스 "discourse"가 이미 존재합니다
2024-12-17 20:05:01.127 UTC [61] postgres@discourse ERROR:  역할 "discourse"가 이미 존재합니다
2024-12-17 20:05:01.127 UTC [61] postgres@discourse STATEMENT:  create user discourse;
ERROR:  역할 "discourse"가 이미 존재합니다
NOTICE:  확장 "hstore"가 이미 존재하여 건너뜀
NOTICE:  확장 "pg_trgm"가 이미 존재하여 건너뜀
NOTICE:  확장 "vector"가 이미 존재하여 건너뜀
NOTICE:  확장 "vector"의 버전 "0.8.0"이(가) 이미 설치되어 있습니다
NOTICE:  확장 "hstore"가 이미 존재하여 건너뜀
NOTICE:  확장 "pg_trgm"가 이미 존재하여 건너뜀
NOTICE:  확장 "vector"가 이미 존재하여 건너뜀
NOTICE:  확장 "vector"의 버전 "0.8.0"이(가) 이미 설치되어 있습니다
I, [2024-12-17T20:05:02.768875 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0

I, [2024-12-17T20:05:02.769783 #1]  INFO -- : > echo postgres installed!
I, [2024-12-17T20:05:02.772946 #1]  INFO -- : postgres 설치 완료!

I, [2024-12-17T20:05:02.780721 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2024-12-17T20:05:02.789261 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-12-17T20:05:02.797355 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-12-17T20:05:02.799315 #1]  INFO -- : /etc/redis/redis.conf에서 daemonize yes를(을) (빈 값)으로 교체
I, [2024-12-17T20:05:02.801831 #1]  INFO -- : /etc/redis/redis.conf에서 (?-mix:^pidfile.*$)를(을) (빈 값)으로 교체
I, [2024-12-17T20:05:02.806036 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-12-17T20:05:02.817751 #1]  INFO -- :
I, [2024-12-17T20:05:02.819014 #1]  INFO -- : /etc/redis/redis.conf에서 (?-mix:^logfile.*$)를(을) logfile ""으로 교체
I, [2024-12-17T20:05:02.821066 #1]  INFO -- : /etc/redis/redis.conf에서 (?-mix:^bind .*$)를(을) (빈 값)으로 교체
I, [2024-12-17T20:05:02.823374 #1]  INFO -- : /etc/redis/redis.conf에서 (?-mix:^dir .*$)를(을) dir /shared/redis_data으로 교체
I, [2024-12-17T20:05:02.825686 #1]  INFO -- : /etc/redis/redis.conf에서 (?-mix:^protected-mode yes)를(을) protected-mode no으로 교체
I, [2024-12-17T20:05:02.827711 #1]  INFO -- : /etc/redis/redis.conf에서 # io-threads 4를(을) io-threads $redis_io_threads으로 교체
I, [2024-12-17T20:05:02.829965 #1]  INFO -- : > echo redis installed
I, [2024-12-17T20:05:02.833303 #1]  INFO -- : redis 설치 완료

I, [2024-12-17T20:05:02.833999 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-12-17T20:05:02.847791 #1]  INFO -- : logfile ""

I, [2024-12-17T20:05:02.848582 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-12-17T20:05:02.860731 #1]  INFO -- : > sleep 10
107:C 17 Dec 2024 20:05:02.909 # oO0OoO0OoO0Oo Redis 시작 중 oO0OoO0OoO0Oo
107:C 17 Dec 2024 20:05:02.910 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=107, just started
107:C 17 Dec 2024 20:05:02.910 # 구성 로드됨
107:M 17 Dec 2024 20:05:02.912 * monotonic clock: POSIX clock_gettime
107:M 17 Dec 2024 20:05:02.922 * 실행 모드=standalone, port=6379.
107:M 17 Dec 2024 20:05:02.922 # 서버 초기화 완료
107:M 17 Dec 2024 20:05:02.923 # WARNING 메모리 오버커밋이 활성화되어 있어야 합니다! 활성화되지 않으면 저메모리 조건에서 백그라운드 저장 또는 복제가 실패할 수 있습니다. 비활성화되어 있으면 저메모리 조건이 아니더라도 실패를 일으킬 수 있으며, 자세한 내용은 https://github.com/jemalloc/jemalloc/issues/1328을 참조하십시오. 이 문제를 수정하려면 /etc/sysctl.conf에 'vm.overcommit_memory = 1'을 추가한 후 재부팅하거나 'sysctl vm.overcommit_memory=1' 명령을 실행하여 적용하십시오.
107:M 17 Dec 2024 20:05:02.923 * 버전 7.0.7이 생성한 RDB 로딩 중
107:M 17 Dec 2024 20:05:02.923 * RDB 경과 시간 23초
107:M 17 Dec 2024 20:05:02.923 * 생성 시 RDB 메모리 사용량 46.73 Mb
107:M 17 Dec 2024 20:05:03.124 * RDB 로딩 완료, 로드된 키: 4401, 만료된 키: 3.
107:M 17 Dec 2024 20:05:03.124 * 디스크에서 DB 로드: 0.201초
107:M 17 Dec 2024 20:05:03.124 * 연결을 받을 준비가 되었습니다
I, [2024-12-17T20:05:12.882155 #1]  INFO -- :
I, [2024-12-17T20:05:12.882393 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-12-17T20:05:12.887354 #1]  INFO -- : thpoff 설치 완료!

I, [2024-12-17T20:05:12.888009 #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-17T20:05:13.019333 #1]  INFO -- :
I, [2024-12-17T20:05:13.019487 #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-17T20:05:13.154482 #1]  INFO -- :
I, [2024-12-17T20:05:13.154685 #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-17T20:05:13.293364 #1]  INFO -- :
I, [2024-12-17T20:05:13.293637 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-12-17T20:05:13.296993 #1]  INFO -- :
I, [2024-12-17T20:05:13.305524 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2024-12-17T20:05:13.313003 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-12-17T20:05:13.319105 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-12-17T20:05:13.324930 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-12-17T20:05:13.330478 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-12-17T20:05:13.335821 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-12-17T20:05:13.336043 #1]  INFO -- : /etc/service/unicorn/run에서 # postgres를 다음으로 교체
if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1
I, [2024-12-17T20:05:13.339445 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
업데이트 중인 파일: 100% (34959/34959), 완료.
I, [2024-12-17T20:05:18.887993 #1]  INFO -- : HEAD가 251333995 FEATURE: Show when a badge has been granted for a post (#29696)에 있습니다

I, [2024-12-17T20:05:18.888111 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-12-17T20:05:19.062676 #1]  INFO -- :
I, [2024-12-17T20:05:19.062865 #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..8f26ae7b7  main                    -> origin/main
 * [new branch]          0-a-presence            -> origin/0-a-presence
 * [new branch]          add-devenv              -> origin/add-devenv
 + 8741e0f07...04bf23c03 br/directory            -> origin/br/directory  (강제 업데이트)
   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.17.2 -> origin/dependabot/bundler/nokogiri-1.17.2
 * [new branch]          dependabot/bundler/sass-embedded-1.83.0 -> origin/dependabot/bundler/sass-embedded-1.83.0
 * [new branch]          dependabot/npm_and_yarn/jsuites-5.8.1 -> origin/dependabot/npm_and_yarn/jsuites-5.8.1
 * [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-refactor-can-check-emails-mixin -> origin/dev-refactor-can-check-emails-mixin
 * [new branch]          dev-update-svg-icon-subset-site-setting-help-text -> origin/dev-update-svg-icon-subset-site-setting-help-text
 + d5f594c07...cb2c55972 dev/admin-api-ui-guidelines -> origin/dev/admin-api-ui-guidelines  (강제 업데이트)
 * [new branch]          dev/admin-page-header-to-d-page-header -> origin/dev/admin-page-header-to-d-page-header
 * [new branch]          dev/admin-webhooks-ui-guidelines -> origin/dev/admin-webhooks-ui-guidelines
 * [new branch]          dev/settable-fields     -> origin/dev/settable-fields
 * [new branch]          embedding-ux            -> origin/embedding-ux
 + 2921205f2...52a38f358 feature/wizard-look-and-feel-improvements -> origin/feature/wizard-look-and-feel-improvements  (강제 업데이트)
 * [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]          fix/admin-permission-precedent-deleted-posts -> origin/fix/admin-permission-precedent-deleted-posts
 * [new branch]          fix/contact-url-about-page -> origin/fix/contact-url-about-page
 * [new branch]          i18n/banned-lint        -> origin/i18n/banned-lint
 * [new branch]          introduce_api_for_custom_rate_limiters -> origin/introduce_api_for_custom_rate_limiters
 * [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  (강제 업데이트)
 * [new branch]          login-css               -> origin/login-css
 + 8834e37c4...d502d7c37 loic-enable-rspec-rule  -> origin/loic-enable-rspec-rule  (강제 업데이트)
 * [new branch]          loic-fix-services-delegate-with-class -> origin/loic-fix-services-delegate-with-class
 * [new branch]          mt/fix-poll-options     -> origin/mt/fix-poll-options
 + 1fc526eb4...9e46da1b7 mt/idb                  -> origin/mt/idb  (강제 업데이트)
 + 72f3215c0...eaded6223 mt/pr4                  -> origin/mt/pr4  (강제 업데이트)
 * [new branch]          multiple-drafts-dropdown -> origin/multiple-drafts-dropdown
 * [new branch]          permalink-settings      -> origin/permalink-settings
 * [new branch]          post-dup-event          -> origin/post-dup-event
 * [new branch]          post-list-component     -> origin/post-list-component
 * [new branch]          redo_sidekiq_heartbeat_checks -> origin/redo_sidekiq_heartbeat_checks
 * [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]          renato/pm               -> origin/renato/pm
 * [new branch]          signup-progress-edits   -> origin/signup-progress-edits
 * [new branch]          skip_compressing_assets_if_assets_is_already_on_s3 -> origin/skip_compressing_assets_if_assets_is_already_on_s3
   f5b108bf9..85a89e0e2  stable                  -> origin/stable
   251333995..8f26ae7b7  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]          ux-create-tag-disabled  -> origin/ux-create-tag-disabled
 * [new branch]          vite                    -> origin/vite
 * [new branch]          wip-merged-topics       -> origin/wip-merged-topics
I, [2024-12-17T20:05:20.291566 #1]  INFO -- :
I, [2024-12-17T20:05:20.291729 #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
'
새 브랜치 'tests-passed'로 전환됨
I, [2024-12-17T20:05:25.030222 #1]  INFO -- : 브랜치 'tests-passed'가 'origin/tests-passed'를 추적하도록 설정되었습니다.

I, [2024-12-17T20:05:25.030366 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-12-17T20:05:25.046403 #1]  INFO -- :
I, [2024-12-17T20:05:25.046548 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-12-17T20:05:25.055946 #1]  INFO -- :
I, [2024-12-17T20:05:25.056125 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-12-17T20:05:25.060509 #1]  INFO -- :
I, [2024-12-17T20:05:25.061466 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-12-17T20:05:25.067552 #1]  INFO -- :
I, [2024-12-17T20:05:25.067718 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-12-17T20:05:25.072718 #1]  INFO -- :
I, [2024-12-17T20:05:25.072873 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-12-17T20:05:25.133562 #1]  INFO -- :
I, [2024-12-17T20:05:25.133770 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-12-17T20:05:25.138158 #1]  INFO -- :
I, [2024-12-17T20:05:25.138341 #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-17T20:05:25.144893 #1]  INFO -- :
I, [2024-12-17T20:05:25.145206 #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-17T20:05:25.151921 #1]  INFO -- :
I, [2024-12-17T20:05:25.152276 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-12-17T20:05:25.159070 #1]  INFO -- :
I, [2024-12-17T20:05:25.159375 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-12-17T20:05:25.166058 #1]  INFO -- :
I, [2024-12-17T20:05:25.166378 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-12-17T20:05:25.172678 #1]  INFO -- :
I, [2024-12-17T20:05:25.172991 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-12-17T20:05:25.179373 #1]  INFO -- :
I, [2024-12-17T20:05:25.179636 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-12-17T20:05:25.417134 #1]  INFO -- :
I, [2024-12-17T20:05:25.417766 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-12-17T20:05:25.420544 #1]  INFO -- :
I, [2024-12-17T20:05:25.420997 #1]  INFO -- : /etc/service/unicorn/run에서 # redis를 다음으로 교체
if [ ! -d /shared/redis_data ]; then
  install -d -m 0755 -o redis -g redis /shared/redis_data
fi
sv start redis || exit 1
I, [2024-12-17T20:05:25.422694 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
'docker_manager'에 클로닝 중...
I, [2024-12-17T20:05:26.648646 #1]  INFO -- :
I, [2024-12-17T20:05:26.648966 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
'discourse-data-explorer'에 클로닝 중...
I, [2024-12-17T20:05:27.422032 #1]  INFO -- :
I, [2024-12-17T20:05:27.422303 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/timmmmyboy/docker-embed.git
'docker-embed'에 클로닝 중...
I, [2024-12-17T20:05:27.932386 #1]  INFO -- :
I, [2024-12-17T20:05:27.932658 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
'discourse-chat-integration'에 클로닝 중...
I, [2024-12-17T20:05:28.771301 #1]  INFO -- :
I, [2024-12-17T20:05:28.771587 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/cpradio/discourse-plugin-replygif.git
'discourse-plugin-replygif'에 클로닝 중...
I, [2024-12-17T20:05:29.886073 #1]  INFO -- :
I, [2024-12-17T20:05:29.886354 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting.git
'discourse-voting'에 클로닝 중...
I, [2024-12-17T20:05:30.594338 #1]  INFO -- :
I, [2024-12-17T20:05:30.594656 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
'discourse-solved'에 클로닝 중...
I, [2024-12-17T20:05:31.375552 #1]  INFO -- :
I, [2024-12-17T20:05:31.375879 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bcc.git
'discourse-bcc'에 클로닝 중...
I, [2024-12-17T20:05:31.961928 #1]  INFO -- :
I, [2024-12-17T20:05:31.962216 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/DiscoTOC.git
'DiscoTOC'에 클로닝 중...
I, [2024-12-17T20:05:32.664375 #1]  INFO -- :
I, [2024-12-17T20:05:32.664727 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
'discourse-whos-online'에 클로닝 중...
I, [2024-12-17T20:05:33.335177 #1]  INFO -- :
I, [2024-12-17T20:05:33.335457 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-fontawesome-pro.git
'discourse-fontawesome-pro'에 클로닝 중...
I, [2024-12-17T20:05:33.976652 #1]  INFO -- :
I, [2024-12-17T20:05:33.976989 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat.git
'discourse-chat'에 클로닝 중...
I, [2024-12-17T20:05:35.152614 #1]  INFO -- :
I, [2024-12-17T20:05:35.152879 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-custom-wizard.git
'discourse-custom-wizard'에 클로닝 중...
I, [2024-12-17T20:05:36.348298 #1]  INFO -- :
I, [2024-12-17T20:05:36.348576 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-news.git
'discourse-news'에 클로닝 중...
I, [2024-12-17T20:05:36.903186 #1]  INFO -- :
I, [2024-12-17T20:05:36.903544 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-post-voting.git
'discourse-post-voting'에 클로닝 중...
I, [2024-12-17T20:05:37.671933 #1]  INFO -- :
I, [2024-12-17T20:05:37.672243 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions
'discourse-reactions'에 클로닝 중...
I, [2024-12-17T20:05:38.435059 #1]  INFO -- :
I, [2024-12-17T20:05:38.435384 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-shared-edits
'discourse-shared-edits'에 클로닝 중...
I, [2024-12-17T20:05:39.134862 #1]  INFO -- :
I, [2024-12-17T20:05:39.135193 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-doc-categories
'discourse-doc-categories'에 클로닝 중...
I, [2024-12-17T20:05:39.845892 #1]  INFO -- :
I, [2024-12-17T20:05:39.846259 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/29th/discourse-user-by-id
'discourse-user-by-id'에 클로닝 중...
I, [2024-12-17T20:05:40.396893 #1]  INFO -- :
I, [2024-12-17T20:05:40.397186 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions
fatal: 대상 경로 'discourse-reactions'가 이미 존재하며 빈 디렉터리가 아닙니다.
I, [2024-12-17T20:05:40.402942 #1]  INFO -- :
I, [2024-12-17T20:05:40.403829 #1]  INFO -- : 비동기 프로세스 종료 중
I, [2024-12-17T20:05:40.403968 #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 pid: 39에 INT 전송
I, [2024-12-17T20:05:40.404084 #1]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 107에 TERM 전송
2024-12-17 20:05:40.404 UTC [39] LOG:  빠른 종료 요청 수신
107:signal-handler (1734465940) SIGTERM 수신, 종료 예약 중...
2024-12-17 20:05:40.406 UTC [39] LOG:  활성 트랜잭션 중단
2024-12-17 20:05:40.410 UTC [39] LOG:  백그라운드 워커 "logical replication launcher" (PID 54)가 종료 코드 1과 함께 종료됨
2024-12-17 20:05:40.426 UTC [49] LOG:  종료 중
107:M 17 Dec 2024 20:05:40.427 # 사용자가 종료를 요청했습니다...
107:M 17 Dec 2024 20:05:40.427 * 종료 전 최종 RDB 스냅샷 저장 중.
2024-12-17 20:05:40.476 UTC [39] LOG:  데이터베이스 시스템이 종료되었습니다
107:M 17 Dec 2024 20:05:40.657 * 디스크에 DB 저장됨
107:M 17 Dec 2024 20:05:40.657 # Redis가 이제 종료 준비가 되었습니다, 안녕...


실패(FAILED)
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions 실행이 반환 코드 #<Process::Status: pid 441 exit 128>와 함께 실패했습니다
실패 위치: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
실행이 매개변수 {"cd"=>"$home/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-data-explorer.git", "git clone https://github.com/timmmmyboy/docker-embed.git", "git clone https://github.com/discourse/discourse-chat-integration.git", "git clone https://github.com/cpradio/discourse-plugin-replygif.git", "git clone https://github.com/discourse/discourse-voting.git", "git clone https://github.com/discourse/discourse-solved.git", "git clone https://github.com/discourse/discourse-bcc.git", "git clone https://github.com/discourse/DiscoTOC.git", "git clone https://github.com/discourse/discourse-whos-online.git", "git clone https://github.com/discourse/discourse-fontawesome-pro.git", "git clone https://github.com/discourse/discourse-chat.git", "git clone https://github.com/paviliondev/discourse-custom-wizard.git", "git clone https://github.com/paviliondev/discourse-news.git", "git clone https://github.com/discourse/discourse-post-voting.git", "git clone https://github.com/discourse/discourse-reactions", "git clone https://github.com/discourse/discourse-shared-edits", "git clone https://github.com/discourse/discourse-doc-categories", "git clone https://github.com/29th/discourse-user-by-id", "git clone https://github.com/discourse/discourse-reactions"]}와 함께 실패했습니다
부트스트랩이 종료 코드 128과 함께 실패했습니다
** 부트스트랩 실패 ** 이전의 오류 메시지를 찾기 위해 위로 스크롤하십시오. 하나 이상일 수 있습니다.
./discourse-doctor가 문제를 진단하는 데 도움이 될 수 있습니다.
8583d802d54ae22f3b827ec739724277851f99186b4e6caf1fcf2951f9b6744f

어떤 플러그인에 문제가 있는 것 같습니다. 해당 플러그인을 제거하기 위해 yml 파일(아마도 app.yml일 것입니다)을 (신중하게) 편집하는 것을 권장합니다. 먼저 파일의 백업 사본을 만들어 두세요. (재구축을 하기 전에는 yml 파일을 포함한 모든 것에 대해 깨끗한 백업을 항상 받아 두어야 합니다.)

실수로 app.yml에 Reactions 플러그인을 두 번 포함해 두었습니다. 그 중 한 줄을 제거하니 문제가 해결되었습니다.

빠른 도움 주셔서 감사합니다!