v3.4.0.beta3 +21에서 v3.4.0.beta4 +37로 업데이트 실패, 디렉터리 생성 불가

웹 관리자 영역을 통해 최신 버전의 discourse 업데이트를 시도하고 있습니다. 하지만 실패하며 아래 로그가 표시됩니다:

********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
Cycling Unicorn, to free up memory
Restarting unicorn pid: 43
Waiting for Unicorn to reload.
Waiting for Unicorn to reload..
Waiting for Unicorn to reload...
Waiting for Unicorn to reload....
Waiting for Unicorn to reload.....
Waiting for Unicorn to reload......
Waiting for Unicorn to reload.......
Waiting for Unicorn to reload........
Stopping 1 Unicorn worker(s), to free up memory
Stopping job queue to reclaim memory, master pid is 1201725
$ cd /var/www/discourse && git fetch --tags --prune-tags --prune --force
error: cannot lock ref 'refs/remotes/origin/ux/combined-themes-components-sidebar-links': unable to create directory for .git/refs/remotes/origin/ux/combined-themes-components-sidebar-links
From https://github.com/discourse/discourse
 ! [new branch]          ux/combined-themes-components-sidebar-links -> origin/ux/combined-themes-components-sidebar-links  (unable to update local ref)
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:211:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:88:in `block in upgrade'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:72:in `each'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:72:in `each_with_index'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:72:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:44:in `load'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:44:in `block in perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:70:in `conditional_executor'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:43:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command/base.rb:178:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command/base.rb:73:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:71:in `block in invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:149:in `with_argv'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:69:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands.rb:18:in `<main>'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74: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'
bin/rails:18:in `<main>'
Spinning up 1 Unicorn worker(s) that were stopped initially

discourse 앱 컨테이너에 진입하여 언급된 디렉토리를 수동으로 생성하려고 해도 아래와 같은 오류 메시지가 나타납니다:

root@vtdiscourse-app:/var/www/discourse/.git/refs/remotes/origin# mkdir ux
mkdir: cannot create directory ‘ux’: Invalid argument

mkdir 호출은 문제없는 것으로 보이기 때문에 이 오류 메시지에 대해 의아합니다. 어떤 힌트가 있을까요?

잘 모르겠지만, 기본적으로 여쭤볼 게 있어요: 콘솔에서 ./launcher enter app을 실행하면 어떻게 되나요?

명령줄에서 재빌드를 수행해야 합니다. 또한 PostgreSQL 15 업데이트도 확인해야 합니다.

컨테이너 안에 들어갑니다. 그러면 예를 들어 (위에서 언급했듯이) 다음을 실행할 수 있습니다.

git pull./launcher rebuild app을 실행하여 시도해 보았더니 다음과 같은 오류 메시지가 나옵니다.

root@vtdiscourse /var/discourse# ./launcher rebuild app
WARNING: Docker version 23.0.3 deprecated, recommend upgrade to 24.0.7 or newer.
x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

2.0.20250129-0720: Pulling from discourse/base
af302e5c37e9: Pull complete 
ed49ab5c933d: Pull complete 
7cb9e730d898: Pull complete 
7c28a6b187b2: Pull complete 
23222af7238f: Pull complete 
59b87d9ed5c1: Pull complete 
90d60b432298: Pull complete 
d3b3135aa82b: Pull complete 
94e7b594395d: Pull complete 
cf15e2c89d00: Pull complete 
2c0cccf9ec27: Pull complete 
5d8ea2a8d564: Pull complete 
020f04b42275: Pull complete 
06e22604f387: Pull complete 
8b0ecc579aad: Pull complete 
4d577f7424c0: Pull complete 
37ef4781925f: Pull complete 
30d67d1af761: Pull complete 
43eaf8c26af4: Pull complete 
02f4cc50eabd: Pull complete 
93896ee36e56: Pull complete 
fadd5d615e0e: Pull complete 
85f9459cb30e: Extracting [==================================================>]     749B/749B
eaddca2afacb: Download complete 
f54443d29a2d: Download complete 
ed6f0f133683: Download complete 
3d1894dc563f: Download complete 
51ca3f63c909: Download complete 
b87374db2274: Download complete 
failed to register layer: ApplyLayer exit status 1 stdout:  stderr: unlinkat /tmp/node-compile-cache/v22.13.1-x64-efe9a9df-0: invalid argument
2.0.20250129-0720: Pulling from discourse/base
af302e5c37e9: Pull complete 
ed49ab5c933d: Pull complete 
7cb9e730d898: Pull complete 
7c28a6b187b2: Pull complete 
23222af7238f: Pull complete 
59b87d9ed5c1: Pull complete 
90d60b432298: Pull complete 
d3b3135aa82b: Pull complete 
94e7b594395d: Pull complete 
cf15e2c89d00: Pull complete 
2c0cccf9ec27: Pull complete 
5d8ea2a8d564: Pull complete 
020f04b42275: Pull complete 
06e22604f387: Pull complete 
8b0ecc579aad: Pull complete 
4d577f7424c0: Pull complete 
37ef4781925f: Pull complete 
30d67d1af761: Pull complete 
43eaf8c26af4: Pull complete 
02f4cc50eabd: Pull complete 
93896ee36e56: Pull complete 
fadd5d615e0e: Pull complete 
85f9459cb30e: Extracting [==================================================>]     749B/749B
eaddca2afacb: Download complete 
f54443d29a2d: Download complete 
ed6f0f133683: Download complete 
3d1894dc563f: Download complete 
51ca3f63c909: Download complete 
b87374db2274: Download complete 
failed to register layer: ApplyLayer exit status 1 stdout:  stderr: unlinkat /tmp/node-compile-cache/v22.13.1-x64-efe9a9df-0: invalid argument
Unable to find image 'discourse/base:2.0.20250129-0720' locally
2.0.20250129-0720: Pulling from discourse/base
af302e5c37e9: Pulling fs layer
ed49ab5c933d: Pulling fs layer
7cb9e730d898: Pulling fs layer
7c28a6b187b2: Pulling fs layer
23222af7238f: Pulling fs layer
59b87d9ed5c1: Pulling fs layer
90d60b432298: Pulling fs layer
d3b3135aa82b: Pulling fs layer
94e7b594395d: Pulling fs layer
cf15e2c89d00: Pulling fs layer
2c0cccf9ec27: Pulling fs layer
5d8ea2a8d564: Pulling fs layer
020f04b42275: Pulling fs layer
06e22604f387: Pulling fs layer
8b0ecc579aad: Pulling fs layer
4d577f7424c0: Pulling fs layer
23222af7238f: Waiting
37ef4781925f: Pulling fs layer
30d67d1af761: Pulling fs layer
59b87d9ed5c1: Waiting
43eaf8c26af4: Pulling fs layer
90d60b432298: Waiting
02f4cc50eabd: Pulling fs layer
93896ee36e56: Pulling fs layer
fadd5d615e0e: Pulling fs layer
85f9459cb30e: Pulling fs layer
d3b3135aa82b: Waiting
eaddca2afacb: Pulling fs layer
f54443d29a2d: Pulling fs layer
94e7b594395d: Waiting
ed6f0f133683: Pulling fs layer
cf15e2c89d00: Waiting
3d1894dc563f: Pulling fs layer
2c0cccf9ec27: Waiting
51ca3f63c909: Pulling fs layer
5d8ea2a8d564: Waiting
b87374db2274: Pulling fs layer
020f04b42275: Waiting
06e22604f387: Waiting
4d577f7424c0: Waiting
37ef4781925f: Waiting
8b0ecc579aad: Waiting
30d67d1af761: Waiting
43eaf8c26af4: Waiting
02f4cc50eabd: Waiting
93896ee36e56: Waiting
fadd5d615e0e: Waiting
85f9459cb30e: Waiting
eaddca2afacb: Waiting
f54443d29a2d: Waiting
ed6f0f133683: Waiting
3d1894dc563f: Waiting
51ca3f63c909: Waiting
b87374db2274: Waiting
7c28a6b187b2: Waiting
7cb9e730d898: Verifying Checksum
7cb9e730d898: Download complete
7c28a6b187b2: Verifying Checksum
7c28a6b187b2: Download complete
af302e5c37e9: Verifying Checksum
af302e5c37e9: Download complete
23222af7238f: Verifying Checksum
23222af7238f: Download complete
ed49ab5c933d: Verifying Checksum
ed49ab5c933d: Download complete
90d60b432298: Verifying Checksum
90d60b432298: Download complete
94e7b594395d: Verifying Checksum
94e7b594395d: Download complete
d3b3135aa82b: Verifying Checksum
d3b3135aa82b: Download complete
cf15e2c89d00: Download complete
2c0cccf9ec27: Verifying Checksum
2c0cccf9ec27: Download complete
af302e5c37e9: Pull complete
5d8ea2a8d564: Verifying Checksum
5d8ea2a8d564: Download complete
020f04b42275: Verifying Checksum
020f04b42275: Download complete
8b0ecc579aad: Verifying Checksum
8b0ecc579aad: Download complete
4d577f7424c0: Download complete
06e22604f387: Verifying Checksum
06e22604f387: Download complete
30d67d1af761: Verifying Checksum
30d67d1af761: Download complete
37ef4781925f: Verifying Checksum
37ef4781925f: Download complete
43eaf8c26af4: Verifying Checksum
43eaf8c26af4: Download complete
02f4cc50eabd: Verifying Checksum
02f4cc50eabd: Download complete
59b87d9ed5c1: Verifying Checksum
59b87d9ed5c1: Download complete
fadd5d615e0e: Download complete
93896ee36e56: Verifying Checksum
93896ee36e56: Download complete
85f9459cb30e: Download complete
eaddca2afacb: Verifying Checksum
eaddca2afacb: Download complete
f54443d29a2d: Verifying Checksum
ed6f0f133683: Download complete
3d1894dc563f: Verifying Checksum
3d1894dc563f: Download complete
51ca3f63c909: Verifying Checksum
51ca3f63c909: Download complete
b87374db2274: Verifying Checksum
b87374db2274: Download complete
ed49ab5c933d: Pull complete
7cb9e730d898: Pull complete
7c28a6b187b2: Pull complete
23222af7238f: Pull complete
59b87d9ed5c1: Pull complete
90d60b432298: Pull complete
d3b3135aa82b: Pull complete
94e7b594395d: Pull complete
cf15e2c89d00: Pull complete
2c0cccf9ec27: Pull complete
5d8ea2a8d564: Pull complete
020f04b42275: Pull complete
06e22604f387: Pull complete
8b0ecc579aad: Pull complete
4d577f7424c0: Pull complete
37ef4781925f: Pull complete
30d67d1af761: Pull complete
43eaf8c26af4: Pull complete
02f4cc50eabd: Pull complete
93896ee36e56: Pull complete
fadd5d615e0e: Pull complete
f54443d29a2d: Download complete
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: unlinkat /tmp/node-compile-cache/v22.13.1-x64-efe9a9df-0: invalid argument.
See 'docker run --help'.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

언급된 스레드의 조언을 따랐지만, 단순한 도커 컨테이너를 실행하는 데는 문제가 없으며, 도커 서비스를 재시작해도 상황이 변하지 않았습니다.

제 이해가 맞다면, 이것도 기본적으로 명령줄 재빌드(충분한 하드웨어 리소스가 있는 경우)만 필요할 것 같습니다.

무엇을 놓쳤을까요?

구버전 운영 체계를 사용 중이신가요, 아니면 도커를 업데이트할 수 없는 이유는 무엇인가요?

아마도 도커(docker)가 오래된 버전일 가능성이 큽니다. apt install docker-ce를 실행해 보거나, 운영체제(OS) 자체가 오래되어 새 VM으로 이전하는 것이 더 나을 수도 있습니다.

이 스레드에는 Docker 업데이트가 필요하여 업그레이드가 실패한 것에 대한 정보가 있습니다.

모두에게 힌트를 주셔서 감사합니다. 에러 메시지를 보고는 명확하지 않았습니다. 이제 OS를 업데이트했습니다(실제로 가까운 미래에 새로운 시스템으로 이동할 계획이므로) 그리고 최신 docker 버전을 실행 중입니다:

root@vtdiscourse /var/discourse# docker --version
Docker version 27.5.1, build 9f9e405

첫 번째 재빌드, PostgreSQL 업데이트를 포함하여 내가 본限り로는 잘 진행되었습니다. 그러나 두 번째 앱 재빌드가 다시 실패합니다:

root@vtdiscourse /var/discourse# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 600 app
app
2.0.20250129-0720: Pulling from discourse/base
Digest: sha256:01b8516e5504c0e9bc3707773015ff4407be03a89154194ff3b5b8699291bc26
Status: Image is up to date for discourse/base:2.0.20250129-0720
docker.io/discourse/base:2.0.20250129-0720
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2025-02-07T12:24:01.077847 #1]  INFO -- : Reading from stdin
I, [2025-02-07T12:24:01.088712 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2025-02-07T12:24:01.092158 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2025-02-07T12:24:01.095399 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2025-02-07T12:24:01.098725 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown: 
I, [2025-02-07T12:24:01.101897 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2025-02-07T12:24:01.102188 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/15/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.375689 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376033 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376462 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376899 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.377215 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.377590 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.381222 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.381793 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.382182 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.608937 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.609239 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.609523 #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, [2025-02-07T12:27:08.142917 #1]  INFO -- : Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.

I, [2025-02-07T12:27:08.143547 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main
I, [2025-02-07T12:27:08.149982 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown: 
I, [2025-02-07T12:27:08.155367 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2025-02-07T12:27:08.158186 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2025-02-07T12:27:08.158385 #1]  INFO -- : > sleep 5
2025-02-07 12:27:08.206 UTC [42] LOG:  starting PostgreSQL 15.10 (Debian 15.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-02-07 12:27:08.206 UTC [42] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2025-02-07 12:27:08.206 UTC [42] LOG:  listening on IPv6 address "::", port 5432
2025-02-07 12:27:08.219 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-02-07 12:27:08.237 UTC [53] LOG:  database system was shut down at 2025-02-07 12:20:09 UTC
2025-02-07 12:27:08.248 UTC [42] LOG:  database system is ready to accept connections
I, [2025-02-07T12:27:13.160322 #1]  INFO -- : 
I, [2025-02-07T12:27:13.160466 #1]  INFO -- : > /usr/local/bin/create_db
2025-02-07 12:27:13.224 UTC [60] postgres@postgres ERROR:  database "discourse" already exists
2025-02-07 12:27:13.224 UTC [60] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
2025-02-07 12:27:13.284 UTC [63] postgres@discourse ERROR:  role "discourse" already exists
2025-02-07 12:27:13.284 UTC [63] 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:  version "0.8.0" of extension "vector" is already installed
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
NOTICE:  version "0.8.0" of extension "vector" is already installed
I, [2025-02-07T12:27:13.896203 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0

I, [2025-02-07T12:27:13.896314 #1]  INFO -- : > echo postgres installed!
I, [2025-02-07T12:27:13.898502 #1]  INFO -- : postgres installed!

I, [2025-02-07T12:27:13.901863 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2025-02-07T12:27:13.905158 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2025-02-07T12:27:13.908457 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2025-02-07T12:27:13.908904 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.089263 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.089723 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2025-02-07T12:27:14.092105 #1]  INFO -- : 
I, [2025-02-07T12:27:14.092424 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.092948 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.093393 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.093851 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.094231 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.094574 #1]  INFO -- : > echo redis installed
I, [2025-02-07T12:27:14.095877 #1]  INFO -- : redis installed

I, [2025-02-07T12:27:14.096020 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2025-02-07T12:27:14.098793 #1]  INFO -- : logfile ""

I, [2025-02-07T12:27:14.098926 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2025-02-07T12:27:14.100074 #1]  INFO -- : > sleep 10
109:C 07 Feb 2025 12:27:14.111 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
109:C 07 Feb 2025 12:27:14.111 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=109, just started
109:C 07 Feb 2025 12:27:14.111 # Configuration loaded
109:M 07 Feb 2025 12:27:14.111 * monotonic clock: POSIX clock_gettime
109:M 07 Feb 2025 12:27:14.112 * Running mode=standalone, port=6379.
109:M 07 Feb 2025 12:27:14.112 # Server initialized
109:M 07 Feb 2025 12:27:14.112 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. 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.
109:M 07 Feb 2025 12:27:14.113 * Loading RDB produced by version 7.0.15
109:M 07 Feb 2025 12:27:14.113 * RDB age 425 seconds
109:M 07 Feb 2025 12:27:14.113 * RDB memory usage when created 2.78 Mb
109:M 07 Feb 2025 12:27:14.120 * Done loading RDB, keys loaded: 1629, keys expired: 1.
109:M 07 Feb 2025 12:27:14.120 * DB loaded from disk: 0.007 seconds
109:M 07 Feb 2025 12:27:14.120 * Ready to accept connections
I, [2025-02-07T12:27:24.101766 #1]  INFO -- : 
I, [2025-02-07T12:27:24.101989 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2025-02-07T12:27:24.104708 #1]  INFO -- : thpoff is installed!

I, [2025-02-07T12:27:24.105058 #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, [2025-02-07T12:27:24.198364 #1]  INFO -- : 
I, [2025-02-07T12:27:24.198510 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2025-02-07T12:27:24.290864 #1]  INFO -- : 
I, [2025-02-07T12:27:24.291001 #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, [2025-02-07T12:27:24.383477 #1]  INFO -- : 
I, [2025-02-07T12:27:24.383659 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2025-02-07T12:27:24.385641 #1]  INFO -- : 
I, [2025-02-07T12:27:24.387673 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2025-02-07T12:27:24.391186 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2025-02-07T12:27:24.394676 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2025-02-07T12:27:24.397954 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2025-02-07T12:27:24.401316 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2025-02-07T12:27:24.404581 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2025-02-07T12:27:24.404732 #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, [2025-02-07T12:27:24.406272 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2025-02-07T12:27:24.638997 #1]  INFO -- : 
I, [2025-02-07T12:27:24.639147 #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-app-events-revolution
 - [deleted]             (none)     -> origin/0-ember-bump-fix-modal
 - [deleted]             (none)     -> origin/0-polls-still
 - [deleted]             (none)     -> origin/0-rename-details
 - [deleted]             (none)     -> origin/0-simpler-placeholder
 - [deleted]             (none)     -> origin/0-store-bump
 - [deleted]             (none)     -> origin/0-tooltip
 - [deleted]             (none)     -> origin/0-user-status
 - [deleted]             (none)     -> origin/add-message-builder-modifier-3
 - [deleted]             (none)     -> origin/add-shift-detect
 - [deleted]             (none)     -> origin/add-shortcuts
 - [deleted]             (none)     -> origin/add-signal-to-notifications-template
 - [deleted]             (none)     -> origin/after-post-outlet
 - [deleted]             (none)     -> origin/again-support-load-more-btn
 - [deleted]             (none)     -> origin/allow-overriding-sidebar-my-posts-icon
 - [deleted]             (none)     -> origin/array-custom-field-order
 - [deleted]             (none)     -> origin/async-category-link
 - [deleted]             (none)     -> origin/bump-eslint-config
 - [deleted]             (none)     -> origin/carsick-patch-1
 - [deleted]             (none)     -> origin/cat-mod-groups
 - [deleted]             (none)     -> origin/category-experts-approved-webhook-event-wip
 - [deleted]             (none)     -> origin/chat-github-onebox
 - [deleted]             (none)     -> origin/chat-uppy-upload
 - [deleted]             (none)     -> origin/conditional-summary-box
 - [deleted]             (none)     -> origin/custom-field-store-cleanup
 - [deleted]             (none)     -> origin/d-object
 - [deleted]             (none)     -> origin/defer-button-action
 - [deleted]             (none)     -> origin/demote-summarize-ai-button
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/uppy-b578ad6dea
 - [deleted]             (none)     -> origin/dev-fail-tests-on-fa6-deprecated-icons-from-svg-sprite-rb
 - [deleted]             (none)     -> origin/dev-faster-tests
 - [deleted]             (none)     -> origin/dev-migrate-user-passwords
 - [deleted]             (none)     -> origin/dev-refactor-username-validation-mixin
 - [deleted]             (none)     -> origin/dev/add-a-reference-column-to-notifications
 - [deleted]             (none)     -> origin/dev/advanced-search-custom-in-special
 - [deleted]             (none)     -> origin/dev/automation-scriptable-add-with-class
 - [deleted]             (none)     -> origin/dev/default-plugin-config-pages
 - [deleted]             (none)     -> origin/dev/drop-ignore-chat_channels_last_message_sent_at
 - [deleted]             (none)     -> origin/dev/port-outlet-wrapper-to-stable
 - [deleted]             (none)     -> origin/dev/refactor-uploads-importer
 - [deleted]             (none)     -> origin/dev/remove-deprecated-respect-plugin-positional-argument
 - [deleted]             (none)     -> origin/dev/sidebar-sections-collapse-expand-transformer-events
 - [deleted]             (none)     -> origin/dev/sidebar-subsections
 - [deleted]             (none)     -> origin/dev/third-party-breadcrumbs
 - [deleted]             (none)     -> origin/dev_add_query_param
 - [deleted]             (none)     -> origin/dev_lazy_load_categories_tests
 - [deleted]             (none)     -> origin/dev_update_category_position
 - [deleted]             (none)     -> origin/docs-publishing-mvp
 - [deleted]             (none)     -> origin/drawer-composer-positioning
 - [deleted]             (none)     -> origin/ember-4
 - [deleted]             (none)     -> origin/expand-allowed-custom-emoji-images-types
 - [deleted]             (none)     -> origin/extra-js-revert
 - [deleted]             (none)     -> origin/feature/add-user-to-topic_tags_changed-event
 - [deleted]             (none)     -> origin/feature/custom-fields-for-existing-users
 - [deleted]             (none)     -> origin/feature/enable-chat-with-dms-only
 - [deleted]             (none)     -> origin/feature/light-dark-mode-switcher
 - [deleted]             (none)     -> origin/feature/paste-upload-on-first-upload-input-templates
 - [deleted]             (none)     -> origin/feature/show-note-bookmark-notif
 - [deleted]             (none)     -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
 - [deleted]             (none)     -> origin/feature_pm_editor
 - [deleted]             (none)     -> origin/feature_track_mentions
 - [deleted]             (none)     -> origin/fix-directory-search-limit
 - [deleted]             (none)     -> origin/fix-display-errors-for-history-modal-when-fetching-revisions
 - [deleted]             (none)     -> origin/fix-password-reset-security-key
 - [deleted]             (none)     -> origin/fix-safari-below-18-detection
 - [deleted]             (none)     -> origin/fix-search-context-delete-key
 - [deleted]             (none)     -> origin/fix-unread-notifications-take-2
 - [deleted]             (none)     -> origin/fix/tag-rename-404
 - [deleted]             (none)     -> origin/full-page
 - [deleted]             (none)     -> origin/glimmer-header-dnd-live
 - [deleted]             (none)     -> origin/group_and_tag_group_permission_change_notification
 - [deleted]             (none)     -> origin/handle-non-ascii-charc
 - [deleted]             (none)     -> origin/hijacks
 - [deleted]             (none)     -> origin/history-store-methods
 - [deleted]             (none)     -> origin/i18n-helper-import
 - [deleted]             (none)     -> origin/image-assets
 - [deleted]             (none)     -> origin/implicit-injections-deprecations
 - [deleted]             (none)     -> origin/improve-claimed-reviewables-transactions
 - [deleted]             (none)     -> origin/issue/do-not-enforce-2fa-on-social-logins
 - [deleted]             (none)     -> origin/issue/fix-user-field-enum-migrate
 - [deleted]             (none)     -> origin/issue/fixup-upload-ref-backfill-migration-dates
 - [deleted]             (none)     -> origin/list-wrapper
 - [deleted]             (none)     -> origin/live-cache
 - [deleted]             (none)     -> origin/lock-step
 - [deleted]             (none)     -> origin/loic-upgrade-miniracer
 - [deleted]             (none)     -> origin/more-topics-active
 - [deleted]             (none)     -> origin/nginx-conf
 - [deleted]             (none)     -> origin/oklab
 - [deleted]             (none)     -> origin/plugin-outlet-no-subdir
 - [deleted]             (none)     -> origin/post-widget-outlet
 - [deleted]             (none)     -> origin/powered-by-reactivity
 - [deleted]             (none)     -> origin/promote-migration-tweak
 - [deleted]             (none)     -> origin/prune-old-transpilers
 - [deleted]             (none)     -> origin/remap-assume-yes-option
 - [deleted]             (none)     -> origin/remove-bootbox
 - [deleted]             (none)     -> origin/remove-muted-from-hot-and-top-topic-lists
 - [deleted]             (none)     -> origin/remove-x-count
 - [deleted]             (none)     -> origin/render-glimmer-granular
 - [deleted]             (none)     -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting
 - [deleted]             (none)     -> origin/revert-location-change
 - [deleted]             (none)     -> origin/revert-thread-title-experiment
 - [deleted]             (none)     -> origin/see_if_yarn_cache_is_working
 - [deleted]             (none)     -> origin/shared-draft-category
 - [deleted]             (none)     -> origin/skip-back-button-animation
 - [deleted]             (none)     -> origin/tag-span
 - [deleted]             (none)     -> origin/testing_debian_12
 - [deleted]             (none)     -> origin/tobiaseigen-patch-4
 - [deleted]             (none)     -> origin/topic-count-fix
 - [deleted]             (none)     -> origin/topic-list-item-style
 - [deleted]             (none)     -> origin/translations-from-crowdin-main
 - [deleted]             (none)     -> origin/translations-from-crowdin-stable
 - [deleted]             (none)     -> origin/update-gems-stable
 - [deleted]             (none)     -> origin/ux/admin-site-setting-inner-sidebar-experiment
 - [deleted]             (none)     -> origin/whats-new-notify-plugins
   c64b5d6d7..6b6b31a97  main                    -> origin/main
 * [new branch]          0-a-pnpm-lock           -> origin/0-a-pnpm-lock
 + 3c0b2f75f...0d2238318 allow-posts-link-in-sidebar -> origin/allow-posts-link-in-sidebar  (forced update)
 * [new branch]          async-data              -> origin/async-data
 * [new branch]          automation-autoload     -> origin/automation-autoload
 + c35147e8c...a4758855f composer-disable-submit -> origin/composer-disable-submit  (forced update)
 * [new branch]          d-menu-composer-flag    -> origin/d-menu-composer-flag
 * [new branch]          dependabot/bundler/msgpack-1.8.0 -> origin/dependabot/bundler/msgpack-1.8.0
 * [new branch]          dependabot/bundler/net-smtp-0.5.1 -> origin/dependabot/bundler/net-smtp-0.5.1
 * [new branch]          dependabot/bundler/parser-3.3.7.1 -> origin/dependabot/bundler/parser-3.3.7.1
 * [new branch]          dependabot/bundler/rdoc-6.12.0 -> origin/dependabot/bundler/rdoc-6.12.0
 * [new branch]          dependabot/bundler/rspec-core-3.13.3 -> origin/dependabot/bundler/rspec-core-3.13.3
 * [new branch]          dependabot/bundler/rspec-rails-7.1.1 -> origin/dependabot/bundler/rspec-rails-7.1.1
 * [new branch]          dependabot/bundler/rubocop-1.71.2 -> origin/dependabot/bundler/rubocop-1.71.2
 * [new branch]          dependabot/bundler/webmock-3.25.0 -> origin/dependabot/bundler/webmock-3.25.0
 * [new branch]          dependabot/npm_and_yarn/discourse/lint-configs-2.4.0 -> origin/dependabot/npm_and_yarn/discourse/lint-configs-2.4.0
 * [new branch]          dependabot/npm_and_yarn/ember-cli-6.2.0 -> origin/dependabot/npm_and_yarn/ember-cli-6.2.0
 * [new branch]          dependabot/npm_and_yarn/prosemirror-view-1.37.2 -> origin/dependabot/npm_and_yarn/prosemirror-view-1.37.2
 * [new branch]          dependabot/npm_and_yarn/puppeteer-core-24.2.0 -> origin/dependabot/npm_and_yarn/puppeteer-core-24.2.0
 * [new branch]          dependabot/npm_and_yarn/swc/core-1.10.14 -> origin/dependabot/npm_and_yarn/swc/core-1.10.14
 * [new branch]          dependabot/npm_and_yarn/terser-5.38.1 -> origin/dependabot/npm_and_yarn/terser-5.38.1
 * [new branch]          dependabot/npm_and_yarn/uppy-b82cdcd59c -> origin/dependabot/npm_and_yarn/uppy-b82cdcd59c
 * [new branch]          dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests -> origin/dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests
 + 72ff8f1eb...699aa3755 dev-refactor-username-validation-mixin-to-helper -> origin/dev-refactor-username-validation-mixin-to-helper  (forced update)
 * [new branch]          dev/async-content-component -> origin/dev/async-content-component
 + ec68ffb95...2124c96a9 dev/color-palette-editor -> origin/dev/color-palette-editor  (forced update)
 * [new branch]          dev/ember-async-data-demo -> origin/dev/ember-async-data-demo
 * [new branch]          dev/purge-widget-post-menu -> origin/dev/purge-widget-post-menu
 * [new branch]          dev/user-field-components-transformer -> origin/dev/user-field-components-transformer
 * [new branch]          feature_pm_codeblock    -> origin/feature_pm_codeblock
 * [new branch]          feature_pm_emoji        -> origin/feature_pm_emoji
 * [new branch]          feature_pm_hashtag      -> origin/feature_pm_hashtag
 * [new branch]          feature_pm_html_block   -> origin/feature_pm_html_block
 * [new branch]          feature_pm_html_inline  -> origin/feature_pm_html_inline
 * [new branch]          feature_pm_image        -> origin/feature_pm_image
 * [new branch]          feature_pm_link         -> origin/feature_pm_link
 * [new branch]          feature_pm_mention      -> origin/feature_pm_mention
 * [new branch]          feature_pm_quote        -> origin/feature_pm_quote
 * [new branch]          feature_pm_strikethrough -> origin/feature_pm_strikethrough
 * [new branch]          feature_pm_table        -> origin/feature_pm_table
 * [new branch]          feature_pm_typographer  -> origin/feature_pm_typographer
 * [new branch]          feature_pm_underline    -> origin/feature_pm_underline
 * [new branch]          fix/secure-upload-rake-dedup-no-post -> origin/fix/secure-upload-rake-dedup-no-post
 + 0f2f74d08...18fbfb9cb mt/idb                  -> origin/mt/idb  (forced update)
 * [new branch]          mt/update-default-config -> origin/mt/update-default-config
 * [new branch]          omit-date-in-user-stream-small-actions -> origin/omit-date-in-user-stream-small-actions
 * [new branch]          pento/dev-upgrade-pnpm-10 -> origin/pento/dev-upgrade-pnpm-10
 * [new branch]          quick-smoke-test        -> origin/quick-smoke-test
 + de3691471...e5890e554 renato/pm               -> origin/renato/pm  (forced update)
   5d4c2a89e..22f2a554e  stable                  -> origin/stable
   c64b5d6d7..6b6b31a97  tests-passed            -> origin/tests-passed
 * [new branch]          tobiaseigen-patch-3     -> origin/tobiaseigen-patch-3
 * [new branch]          tobiaseigen-patch-3-1   -> origin/tobiaseigen-patch-3-1
   415cccafb..c43caf483  user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
 * [new branch]          user-stream-item-alignment-fix -> origin/user-stream-item-alignment-fix
   10566d84b..c540132fe  ux/combined-themes-components-sidebar-links -> origin/ux/combined-themes-components-sidebar-links
 t [tag update]          beta                    -> beta
 t [tag update]          latest-release          -> latest-release
 * [new tag]             v3.3.4                  -> v3.3.4
 * [new tag]             v3.4.0                  -> v3.4.0
 * [new tag]             v3.4.0.beta4            -> v3.4.0.beta4
I, [2025-02-07T12:27:26.047219 #1]  INFO -- : 
I, [2025-02-07T12:27:26.047365 #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, [2025-02-07T12:27:32.242164 #1]  INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.

I, [2025-02-07T12:27:32.242306 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2025-02-07T12:27:32.253644 #1]  INFO -- : 
I, [2025-02-07T12:27:32.253780 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2025-02-07T12:27:32.256418 #1]  INFO -- : 
I, [2025-02-07T12:27:32.256500 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2025-02-07T12:27:32.258899 #1]  INFO -- : 
I, [2025-02-07T12:27:32.258965 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2025-02-07T12:27:32.261423 #1]  INFO -- : 
I, [2025-02-07T12:27:32.261536 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2025-02-07T12:27:32.263798 #1]  INFO -- : 
I, [2025-02-07T12:27:32.263864 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2025-02-07T12:27:32.266054 #1]  INFO -- : 
I, [2025-02-07T12:27:32.266120 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2025-02-07T12:27:32.268279 #1]  INFO -- : 
I, [2025-02-07T12:27:32.268346 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2025-02-07T12:27:32.271876 #1]  INFO -- : 
I, [2025-02-07T12:27:32.271943 #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, [2025-02-07T12:27:32.275766 #1]  INFO -- : 
I, [2025-02-07T12:27:32.275833 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2025-02-07T12:27:32.279336 #1]  INFO -- : 
I, [2025-02-07T12:27:32.279449 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2025-02-07T12:27:32.282869 #1]  INFO -- : 
I, [2025-02-07T12:27:32.282985 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2025-02-07T12:27:32.286437 #1]  INFO -- : 
I, [2025-02-07T12:27:32.286552 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2025-02-07T12:27:32.289936 #1]  INFO -- : 
I, [2025-02-07T12:27:32.290051 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2025-02-07T12:27:32.295538 #1]  INFO -- : 
I, [2025-02-07T12:27:32.295660 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2025-02-07T12:27:32.297217 #1]  INFO -- : 
I, [2025-02-07T12:27:32.297447 #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, [2025-02-07T12:27:32.297853 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2025-02-07T12:27:33.282135 #1]  INFO -- : 
I, [2025-02-07T12:27:33.282282 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/communiteq/discourse-private-topics.git
Cloning into 'discourse-private-topics'...
I, [2025-02-07T12:27:33.838661 #1]  INFO -- : 
I, [2025-02-07T12:27:33.838987 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:33.841660 #1]  INFO -- : 
I, [2025-02-07T12:27:33.841772 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2025-02-07T12:27:33.843420 #1]  INFO -- : 
I, [2025-02-07T12:27:33.843484 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2025-02-07T12:27:33.845230 #1]  INFO -- : 
I, [2025-02-07T12:27:33.845418 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2025-02-07T12:27:34.158786 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159111 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159474 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159788 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2025-02-07T12:27:34.160072 #1]  INFO -- : > echo "done configuring web"
I, [2025-02-07T12:27:34.161854 #1]  INFO -- : done configuring web

I, [2025-02-07T12:27:34.162105 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2025-02-07T12:27:34.468978 #1]  INFO -- : 
I, [2025-02-07T12:27:34.469096 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2025-02-07T12:27:36.908120 #1]  INFO -- : 
I, [2025-02-07T12:27:36.908416 #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, [2025-02-07T12:27:38.403844 #1]  INFO -- : Scope: all 17 workspace projects
Lockfile is up to date, resolution step is skipped
 EINVAL  EINVAL: invalid argument, rmdir '/var/www/discourse/app/assets/javascripts/dialog-holder/node_modules/.bin'




I, [2025-02-07T12:27:38.404328 #1]  INFO -- : 비동기 프로세스 종료 중
I, [2025-02-07T12:27:38.404370 #1]  INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main pid: 42에 INT 신호 전송 중
I, [2025-02-07T12:27:38.404438 #1]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 109에 TERM 신호 전송 중
2025-02-07 12:27:38.404 UTC [42] LOG:  빠른 종료 요청 수신
109:signal-handler (1738931258) SIGTERM 수신, 종료 예정...
2025-02-07 12:27:38.434 UTC [42] LOG:  활성 트랜잭션 중단
2025-02-07 12:27:38.436 UTC [42] LOG:  백그라운드 워커 "logical replication launcher" (PID 56)가 종료 코드 1로 종료됨
2025-02-07 12:27:38.436 UTC [51] LOG:  종료 중
2025-02-07 12:27:38.443 UTC [51] LOG:  체크포인트 시작: shutdown immediate
109:M 07 Feb 2025 12:27:38.499 # 사용자가 종료를 요청했습니다...
109:M 07 Feb 2025 12:27:38.499 * 종료 전 최종 RDB 스냅샷 저장 중.
2025-02-07 12:27:38.507 UTC [51] LOG:  체크포인트 완료: 4개 버퍼 작성 (0.0%); 0개 WAL 파일 추가, 0개 삭제, 0개 재사용; write=0.002 s, sync=0.027 s, total=0.071 s; sync files=3, longest=0.010 s, average=0.009 s; distance=5 kB, estimate=5 kB
2025-02-07 12:27:38.514 UTC [42] LOG:  데이터베이스 시스템이 종료되었습니다
109:M 07 Feb 2025 12:27:38.541 * DB가 디스크에 저장됨
109:M 07 Feb 2025 12:27:38.541 # Redis가 이제 종료 준비가 완료되었습니다, 안녕...


FAILED
--------------------
Pups::ExecError: 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 실행 실패, 반환 값 #<Process::Status: pid 290 exit 234>
실패 위치: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
파라미터 {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ -f yarn.lock ]; then\n  if [ -d node_modules/.pnpm ]; then\n    echo \"This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up...\"\n    find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +\n  fi\n  su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'\nelse\n  su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'\nfi"]}로 실행 실패
bootstrap 실패, 종료 코드 234
** BOOTSTRAP 실패 ** 이전의 오류 메시지를 확인하십시오. 오류가 하나 이상일 수 있습니다.
./discourse-doctor가 문제를 진단하는 데 도움이 될 수 있습니다.
ca4136b0e8118d0ec935d9c725cd78463f542b74c8734ca79d278dc94ec76b56

여전히 무엇이 잘못되었는지 파악이 되지 않습니다. 참고해야 할 다른 로그 파일이 있을까요? 힌트를 주셔서 감사합니다!

문제가 계속되고 내가 전혀 감이 잡히지 않아서, 문제를 디버깅하는 방법에 대한 힌트를 주실 분이 있을까요? 감사합니다!

다시 재구성을 시도해 보셨나요?

네, 어제 다시 게시하기 직전에 한 번 더 시도해 봤는데 또 실패했어요.

제 경우의 해결책은 더 새로운 하드웨어와 더 새로운 가상 환경으로 이관하는 것이었습니다. 관련 링크: