Discourse를 시작할 수 없어요

안녕하세요,
저는 Ubuntu를 사용하고 있습니다. 클래식 서버 업데이트 후 서버를 재시작해야 했습니다. 재시작 후 Discourse에서 502 오류가 발생했고, 이후 503 오류가 나타났습니다.
제 서버 리소스는 충분합니다. 만약 리소스가 부족했다면 이전에도 작동하지 않았을 것입니다. ./launcher rebuild app 명령을 실행하면 다음과 같은 오류가 발생합니다. 이 문제에 대한 도움이 필요합니다.
잘못된 카테고리에 이 주제를 게시했다면 죄송합니다. 제가 주제를 만드는 것은 처음입니다.

x86_64 arch detected.
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
Stopping old container
app
2.0.20240708-0023: Pulling from discourse/base
Digest: sha256:025e9c1f6848c4726544c6ae873d710c62f547b72afb7f537aaa44eb5377cb5c
Status: Image is up to date for discourse/base:2.0.20240708-0023
docker.io/discourse/base:2.0.20240708-0023
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
97:C 21 Sep 2024 08:47:55.260 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
97:C 21 Sep 2024 08:47:55.260 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=97, just started
97:C 21 Sep 2024 08:47:55.260 # Configuration loaded
97:M 21 Sep 2024 08:47:55.261 * monotonic clock: POSIX clock_gettime
97:M 21 Sep 2024 08:47:55.262 * Running mode=standalone, port=6379.
97:M 21 Sep 2024 08:47:55.262 # Server initialized
97:M 21 Sep 2024 08:47:55.262 * Loading RDB produced by version 7.0.7
97:M 21 Sep 2024 08:47:55.262 * RDB age 174 seconds
97:M 21 Sep 2024 08:47:55.262 * RDB memory usage when created 2.63 Mb
97:M 21 Sep 2024 08:47:55.271 * Done loading RDB, keys loaded: 357, keys expired: 0.
97:M 21 Sep 2024 08:47:55.271 * DB loaded from disk: 0.009 seconds
97:M 21 Sep 2024 08:47:55.271 * Ready to accept connections
97:signal-handler (1726908505) Received SIGTERM scheduling shutdown...
97:M 21 Sep 2024 08:48:25.819 # User requested shutdown...
97:M 21 Sep 2024 08:48:25.819 * Saving the final RDB snapshot before exiting.
97:M 21 Sep 2024 08:48:25.843 * DB saved on disk
97:M 21 Sep 2024 08:48:25.843 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' failed with return #<Process::Status: pid 301 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", "hook"=>"yarn", "cmd"=>["if [ \"$version\" != \"tests-passed\" ]; then\n  rm -rf app/assets/javascripts/node_modules\nfi", "su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
108e18a13b2f36e166d1a7a0e3f14c2e473425617c18ad16a363e4a92369eebb

어떤 버전의 Docker를 사용 중이신가요?

  docker --version

다음 명령어로 기존 컨테이너를 시작할 수 있나요?

./launcher start app

Docker 버전 24.0.7, 빌드 24.0.7-0ubuntu2~20.04.1

./launcher start app 출력:

할 일이 없습니다. 컨테이너가 이미 시작되었습니다!

이 문제가 패키지 관리 도구에서 yarn에서 pnpm으로 변경된 것과 관련이 있는지 궁금합니다. 해당 변경 사항에 대한 세부 정보는 여기에서 확인할 수 있습니다: Discourse core is switching to pnpm for JS package management.

app.yml 파일에 yarn 명령을 추가했나요? 제가 링크한 문서의 “Production” 섹션에는 yarn 명령을 pnpm 명령으로 변경해야 한다고 나와 있습니다.

메시지를 보내주셔서 감사합니다. 하지만 저는 아침부터 해결책을 찾아왔으며, 말씀해 주신 페이지를 방문했습니다. 해당 페이지의 설명은 제 문제를 해결하지 못했습니다. app.yml 파일에 필요한 설정을 수행했습니다. 제가 잘못되거나 불완전한 설명을 했다고 생각합니다. 첫 번째 설치에는 문제가 없었습니다. 제 Discourse는 정상적으로 작동하고 있었습니다. Discourse와 Ubuntu 업데이트를 한 후, Discourse가 갑자기 사라지고 502 또는 503 오류가 발생하고 있습니다.

당신이 Discourse의 “tests-passed” 버전을 사용한다고 가정하고 있었지만, yarn 관련 오류를 보면 “stable” 버전을 사용하는 것 같습니다.

당신의 사이트는 어떤 브랜치와 버전의 Discourse를 사용 중인가요?

최신 버전에는 포함되어 있어야 합니다. 어디서 배울 수 있을까요?

Discourse가 502 또는 503 오류 페이지에 멈춰 있어서 이 부분을 볼 수 없습니다. 이러한 메타 태그는 항목 리뷰 섹션에 나타나지 않습니다.

yml 파일에서 tests-passed 또는 discourse_version을(를) 검색하여 해당 버전이 무엇인지 확인할 수도 있습니다.

App.yml에 지정하신 코드를 추가했습니다. 결과는 다음과 같습니다.

app
2.0.20240708-0023: Pulling from discourse/base
Digest: sha256:025e9c1f6848c4726544c6ae873d710c62f547b72afb7f537aaa44eb5377cb5c
Status: Image is up to date for discourse/base:2.0.20240708-0023
docker.io/discourse/base:2.0.20240708-0023
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-09-23T17:25:36.977586 #1]  INFO -- : Reading from stdin
I, [2024-09-23T17:25:36.994568 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-09-23T17:25:37.001154 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-09-23T17:25:37.007785 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-09-23T17:25:37.013765 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown:
I, [2024-09-23T17:25:37.019599 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-09-23T17:25:37.020380 #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-09-23T17:25:37.021325 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.con                                                                                f
I, [2024-09-23T17:25:37.021843 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql                                                                                /13/main/postgresql.conf
I, [2024-09-23T17:25:37.022369 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/pos                                                                                tgresql.conf
I, [2024-09-23T17:25:37.022884 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.023426 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_                                                                                config' in /etc/postgresql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.023953 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgre                                                                                sql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.024436 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13                                                                                /main/postgresql.conf
I, [2024-09-23T17:25:37.024941 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_stat                                                                                ement in /etc/postgresql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.025738 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresq                                                                                l/13/main/pg_hba.conf
I, [2024-09-23T17:25:37.026194 #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.con                                                                                f
I, [2024-09-23T17:25:37.026611 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.con                                                                                f
I, [2024-09-23T17:25:37.027087 #1]  INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres
I, [2024-09-23T17:25:38.629039 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2024-09-23T17:25:38.629571 #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-09-23T17:25:38.641057 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-09-23T17:25:38.650536 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-09-23T17:25:38.654268 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-09-23T17:25:38.655031 #1]  INFO -- : > sleep 5
2024-09-23 17:25:38.675 UTC [36] LOG:  starting PostgreSQL 13.15 (Debian 13.15-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1                                                                                 20210110, 64-bit
2024-09-23 17:25:38.675 UTC [36] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-09-23 17:25:38.675 UTC [36] LOG:  listening on IPv6 address "::", port 5432
2024-09-23 17:25:38.680 UTC [36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-09-23 17:25:38.685 UTC [45] LOG:  database system was shut down at 2024-09-23 17:25:26 UTC
2024-09-23 17:25:38.692 UTC [36] LOG:  database system is ready to accept connections
I, [2024-09-23T17:25:43.658647 #1]  INFO -- :
I, [2024-09-23T17:25:43.658891 #1]  INFO -- : > /usr/local/bin/create_db
2024-09-23 17:25:43.779 UTC [55] postgres@postgres ERROR:  database "discourse" already exists
2024-09-23 17:25:43.779 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
2024-09-23 17:25:43.879 UTC [58] postgres@discourse ERROR:  role "discourse" already exists
2024-09-23 17:25:43.879 UTC [58] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
I, [2024-09-23T17:25:44.581740 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
UPDATE 0

I, [2024-09-23T17:25:44.582045 #1]  INFO -- : > echo postgres installed!
I, [2024-09-23T17:25:44.585928 #1]  INFO -- : postgres installed!

I, [2024-09-23T17:25:44.593592 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2024-09-23T17:25:44.600459 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-09-23T17:25:44.608243 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-09-23T17:25:44.609721 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.610503 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.611371 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-09-23T17:25:44.617733 #1]  INFO -- :
I, [2024-09-23T17:25:44.618114 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.618956 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.620091 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.621308 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.622425 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.623349 #1]  INFO -- : > echo redis installed
I, [2024-09-23T17:25:44.626833 #1]  INFO -- : redis installed

I, [2024-09-23T17:25:44.627487 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-09-23T17:25:44.633214 #1]  INFO -- : logfile ""

I, [2024-09-23T17:25:44.633615 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-09-23T17:25:44.635902 #1]  INFO -- : > sleep 10
98:C 23 Sep 2024 17:25:44.646 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
98:C 23 Sep 2024 17:25:44.646 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=98, just started
98:C 23 Sep 2024 17:25:44.646 # Configuration loaded
98:M 23 Sep 2024 17:25:44.647 * monotonic clock: POSIX clock_gettime
98:M 23 Sep 2024 17:25:44.648 * Running mode=standalone, port=6379.
98:M 23 Sep 2024 17:25:44.648 # Server initialized
98:M 23 Sep 2024 17:25:44.649 * Loading RDB produced by version 7.0.7
98:M 23 Sep 2024 17:25:44.649 * RDB age 18 seconds
98:M 23 Sep 2024 17:25:44.649 * RDB memory usage when created 1.92 Mb
98:M 23 Sep 2024 17:25:44.655 * Done loading RDB, keys loaded: 312, keys expired: 0.
98:M 23 Sep 2024 17:25:44.655 * DB loaded from disk: 0.006 seconds
98:M 23 Sep 2024 17:25:44.655 * Ready to accept connections
I, [2024-09-23T17:25:54.639834 #1]  INFO -- :
I, [2024-09-23T17:25:54.640262 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-09-23T17:25:54.648131 #1]  INFO -- : thpoff is installed!

I, [2024-09-23T17:25:54.648937 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not c                                                                                onfigured!"; exit 1; end'
I, [2024-09-23T17:25:54.759170 #1]  INFO -- :
I, [2024-09-23T17:25:54.759278 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is no                                                                                t configured!"; exit 1; end'
I, [2024-09-23T17:25:54.870271 #1]  INFO -- :
I, [2024-09-23T17:25:54.870627 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a pr                                                                                otocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-09-23T17:25:54.981151 #1]  INFO -- :
I, [2024-09-23T17:25:54.981527 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-09-23T17:25:54.985044 #1]  INFO -- :
I, [2024-09-23T17:25:54.989219 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2024-09-23T17:25:54.996114 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-09-23T17:25:55.002341 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-09-23T17:25:55.008199 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-09-23T17:25:55.015197 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-09-23T17:25:55.022373 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-09-23T17:25:55.022533 #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-09-23T17:25:55.024272 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34584/34584), done.
I, [2024-09-23T17:26:00.129770 #1]  INFO -- : HEAD is now at 52a047a8b UX: plugins may have underscore in the name (#27749)

I, [2024-09-23T17:26:00.129895 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-09-23T17:26:00.306823 #1]  INFO -- :
I, [2024-09-23T17:26:00.307054 #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-bread-path
 - [deleted]             (none)     -> origin/0-a-pullrequests-merefield-add_irv_to_poll
 - [deleted]             (none)     -> origin/0-a-unresolv-bread
 - [deleted]             (none)     -> origin/0-fast-edit-end
 - [deleted]             (none)     -> origin/2.8-stable
 - [deleted]             (none)     -> origin/Update-Custom-Header-Links-preview-link
 - [deleted]             (none)     -> origin/a-dejq-click
 - [deleted]             (none)     -> origin/a-move-mobile
 - [deleted]             (none)     -> origin/a-move-state
 - [deleted]             (none)     -> origin/a-pnpm
 - [deleted]             (none)     -> origin/a-smokes
 - [deleted]             (none)     -> origin/add_mechanism_to_redeliver_all_webhook_events
 - [deleted]             (none)     -> origin/allow-staff-to-tag
 - [deleted]             (none)     -> origin/asyncify-preload-store
 - [deleted]             (none)     -> origin/backup-restore-v2
 - [deleted]             (none)     -> origin/dependabot/bundler/irb-1.14.0
 - [deleted]             (none)     -> origin/dependabot/bundler/libv8-node-21.7.2.0
 - [deleted]             (none)     -> origin/dependabot/bundler/mini_racer-0.12.0
 - [deleted]             (none)     -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2
 - [deleted]             (none)     -> origin/dependabot/bundler/sassc-embedded-1.77.7
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/ember-source-5.8.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/ember/string-4.0.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/glob-10.4.3
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/highlight.js-11.10.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/highlightjs/cdn-assets-11.10.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/jsdoc-4.0.3
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/markdown-it-14.1.0
 - [deleted]             (none)     -> origin/detect-default-readonly
 - [deleted]             (none)     -> origin/dev/add-behavior-transformers
 - [deleted]             (none)     -> origin/dev/always-load-problem-checks
 - [deleted]             (none)     -> origin/dev/fix-flaky-sidebar-category-test
 - [deleted]             (none)     -> origin/dev/notification-avatar-size-getter
 - [deleted]             (none)     -> origin/dev/promote-inline-checks-to-problem-checks
 - [deleted]             (none)     -> origin/dev/promote-inline-problem-checks
 - [deleted]             (none)     -> origin/dev/stylesheet_importer_categories_with_background_images-modifier
 - [deleted]             (none)     -> origin/discuz-importer
 - [deleted]             (none)     -> origin/feature/absolute-number-in-poll
 - [deleted]             (none)     -> origin/feature/allow-kbd-chat-html
 - [deleted]             (none)     -> origin/feature/disable-failing-auth-methods
 - [deleted]             (none)     -> origin/feature/locale-telemetry
 - [deleted]             (none)     -> origin/feature/private-github-onebox
 - [deleted]             (none)     -> origin/feature/shift-auto-upload-dropped-files-chat
 - [deleted]             (none)     -> origin/fix-ensure-post-and-topic-user-id-is-always-set
 - [deleted]             (none)     -> origin/fix-missing-color-sidebar-dots
 - [deleted]             (none)     -> origin/fix-vb5-script
 - [deleted]             (none)     -> origin/fix_destroy_drafts
 - [deleted]             (none)     -> origin/fix_rack_logger_info_being_logged
 - [deleted]             (none)     -> origin/font-awesome-6
 - [deleted]             (none)     -> origin/formtoolkit
 - [deleted]             (none)     -> origin/grant-admin-fetch-user
 - [deleted]             (none)     -> origin/group-inbox-label
 - [deleted]             (none)     -> origin/hinted_associations
 - [deleted]             (none)     -> origin/hsluv-experiment
 - [deleted]             (none)     -> origin/i18n/count-lint
 - [deleted]             (none)     -> origin/i18n/email-templates
 - [deleted]             (none)     -> origin/improve-discourse-hub-no-trust-level-error-messages
 - [deleted]             (none)     -> origin/loic-use-messageformat-gem
 - [deleted]             (none)     -> origin/mt/converter
 - [deleted]             (none)     -> origin/prevent-header-cls
 - [deleted]             (none)     -> origin/raw-hbs-to-glimmer
 - [deleted]             (none)     -> origin/relative-sourcemap
 - [deleted]             (none)     -> origin/rename_topics_section_to_community
 - [deleted]             (none)     -> origin/sidebar-perf-v2
 - [deleted]             (none)     -> origin/skip-topic-bookmark-sync-user-destroy
 - [deleted]             (none)     -> origin/support-query-string
 - [deleted]             (none)     -> origin/tobiaseigen-patch-1
 - [deleted]             (none)     -> origin/topic-list-refactor-nohtml
 - [deleted]             (none)     -> origin/truffleruby
 - [deleted]             (none)     -> origin/update-base-urls-to-respect-subfolder
 - [deleted]             (none)     -> origin/update-chat-allowed-groups-default
   52a047a8b..ed4791d0b  main                    -> origin/main
 * [new branch]          0-a-dl                  -> origin/0-a-dl
 * [new branch]          0-a-gjs-unread-ind      -> origin/0-a-gjs-unread-ind
 * [new branch]          add-shortcuts           -> origin/add-shortcuts
 * [new branch]          again-support-load-more-btn -> origin/again-support-load-more-btn
 * [new branch]          agc_plugin_analytics_job_errors -> origin/agc_plugin_analytics_job_errors
 * [new branch]          burning-uppy-mixins     -> origin/burning-uppy-mixins
 * [new branch]          cat-mod-groups          -> origin/cat-mod-groups
 * [new branch]          category-experts-approved-webhook-event-wip -> origin/category-experts-approved-webhook-event-wip
 * [new branch]          chat-desktop-sound-updates -> origin/chat-desktop-sound-updates
 + bfdeae4f4...488081d93 coco/generic-importer   -> origin/coco/generic-importer  (forced update)
 * [new branch]          conditional-summary-box -> origin/conditional-summary-box
 * [new branch]          defer-button-action     -> origin/defer-button-action
 * [new branch]          dependabot/bundler/jwt-2.9.0 -> origin/dependabot/bundler/jwt-2.9.0
 * [new branch]          dependabot/bundler/omniauth-google-oauth2-1.2.0 -> origin/dependabot/bundler/omniauth-google-oauth2-1.2.0
 * [new branch]          dependabot/bundler/rubocop-rails-2.26.2 -> origin/dependabot/bundler/rubocop-rails-2.26.2
 * [new branch]          dependabot/bundler/sass-embedded-1.79.3 -> origin/dependabot/bundler/sass-embedded-1.79.3
 * [new branch]          dependabot/bundler/sassc-embedded-1.78.0 -> origin/dependabot/bundler/sassc-embedded-1.78.0
 * [new branch]          dependabot/bundler/selenium-devtools-0.129.0 -> origin/dependabot/bundler/selenium-devtools-0.129.0
 * [new branch]          dependabot/bundler/selenium-webdriver-4.25.0 -> origin/dependabot/bundler/selenium-webdriver-4.25.0
 * [new branch]          dependabot/bundler/uglifier-4.2.1 -> origin/dependabot/bundler/uglifier-4.2.1
 * [new branch]          dependabot/npm_and_yarn/content-tag-2.0.2 -> origin/dependabot/npm_and_yarn/content-tag-2.0.2
 * [new branch]          dependabot/npm_and_yarn/ember-auto-import-2.8.1 -> origin/dependabot/npm_and_yarn/ember-auto-import-2.8.1
 * [new branch]          dependabot/npm_and_yarn/embroider-4f8c6802a1 -> origin/dependabot/npm_and_yarn/embroider-4f8c6802a1
 * [new branch]          dependabot/npm_and_yarn/esbuild-0.24.0 -> origin/dependabot/npm_and_yarn/esbuild-0.24.0
 * [new branch]          dependabot/npm_and_yarn/sass-1.79.3 -> origin/dependabot/npm_and_yarn/sass-1.79.3
 * [new branch]          dev-bigint-sequences    -> origin/dev-bigint-sequences
 * [new branch]          dev-faster-tests        -> origin/dev-faster-tests
 * [new branch]          dev-migrate-user-password -> origin/dev-migrate-user-password
 * [new branch]          dev-migrate-user-passwords -> origin/dev-migrate-user-passwords
 * [new branch]          dev-nginx-conf          -> origin/dev-nginx-conf
 * [new branch]          dev/add-skeleton-of-section-landing-page-and-items -> origin/dev/add-skeleton-of-section-landing-page-and-items
 * [new branch]          dev/advanced-search-custom-in-special -> origin/dev/advanced-search-custom-in-special
 * [new branch]          dev/bulk-import-chats   -> origin/dev/bulk-import-chats
 + 344d0eda8...f060538a8 dev/ember-source-5.9.0-upgrade -> origin/dev/ember-source-5.9.0-upgrade  (forced update)
 * [new branch]          dev/glimmer-post-menu   -> origin/dev/glimmer-post-menu
 * [new branch]          dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable
 * [new branch]          dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument
 * [new branch]          dev/sidebar-sections-collapse-expand-transformer-events -> origin/dev/sidebar-sections-collapse-expand-transformer-events
 * [new branch]          dev/sidebar-subsections -> origin/dev/sidebar-subsections
 * [new branch]          dev/use-new-filestore-download-method -> origin/dev/use-new-filestore-download-method
 * [new branch]          devcontainer            -> origin/devcontainer
 * [new branch]          drop-old-notification-id-columns -> origin/drop-old-notification-id-columns
 * [new branch]          ember-cli-terser-tweak  -> origin/ember-cli-terser-tweak
 * [new branch]          ember-native-class      -> origin/ember-native-class
 * [new branch]          ensure_default_timeouts_for_net_http -> origin/ensure_default_timeouts_for_net_http
 * [new branch]          experimental_async_css_loading -> origin/experimental_async_css_loading
 * [new branch]          feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event
 * [new branch]          feature/bulk-dismiss-buttons-confirmation -> origin/feature/bulk-dismiss-buttons-confirmation
 * [new branch]          feature/enable-chat-with-dms-only -> origin/feature/enable-chat-with-dms-only
 * [new branch]          feature/show-note-bookmark-notif -> origin/feature/show-note-bookmark-notif
 * [new branch]          fix-import-polls        -> origin/fix-import-polls
 + 8ed724634...d58449475 fix-search-context-delete-key -> origin/fix-search-context-delete-key  (forced update)
 * [new branch]          full-width-login-modal-mobile -> origin/full-width-login-modal-mobile
 * [new branch]          glint                   -> origin/glint
 * [new branch]          group_and_tag_group_permission_change_notification -> origin/group_and_tag_group_permission_change_notification
 * [new branch]          history-store-methods   -> origin/history-store-methods
 * [new branch]          loic-rails-7.2          -> origin/loic-rails-7.2
 * [new branch]          loic-upgrade-miniracer  -> origin/loic-upgrade-miniracer
 * [new branch]          preload_stylesheets_links -> origin/preload_stylesheets_links
 * [new branch]          prune-old-transpilers   -> origin/prune-old-transpilers
 * [new branch]          reenable_webpack_minimization_2 -> origin/reenable_webpack_minimization_2
   ddf53c129..2f4c621a2  remove-x-count          -> origin/remove-x-count
 * [new branch]          remove_unused_file      -> origin/remove_unused_file
 * [new branch]          render-glimmer-example  -> origin/render-glimmer-example
 * [new branch]          render-glimmer-granular -> origin/render-glimmer-granular
 * [new branch]          revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting -> origin/revert-28587-revert-28321-dev/remove                                                                                -create_post_for_category_and_tag_changes-setting
 * [new branch]          revert-location-change  -> origin/revert-location-change
   473248381..25514419e  stable                  -> origin/stable
 * [new branch]          support-load-more-btn   -> origin/support-load-more-btn
 * [new branch]          tag-name-transformer    -> origin/tag-name-transformer
 * [new branch]          temp-pr-28024           -> origin/temp-pr-28024
 * [new branch]          testing_debian_12       -> origin/testing_debian_12
   52a047a8b..ed4791d0b  tests-passed            -> origin/tests-passed
 * [new branch]          theme-cards             -> origin/theme-cards
 * [new branch]          tobiaseigen-patch-4     -> origin/tobiaseigen-patch-4
 * [new branch]          trace-objects           -> origin/trace-objects
 * [new branch]          translations-from-crowdin-main -> origin/translations-from-crowdin-main
 * [new branch]          translations-from-crowdin-stable -> origin/translations-from-crowdin-stable
 * [new branch]          update-composer-media-optimization-requirements -> origin/update-composer-media-optimization-requirements
 * [new branch]          ux-fix-review-delete-label -> origin/ux-fix-review-delete-label
 * [new branch]          ux/simplification-invite-modal -> origin/ux/simplification-invite-modal
 t [tag update]          beta                    -> beta
 t [tag update]          latest-release          -> latest-release
 * [new tag]             v3.2.4                  -> v3.2.4
 * [new tag]             v3.2.5                  -> v3.2.5
 * [new tag]             v3.3.0                  -> v3.3.0
 * [new tag]             v3.3.0.beta4            -> v3.3.0.beta4
 * [new tag]             v3.3.0.beta5            -> v3.3.0.beta5
 * [new tag]             v3.3.0.beta6            -> v3.3.0.beta6
 * [new tag]             v3.3.1                  -> v3.3.1
 * [new tag]             v3.4.0.beta1            -> v3.4.0.beta1
I, [2024-09-23T17:26:03.742189 #1]  INFO -- :
I, [2024-09-23T17:26:03.742316 #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-09-23T17:26:09.115457 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2024-09-23T17:26:09.115559 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-09-23T17:26:09.133494 #1]  INFO -- :
I, [2024-09-23T17:26:09.133568 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-09-23T17:26:09.137301 #1]  INFO -- :
I, [2024-09-23T17:26:09.137393 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-09-23T17:26:09.143626 #1]  INFO -- :
I, [2024-09-23T17:26:09.143716 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-09-23T17:26:09.148769 #1]  INFO -- :
I, [2024-09-23T17:26:09.148858 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-09-23T17:26:09.153691 #1]  INFO -- :
I, [2024-09-23T17:26:09.153877 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-09-23T17:26:09.158063 #1]  INFO -- :
I, [2024-09-23T17:26:09.158151 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-09-23T17:26:09.163009 #1]  INFO -- :
I, [2024-09-23T17:26:09.163193 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.                                                                                stdout,unicorn.stderr,sidekiq}.log"
I, [2024-09-23T17:26:09.169934 #1]  INFO -- :
I, [2024-09-23T17:26:09.170122 #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-09-23T17:26:09.177448 #1]  INFO -- :
I, [2024-09-23T17:26:09.177638 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-09-23T17:26:09.184377 #1]  INFO -- :
I, [2024-09-23T17:26:09.184575 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-09-23T17:26:09.192049 #1]  INFO -- :
I, [2024-09-23T17:26:09.192140 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-09-23T17:26:09.199757 #1]  INFO -- :
I, [2024-09-23T17:26:09.199952 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-09-23T17:26:09.206229 #1]  INFO -- :
I, [2024-09-23T17:26:09.206324 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /share                                                                                d/tmp
I, [2024-09-23T17:26:09.222255 #1]  INFO -- :
I, [2024-09-23T17:26:09.222441 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-09-23T17:26:09.226321 #1]  INFO -- :
I, [2024-09-23T17:26:09.226608 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-09-23T17:26:09.227410 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/docker_manager.g                                                                                it
Cloning into 'docker_manager'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-09-23T17:26:10.680586 #1]  INFO -- :
I, [2024-09-23T17:26:10.680745 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-o                                                                                nline.git
Cloning into 'discourse-whos-online'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-09-23T17:26:11.733230 #1]  INFO -- :
I, [2024-09-23T17:26:11.733327 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-data-e                                                                                xplorer.git
Cloning into 'discourse-data-explorer'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-09-23T17:26:12.881012 #1]  INFO -- :
I, [2024-09-23T17:26:12.882337 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-09-23T17:26:12.888353 #1]  INFO -- :
I, [2024-09-23T17:26:12.888592 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-09-23T17:26:12.892703 #1]  INFO -- :
I, [2024-09-23T17:26:12.893443 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-09-23T17:26:12.898119 #1]  INFO -- :
I, [2024-09-23T17:26:12.899172 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-09-23T17:26:12.899760 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/disc                                                                                ourse.conf
I, [2024-09-23T17:26:12.900169 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-09-23T17:26:12.900543 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discour                                                                                se.conf
I, [2024-09-23T17:26:12.900932 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx                                                                                .conf
I, [2024-09-23T17:26:12.901413 #1]  INFO -- : > echo "done configuring web"
I, [2024-09-23T17:26:12.904114 #1]  INFO -- : done configuring web

I, [2024-09-23T17:26:12.904616 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,"");                                                                                 print $0 }' Gemfile.lock)
I, [2024-09-23T17:26:14.790751 #1]  INFO -- : bundler-2.5.18 설치 성공
1 gem 설치됨

I, [2024-09-23T17:26:14.790947 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-09-23T17:26:19.630299 #1]  INFO -- :
I, [2024-09-23T17:26:19.631279 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn config set network-timeout 600000 -g'
I, [2024-09-23T17:26:20.307972 #1]  INFO -- : yarn config v1.22.22
success "network-timeout"을 "600000"(으)로 설정했습니다.
0.09초 만에 완료.

I, [2024-09-23T17:26:20.308765 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-09-23T17:26:20.311751 #1]  INFO -- :
I, [2024-09-23T17:26:20.311933 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
error discourse@: 이 모듈과 호환되지 않는 엔진 "yarn"입니다. 예상 버전은 "please-use-pnpm"입니다. 현재 버전은 "1.22.22"입니다.
warning discourse@: 엔진 "pnpm"이(가) 잘못된 것 같습니다.
error 호환되지 않는 모듈을 찾았습니다.
I, [2024-09-23T17:26:20.764069 #1]  INFO -- : yarn install v1.22.22
info lockfile을 찾을 수 없습니다.
[1/5] package.json 검증 중...
info 이 명령에 대한 문서는 https://yarnpkg.com/en/docs/cli/install 을 참조하세요.

I, [2024-09-23T17:26:20.764877 #1]  INFO -- : 비동기 프로세스 종료
I, [2024-09-23T17:26:20.764934 #1]  INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:post                                                                                gres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 36 에 INT 전송
I, [2024-09-23T17:26:20.765087 #1]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 98 에 TERM 전송
2024-09-23 17:26:20.765 UTC [36] LOG:  빠른 종료 요청 수신
98:signal-handler (1727112380) SIGTERM 수신, 종료 예약 중...
2024-09-23 17:26:20.767 UTC [36] LOG:  활성 트랜잭션 중단 중
2024-09-23 17:26:20.770 UTC [36] LOG:  백그라운드 워커 "logical replication launcher" (PID 51)가 종료 코드 1과 함께 종료됨
2024-09-23 17:26:20.771 UTC [46] LOG:  종료 중
2024-09-23 17:26:20.793 UTC [36] LOG:  데이터베이스 시스템이 종료되었습니다
98:M 23 Sep 2024 17:26:20.818 # 사용자가 종료를 요청했습니다...
98:M 23 Sep 2024 17:26:20.818 * 종료 전 최종 RDB 스냅샷 저장 중.
98:M 23 Sep 2024 17:26:20.836 * 디스크에 DB 저장됨
98:M 23 Sep 2024 17:26:20.836 # Redis는 이제 종료 준비가 되었습니다. 안녕...


실패
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' 실행 실패, 반환 #<Process::Status: pid 324                                                                                 exit 1>
실패 위치: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec 실행 실패, 매개변수 {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ \"$version\" != \"tests-passed\" ]; then\n  rm -rf app/assets/javascripts/node_modu                                                                                les\nfi", "su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'"]}
bootstrap 실행 코드 1과 함께 실패

문제는 다음과 같이 해결되었습니다.

app.yml의 version: value를 version: stable로 변경하고 다시 빌드했습니다.