2.7.0.beta8にアップグレード

サイトの推奨に従って、コマンドライン経由でアップグレードを開始しました。しかし失敗し、出力内容から何が間違っているのか判断できません。見落としていることはありますか?

vagrant@ubuntu-bionic:/var/discourse$ git remote -v
origin	https://github.com/discourse/discourse_docker.git (fetch)
origin	https://github.com/discourse/discourse_docker.git (push)
vagrant@ubuntu-bionic:/var/discourse$ git log
commit faa7b961bbd3f7426927a8188770e190c4d2e77a (HEAD -> master, origin/master, origin/HEAD)
Author: Penar Musaraj <pmusaraj@gmail.com>
Date:   Tue Apr 27 14:32:58 2021 -0400

    ベースイメージのバージョンアップ (#538)
[...]
vagrant@ubuntu-bionic:/var/discourse$ ./launcher rebuild discourse
launcher が最新であることを確認しています
origin を取得中
launcher は最新です
古いコンテナを停止中
+ /usr/bin/docker stop -t 60 discourse
discourse
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
すでに最新です。
注: 'v1.0.3' をチェックアウトしています。

あなたは「デタッチド HEAD」状態にあります。この状態では、自由に閲覧したり、実験的な変更を加えてコミットしたりできます。また、別のチェックアウトを実行することで、この状態で作成したコミットを破棄し、他のブランチに影響を与えずに元に戻すことができます。

作成したコミットを保持するための新しいブランチを作成したい場合は、checkout コマンドに -b オプションを付けて実行してください(今でも後でも可能です)。例:

  git checkout -b <new-branch-name>

HEAD はd1db030 で新しいバージョンを切り出しました
I, [2021-05-05T09:27:15.322661 #1]  INFO -- : --stdin を読み込み中
I, [2021-05-05T09:27:15.328861 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-05-05T09:27:15.376986 #1]  INFO -- : ロケールを生成しています(少し時間がかかる場合があります)...
生成完了。

I, [2021-05-05T09:27:15.377197 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-05-05T09:27:15.382972 #1]  INFO -- : 
I, [2021-05-05T09:27:15.383698 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-05-05T09:27:15.387281 #1]  INFO -- : 
I, [2021-05-05T09:27:15.387483 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-05-05T09:27:15.390636 #1]  INFO -- : 
I, [2021-05-05T09:27:15.390825 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-05-05T09:27:15.393607 #1]  INFO -- : 
I, [2021-05-05T09:27:15.393806 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-05-05T09:27:15.398015 #1]  INFO -- : 
I, [2021-05-05T09:27:15.398250 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/05/05 09:27:15 socat[28] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-05-05T09:27:15.409268 #1]  INFO -- : 
I, [2021-05-05T09:27:15.409441 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-05-05T09:27:15.412970 #1]  INFO -- : 
I, [2021-05-05T09:27:15.413079 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-05-05T09:27:15.415978 #1]  INFO -- : 
I, [2021-05-05T09:27:15.416097 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-05-05T09:27:15.418635 #1]  INFO -- : 
I, [2021-05-05T09:27:15.418892 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-05-05T09:27:15.421441 #1]  INFO -- : 
I, [2021-05-05T09:27:15.427205 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2021-05-05T09:27:15.431831 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2021-05-05T09:27:15.436501 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2021-05-05T09:27:15.441744 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2021-05-05T09:27:15.441980 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-05-05T09:27:16.062372 #1]  INFO -- : 
I, [2021-05-05T09:27:16.062541 #1]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/13/bin/initdb -D /shared/postgres_data || exit 0
I, [2021-05-05T09:27:16.065792 #1]  INFO -- : 
I, [2021-05-05T09:27:16.065856 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-05-05T09:27:16.084682 #1]  INFO -- : 
I, [2021-05-05T09:27:16.084855 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-05-05T09:27:16.086822 #1]  INFO -- : 
I, [2021-05-05T09:27:16.086995 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-05-05T09:27:16.093081 #1]  INFO -- : 
I, [2021-05-05T09:27:16.093275 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-05-05T09:27:16.096348 #1]  INFO -- : 
I, [2021-05-05T09:27:16.097894 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で data_directory = '/var/lib/postgresql/13/main' を data_directory = '/shared/postgres_data' に置換
I, [2021-05-05T09:27:16.098434 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?listen_addresses *=.*) を listen_addresses = '*' に置換
I, [2021-05-05T09:27:16.098725 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?synchronous_commit *=.*) を synchronous_commit = $db_synchronous_commit に置換
I, [2021-05-05T09:27:16.099015 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?shared_buffers *=.*) を shared_buffers = $db_shared_buffers に置換
I, [2021-05-05T09:27:16.099298 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?work_mem *=.*) を work_mem = $db_work_mem に置換
I, [2021-05-05T09:27:16.099575 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?default_text_search_config *=.*) を default_text_search_config = '$db_default_text_search_config' に置換
I, [2021-05-05T09:27:16.099827 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-05-05T09:27:16.104204 #1]  INFO -- : 
I, [2021-05-05T09:27:16.104504 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?checkpoint_segments *=.*) を checkpoint_segments = $db_checkpoint_segments に置換
I, [2021-05-05T09:27:16.104798 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?logging_collector *=.*) を logging_collector = $db_logging_collector に置換
I, [2021-05-05T09:27:16.105097 #1]  INFO -- : /etc/postgresql/13/main/postgresql.conf で (?-mix:#?log_min_duration_statement *=.*) を log_min_duration_statement = $db_log_min_duration_statement に置換
I, [2021-05-05T09:27:16.105627 #1]  INFO -- : /etc/postgresql/13/main/pg_hba.conf で (?-mix:^#local +replication +postgres +peer$) を local replication postgres  peer に置換
I, [2021-05-05T09:27:16.105898 #1]  INFO -- : /etc/postgresql/13/main/pg_hba.conf で (?-mix:^host.*all.*all.*127.*$) を host all all 0.0.0.0/0 md5 に置換
I, [2021-05-05T09:27:16.106322 #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, [2021-05-05T09:27:16.108258 #1]  INFO -- : > sleep 5
2021-05-05 09:27:16.172 UTC [51] LOG:  PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) x86_64-pc-linux-gnu での起動中, gcc (Debian 8.3.0-6) 8.3.0 によりコンパイル, 64-bit
2021-05-05 09:27:16.173 UTC [51] LOG:  IPv4 アドレス "0.0.0.0", ポート 5432 でリスニング中
2021-05-05 09:27:16.173 UTC [51] LOG:  IPv6 アドレス "::", ポート 5432 でリスニング中
2021-05-05 09:27:16.174 UTC [51] LOG:  Unix ソケット "/var/run/postgresql/.s.PGSQL.5432" でリスニング中
2021-05-05 09:27:16.177 UTC [54] LOG:  データベースシステムは 2021-05-05 09:27:08 UTC にシャットダウンされました
2021-05-05 09:27:16.182 UTC [51] LOG:  データベースシステムは接続を受け付ける準備ができました
I, [2021-05-05T09:27:21.111566 #1]  INFO -- : 
I, [2021-05-05T09:27:21.112084 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-05-05 09:27:21.185 UTC [64] postgres@postgres ERROR:  データベース "discourse" は既に存在します
2021-05-05 09:27:21.185 UTC [64] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: データベースの作成に失敗しました: ERROR:  データベース "discourse" は既に存在します
I, [2021-05-05T09:27:21.187474 #1]  INFO -- : 
I, [2021-05-05T09:27:21.187773 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-05-05 09:27:21.246 UTC [75] postgres@discourse ERROR:  ロール "discourse" は既に存在します
2021-05-05 09:27:21.246 UTC [75] postgres@discourse STATEMENT:  create user discourse;
ERROR:  ロール "discourse" は既に存在します
I, [2021-05-05T09:27:21.248052 #1]  INFO -- : 
I, [2021-05-05T09:27:21.248402 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-05-05T09:27:21.296635 #1]  INFO -- : GRANT

I, [2021-05-05T09:27:21.296961 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-05-05T09:27:21.345782 #1]  INFO -- : ALTER SCHEMA

I, [2021-05-05T09:27:21.346034 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  拡張 "hstore" は既に存在するためスキップします
I, [2021-05-05T09:27:21.403805 #1]  INFO -- : CREATE EXTENSION

I, [2021-05-05T09:27:21.404157 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  拡張 "pg_trgm" は既に存在するためスキップします
I, [2021-05-05T09:27:21.455272 #1]  INFO -- : CREATE EXTENSION

I, [2021-05-05T09:27:21.455541 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  拡張 "hstore" は既に存在するためスキップします
I, [2021-05-05T09:27:21.504750 #1]  INFO -- : CREATE EXTENSION

I, [2021-05-05T09:27:21.504997 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  拡張 "pg_trgm" は既に存在するためスキップします
I, [2021-05-05T09:27:21.553251 #1]  INFO -- : CREATE EXTENSION

I, [2021-05-05T09:27:21.553531 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-05-05T09:27:21.555529 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2021-05-05T09:27:21.621568 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-05-05T09:27:21.624854 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2021-05-05T09:27:21.624982 #1]  INFO -- : > echo postgres installed!
I, [2021-05-05T09:27:21.626817 #1]  INFO -- : postgres installed!

I, [2021-05-05T09:27:21.631252 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2021-05-05T09:27:21.635453 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2021-05-05T09:27:21.639963 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2021-05-05T09:27:21.640632 #1]  INFO -- : /etc/redis/redis.conf で daemonize yes を  に置換
I, [2021-05-05T09:27:21.641055 #1]  INFO -- : /etc/redis/redis.conf で (?-mix:^pidfile.*$) を  に置換
I, [2021-05-05T09:27:21.641316 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-05-05T09:27:21.643921 #1]  INFO -- : 
I, [2021-05-05T09:27:21.644338 #1]  INFO -- : /etc/redis/redis.conf で (?-mix:^logfile.*$) を logfile "" に置換
I, [2021-05-05T09:27:21.644811 #1]  INFO -- : /etc/redis/redis.conf で (?-mix:^bind .*$) を  に置換
I, [2021-05-05T09:27:21.645249 #1]  INFO -- : /etc/redis/redis.conf で (?-mix:^dir .*$) を dir /shared/redis_data に置換
I, [2021-05-05T09:27:21.645791 #1]  INFO -- : /etc/redis/redis.conf で (?-mix:^protected-mode yes) を protected-mode no に置換
I, [2021-05-05T09:27:21.646204 #1]  INFO -- : /etc/redis/redis.conf で # io-threads 4 を io-threads $redis_io_threads に置換
I, [2021-05-05T09:27:21.646601 #1]  INFO -- : > echo redis installed
I, [2021-05-05T09:27:21.648537 #1]  INFO -- : redis installed

I, [2021-05-05T09:27:21.648727 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-05-05T09:27:21.653859 #1]  INFO -- : logfile ""

I, [2021-05-05T09:27:21.654149 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-05-05T09:27:21.656375 #1]  INFO -- : > sleep 10
168:C 05 May 2021 09:27:21.664 # oO0OoO0OoO0Oo Redis が起動しています oO0OoO0OoO0Oo
168:C 05 May 2021 09:27:21.665 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=168, just started
168:C 05 May 2021 09:27:21.665 # 設定を読み込みました
168:M 05 May 2021 09:27:21.665 * monotonic clock: POSIX clock_gettime
168:M 05 May 2021 09:27:21.666 * Running mode=standalone, port=6379.
168:M 05 May 2021 09:27:21.666 # サーバーを初期化しました
168:M 05 May 2021 09:27:21.666 # WARNING overcommit_memory is set to 0! メモリ不足時にバックグラウンド保存が失敗する可能性があります。この問題を修正するには /etc/sysctl.conf に 'vm.overcommit_memory = 1' を追加し、再起動するか、コマンド 'sysctl vm.overcommit_memory=1' を実行してください。
168:M 05 May 2021 09:27:21.667 * バージョン 6.0.9 によって生成された RDB を読み込み中
168:M 05 May 2021 09:27:21.667 * RDB age 14 seconds
168:M 05 May 2021 09:27:21.667 * 作成時の RDB メモリ使用量 4.35 Mb
168:M 05 May 2021 09:27:21.675 * ディスクから DB を読み込みました: 0.009 seconds
168:M 05 May 2021 09:27:21.675 * 接続を受け付ける準備ができました
I, [2021-05-05T09:27:31.667195 #1]  INFO -- : 
I, [2021-05-05T09:27:31.668291 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-05-05T09:27:31.673159 #1]  INFO -- : thpoff is installed!

I, [2021-05-05T09:27:31.673337 #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, [2021-05-05T09:27:31.726166 #1]  INFO -- : 
I, [2021-05-05T09:27:31.726496 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2021-05-05T09:27:31.778731 #1]  INFO -- : 
I, [2021-05-05T09:27:31.778968 #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, [2021-05-05T09:27:31.833995 #1]  INFO -- : 
I, [2021-05-05T09:27:31.834201 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-05-05T09:27:32.102594 #1]  INFO -- : 
I, [2021-05-05T09:27:32.103055 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-05-05T09:27:32.105807 #1]  INFO -- : 
I, [2021-05-05T09:27:32.107685 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2021-05-05T09:27:32.111701 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2021-05-05T09:27:32.115897 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2021-05-05T09:27:32.121267 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2021-05-05T09:27:32.125493 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2021-05-05T09:27:32.129541 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2021-05-05T09:27:32.129711 #1]  INFO -- : /etc/service/unicorn/run で # postgres を sv start postgres || exit 1 に置換
I, [2021-05-05T09:27:32.130041 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-05-05T09:27:32.132091 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
196:C 05 May 2021 09:27:32.135 # oO0OoO0OoO0Oo Redis が起動しています oO0OoO0OoO0Oo
196:C 05 May 2021 09:27:32.135 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=196, just started
196:C 05 May 2021 09:27:32.135 # 設定を読み込みました
196:M 05 May 2021 09:27:32.136 * monotonic clock: POSIX clock_gettime
196:M 05 May 2021 09:27:32.136 # TCP リスニングソケット *:6379 の作成に失敗しました: bind: Address already in use
ファイルをチェックアウト中: 100% (28599/28599), 完了。
I, [2021-05-05T09:27:34.425015 #1]  INFO -- : HEAD is now at c54609bf UX: Full height composer on mobile Android (#12709)

I, [2021-05-05T09:27:34.425196 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-05-05T09:27:34.498744 #1]  INFO -- : 
I, [2021-05-05T09:27:34.498914 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-05-05T09:27:34.502461 #1]  INFO -- : 
I, [2021-05-05T09:27:34.502520 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-05-05T09:27:34.504852 #1]  INFO -- : 
I, [2021-05-05T09:27:34.504973 #1]  INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
From https://github.com/discourse/discourse
 * branch              tests-passed -> FETCH_HEAD
 * [new branch]        tests-passed -> origin/tests-passed
I, [2021-05-05T09:27:36.637177 #1]  INFO -- : 
I, [2021-05-05T09:27:36.637376 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-05-05T09:27:37.062187 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-05-05T09:27:37.062469 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-05-05T09:27:37.066615 #1]  INFO -- : 
I, [2021-05-05T09:27:37.066780 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-05-05T09:27:37.070104 #1]  INFO -- : 
I, [2021-05-05T09:27:37.070212 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-05-05T09:27:37.074122 #1]  INFO -- : 
I, [2021-05-05T09:27:37.074348 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-05-05T09:27:37.078043 #1]  INFO -- : 
I, [2021-05-05T09:27:37.078150 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-05-05T09:27:37.082146 #1]  INFO -- : 
I, [2021-05-05T09:27:37.082262 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-05-05T09:27:37.086411 #1]  INFO -- : 
I, [2021-05-05T09:27:37.086588 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-05-05T09:27:37.093241 #1]  INFO -- : 
I, [2021-05-05T09:27:37.093362 #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, [2021-05-05T09:27:37.097394 #1]  INFO -- : 
I, [2021-05-05T09:27:37.097559 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-05-05T09:27:37.102087 #1]  INFO -- : 
I, [2021-05-05T09:27:37.102228 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-05-05T09:27:37.106406 #1]  INFO -- : 
I, [2021-05-05T09:27:37.106498 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-05-05T09:27:37.110914 #1]  INFO -- : 
I, [2021-05-05T09:27:37.111006 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-05-05T09:27:37.114776 #1]  INFO -- : 
I, [2021-05-05T09:27:37.114861 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-05-05T09:27:37.125487 #1]  INFO -- : 
I, [2021-05-05T09:27:37.125592 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-05-05T09:27:37.130783 #1]  INFO -- : 
I, [2021-05-05T09:27:37.131047 #1]  INFO -- : /etc/service/unicorn/run で # redis を sv start redis || exit 1 に置換
I, [2021-05-05T09:27:37.131950 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
'docker_manager' にクローン中...
I, [2021-05-05T09:27:39.871363 #1]  INFO -- : 
I, [2021-05-05T09:27:39.871558 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-spoiler-alert.git
'discourse-spoiler-alert' にクローン中...
I, [2021-05-05T09:27:40.309977 #1]  INFO -- : 
I, [2021-05-05T09:27:40.310156 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
'discourse-solved' にクローン中...
I, [2021-05-05T09:27:40.765793 #1]  INFO -- : 
I, [2021-05-05T09:27:40.765933 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting
'discourse-voting' にクローン中...
I, [2021-05-05T09:27:41.253614 #1]  INFO -- : 
I, [2021-05-05T09:27:41.253838 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist
'discourse-checklist' にクローン中...
I, [2021-05-05T09:27:41.770637 #1]  INFO -- : 
I, [2021-05-05T09:27:41.770783 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
'discourse-chat-integration' にクローン中...
I, [2021-05-05T09:27:42.306697 #1]  INFO -- : 
I, [2021-05-05T09:27:42.306861 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-policy
'discourse-policy' にクローン中...
I, [2021-05-05T09:27:42.926224 #1]  INFO -- : 
I, [2021-05-05T09:27:42.926402 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar
'discourse-calendar' にクローン中...
I, [2021-05-05T09:27:44.099829 #1]  INFO -- : 
I, [2021-05-05T09:27:44.099996 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign
'discourse-assign' にクローン中...
I, [2021-05-05T09:27:44.671402 #1]  INFO -- : 
I, [2021-05-05T09:27:44.671544 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-footnote
'discourse-footnote' にクローン中...
I, [2021-05-05T09:27:45.111099 #1]  INFO -- : 
I, [2021-05-05T09:27:45.111316 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-graphviz
'discourse-graphviz' にクローン中...
I, [2021-05-05T09:27:45.997697 #1]  INFO -- : 
I, [2021-05-05T09:27:45.997886 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/angusmcleod/discourse-question-answer
'discourse-question-answer' にクローン中...
I, [2021-05-05T09:27:46.496827 #1]  INFO -- : 
I, [2021-05-05T09:27:46.496983 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/gdpelican/babble.git
'babble' にクローン中...
I, [2021-05-05T09:27:47.072713 #1]  INFO -- : 
I, [2021-05-05T09:27:47.072871 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/angusmcleod/discourse-quick-messages
'discourse-quick-messages' にクローン中...
I, [2021-05-05T09:27:47.531569 #1]  INFO -- : 
I, [2021-05-05T09:27:47.531724 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/angusmcleod/discourse-topic-previews
'discourse-topic-previews' にクローン中...
I, [2021-05-05T09:27:48.071499 #1]  INFO -- : 
I, [2021-05-05T09:27:48.071698 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/angusmcleod/discourse-events
'discourse-events' にクローン中...
I, [2021-05-05T09:27:49.026666 #1]  INFO -- : 
I, [2021-05-05T09:27:49.026816 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/gdpelican/retort
'retort' にクローン中...
I, [2021-05-05T09:27:49.482470 #1]  INFO -- : 
I, [2021-05-05T09:27:49.482658 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/davidtaylorhq/discourse-whos-online
'discourse-whos-online' にクローン中...
I, [2021-05-05T09:27:50.013296 #1]  INFO -- : 
I, [2021-05-05T09:27:50.013620 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-05-05T09:27:50.018814 #1]  INFO -- : 
I, [2021-05-05T09:27:50.019100 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-05-05T09:27:50.022724 #1]  INFO -- : 
I, [2021-05-05T09:27:50.022978 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-05-05T09:27:50.026733 #1]  INFO -- : 
I, [2021-05-05T09:27:50.027316 #1]  INFO -- : /etc/nginx/nginx.conf で pid /run/nginx.pid; を daemon off; に置換
I, [2021-05-05T09:27:50.027642 #1]  INFO -- : /etc/nginx/conf.d/discourse.conf で (?m-ix:upstream[^\}]+\}) を upstream discourse { server 127.0.0.1:3000; } に置換
I, [2021-05-05T09:27:50.027919 #1]  INFO -- : /etc/nginx/conf.d/discourse.conf で (?-mix:server_name.+$) を server_name _ ; に置換
I, [2021-05-05T09:27:50.028227 #1]  INFO -- : /etc/nginx/conf.d/discourse.conf で (?-mix:client_max_body_size.+$) を client_max_body_size $upload_size ; に置換
I, [2021-05-05T09:27:50.028458 #1]  INFO -- : > echo "done configuring web"
I, [2021-05-05T09:27:50.030831 #1]  INFO -- : done configuring web

I, [2021-05-05T09:27:50.031060 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2021-05-05T09:27:50.660552 #1]  INFO -- : bundler-2.2.7 を正常にインストールしました
1 gem がインストールされました

私のアップデートでエラーが発生しました

```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })

修正にご協力ください。.
libv8-node 15.14.0.1 (x86_64-linux) をインストールしています
3: stackprof (0.2.17) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/stackprof-0.2.17.gemspec
2: bootsnap (1.7.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.5.gemspec
pry 0.13.1 を使用しています
ecma-re-validator 0.3.0 を使用しています
2: pry (0.13.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
3: ecma-re-validator (0.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ecma-re-validator-0.3.0.gemspec
discourse_image_optim 0.26.2 を使用しています
3: discourse_image_optim (0.26.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse_image_optim-0.26.2.gemspec
openssl-signature_algorithm 1.1.1 を使用しています
2: openssl-signature_algorithm (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
mini_suffix 0.3.2 を使用しています
2: mini_suffix (0.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
sassc 2.0.1 を使用しています
2: sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
omniauth 1.9.1 を使用しています
2: omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
logstash-logger 0.26.1 を使用しています
3: logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-logger-0.26.1.gemspec
sidekiq 6.2.1 を使用しています
3: sidekiq (6.2.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.2.1.gemspec
redis-namespace 1.8.1 を使用しています
3: redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
puma 5.2.2 を使用しています
3: puma (5.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.2.2.gemspec
rbtrace 0.4.14 を使用しています
3: rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
webpush 1.1.0 を使用しています
faraday 1.4.1 を取得しています
3: webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
unicorn 6.0.0 を使用しています
3: unicorn (6.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-6.0.0.gemspec
rqrcode 1.2.0 を使用しています
3: rqrcode (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-1.2.0.gemspec
unf 0.1.4 を使用しています
3: unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec
activesupport 6.1.3.1 を取得しています
faraday 1.4.1 をインストールしています
activesupport 6.1.3.1 をインストールしています
2: faraday (1.4.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.4.1.gemspec
loofah 2.9.1 を使用しています
2: loofah (2.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.9.1.gemspec
nokogumbo 2.0.5 を使用しています
2: nokogumbo (2.0.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogumbo-2.0.5.gemspec
ruby-readability 0.7.0 を使用しています
2: ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
css_parser 1.9.0 を使用しています
2: css_parser (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
aws-sdk-core 3.112.1 を使用しています
2: aws-sdk-core (3.112.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.112.1.gemspec
ember-handlebars-template 0.8.0 を使用しています
2: ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
json_schemer 0.2.18 を使用しています
2: json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
cose 1.2.0 を使用しています
2: cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
omniauth-oauth 1.2.0 を使用しています
2: omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
pry-byebug 3.9.0 を使用しています
2: pry-byebug (3.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-byebug-3.9.0.gemspec
pry-rails 0.3.9 を使用しています
2: pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
mini_scheduler 0.13.0 を使用しています
2: mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
rails-html-sanitizer 1.3.0 を使用しています
2: rails-html-sanitizer (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-html-sanitizer-1.3.0.gemspec
aws-sdk-kms 1.42.0 を使用しています
2: aws-sdk-kms (1.42.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.42.0.gemspec
aws-sdk-sns 1.38.0 を使用しています
2: aws-sdk-sns (1.38.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.38.0.gemspec
oauth2 1.4.7 を使用しています
2: oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.7.gemspec
omniauth-twitter 1.4.0 を使用しています
2: omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
sanitize 5.2.3 を使用しています
2: sanitize (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
aws-sdk-s3 1.90.0 を使用しています
2: aws-sdk-s3 (1.90.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.90.0.gemspec
omniauth-oauth2 1.7.1 を使用しています
2: omniauth-oauth2 (1.7.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth2-1.7.1.gemspec
onebox 2.2.14 を使用しています
2: onebox (2.2.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/onebox-2.2.14.gemspec
omniauth-facebook 8.0.0 を使用しています
2: omniauth-facebook (8.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-facebook-8.0.0.gemspec
omniauth-github 1.4.0 を使用しています
2: omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-github-1.4.0.gemspec
omniauth-google-oauth2 0.8.2 を使用しています
2: omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
3: activesupport (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.3.1.gemspec
rails-dom-testing 2.0.3 を使用しています
globalid 0.4.2 を使用しています
2: globalid (0.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
3: rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-dom-testing-2.0.3.gemspec
activejob 6.1.3.1 を取得しています
activemodel 6.1.3.1 を取得しています
activejob 6.1.3.1 をインストールしています
activemodel 6.1.3.1 をインストールしています
3: activejob (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.1.3.1.gemspec
actionview 6.1.3.1 を取得しています
actionview 6.1.3.1 をインストールしています
2: activemodel (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.3.1.gemspec
active_model_serializers 0.8.4 を使用しています
2: active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/active_model_serializers-0.8.4.gemspec
activerecord 6.1.3.1 を取得しています
activerecord 6.1.3.1 をインストールしています
3: actionview (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.1.3.1.gemspec
actionpack 6.1.3.1 を取得しています
actionpack 6.1.3.1 をインストールしています
3: actionpack (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.1.3.1.gemspec
actionview_precompiler 0.2.3 を使用しています
3: actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
actionmailer 6.1.3.1 を取得しています
actionmailer 6.1.3.1 をインストールしています
3: actionmailer (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.1.3.1.gemspec
2: activerecord (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.1.3.1.gemspec
railties 6.1.3.1 を取得しています
sprockets-rails 3.2.2 を使用しています
3: sprockets-rails (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
seed-fu 2.3.9 を使用しています
3: seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
railties 6.1.3.1 をインストールしています
2: railties (6.1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.1.3.1.gemspec
jquery-rails 4.4.0 を使用しています
lograge 0.11.2 を使用しています
3: lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
rails_failover 0.7.3 を取得しています
2: jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
rails_multisite 3.0.0 を取得しています
rails_multisite 3.0.0 をインストールしています
rails_failover 0.7.3 をインストールしています
3: rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.7.3.gemspec
sassc-rails 2.1.2 を使用しています
2: rails_multisite (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-3.0.0.gemspec
3: sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
discourse-ember-rails 0.18.6 を使用しています
3: discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
1: libv8-node (15.14.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/libv8-node-15.14.0.1-x86_64-linux.gemspec
mini_racer 0.4.0 を使用しています
3: mini_racer (0.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.4.0.gemspec
0: oj (3.11.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.5.gemspec
バンドル完了! Gemfile の依存関係 125 個、現在 168 個の gem がインストールされました。
test および development グループの gem はインストールされませんでした。
バンドルされた gem は ./vendor/bundle にインストールされています

I, [2021-05-05T09:28:13.767289 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake plugin:pull_compatible_all’
I, [2021-05-05T09:28:35.330086 #1] INFO – : gem install holidays -v 8.4.1 -i /var/www/discourse/plugins/discourse-calendar/gems/2.7.2 --no-document --ignore-dependencies --no-user-install
holidays-8.4.1 のインストールに成功しました
1 個の gem がインストールされました
gem install rrule -v 0.4.2 -i /var/www/discourse/plugins/discourse-calendar/gems/2.7.2 --no-document --ignore-dependencies --no-user-install
rrule-0.4.2 のインストールに成功しました
1 個の gem がインストールされました
gem install icalendar -v 2.4.1 -i /var/www/discourse/plugins/discourse-events/gems/2.7.2 --no-document --ignore-dependencies --no-user-install
注意! iCalendar 2.0 は 1.x と後方互換ではありません。新しい構文については README を参照してください

注意! icalendar 2.2.0 はデフォルトで非厳密なパーシングに切り替わります。厳密なパーシングに依存している場合は、それを有効にする方法について README を参照してください。

TimeWithZone サポートには ActiveSupport が必要ですが、一般的な使用には必要ありません。
icalendar-2.4.1 のインストールに成功しました
1 個の gem がインストールされました
discourse-question-answer はすでに最新互換バージョンです
discourse-policy はすでに最新互換バージョンです
discourse-solved はすでに最新互換バージョンです
discourse-voting はすでに最新互換バージョンです
discourse-quick-messages はすでに最新互換バージョンです
retort はすでに最新互換バージョンです
docker_manager はすでに最新互換バージョンです
discourse-whos-online はすでに最新互換バージョンです
discourse-spoiler-alert はすでに最新互換バージョンです
discourse-graphviz はすでに最新互換バージョンです
discourse-footnote はすでに最新互換バージョンです
discourse-topic-previews はすでに最新互換バージョンです
discourse-checklist はすでに最新互換バージョンです
discourse-chat-integration はすでに最新互換バージョンです
discourse-events はすでに最新互換バージョンです
babble はすでに最新互換バージョンです
discourse-calendar はすでに最新互換バージョンです
discourse-assign はすでに最新互換バージョンです

I, [2021-05-05T09:28:35.330421 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
I, [2021-05-05T09:28:44.129538 #1] INFO – : == 20210429154319 RemoveNilCustomFieldsFromAssign: migrating ==================
– execute(“DELETE FROM topic_custom_fields\nWHERE name = ‘assigned_to_id’ AND value IS NULL\n”)
→ 0.0039s
– execute(“DELETE FROM topic_custom_fields\nWHERE name = ‘assigned_by_id’ AND value IS NULL\n”)
→ 0.0002s
== 20210429154319 RemoveNilCustomFieldsFromAssign: migrated (0.0077s) =========

I, [2021-05-05T09:28:44.129905 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake themes:update assets:precompile’
I, [2021-05-05T09:28:53.378069 #1] INFO – : Sam’s Simple Theme を更新しています…
Hamburger Theme Selector を更新しています…
Minima を更新しています…
Discourse-classic (ultracompact) を更新しています…
Discourse-classic (ultracompact) の更新エラー:git リポジトリのクローン作成エラー、アクセスが拒否されたか、リポジトリが見つかりません

I, [2021-05-05T09:28:53.378497 #1] INFO – : 非同期プロセスを終了しています
I, [2021-05-05T09:28:53.378554 #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: 51 に INT を送信しています
I, [2021-05-05T09:28:53.378620 #1] INFO – : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 168 に TERM を送信しています
168:signal-handler (1620206933) SIGTERM を受信し、シャットダウンをスケジュールしています…
2021-05-05 09:28:53.378 UTC [51] LOG: received fast shutdown request
2021-05-05 09:28:53.380 UTC [51] LOG: aborting any active transactions
2021-05-05 09:28:53.382 UTC [51] LOG: background worker “logical replication launcher” (PID 60) exited with exit code 1
2021-05-05 09:28:53.383 UTC [55] LOG: shutting down
168:M 05 May 2021 09:28:53.401 # User requested shutdown…
168:M 05 May 2021 09:28:53.401 * Saving the final RDB snapshot before exiting.
2021-05-05 09:28:53.412 UTC [51] LOG: database system is shut down
168:M 05 May 2021 09:28:53.416 * DB saved on disk
168:M 05 May 2021 09:28:53.416 # Redis is now ready to exit, bye bye…

FAILED

Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake themes:update assets:precompile’ failed with return #<Process::Status: pid 898 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’
exec failed with the params {“cd”=>“$home”, “hook”=>“assets_precompile”, “cmd”=>[“su discourse -c ‘bundle exec rake themes:update assets:precompile’”]}
e97144452e3a1b0ebbb290e22515fa8d40fc2b03cb467e97ee3421c52f6b56fe
** ブートストラップに失敗しました ** 上にスクロールして、より前のエラーメッセージを確認してください。1つ以上のエラーがある可能性があります。
./discourse-doctor が問題の診断に役立つかもしれません。

もしかすると、このエラーは Discourse Classic Theme に関連しているかもしれません。ログに以下のメッセージが表示されています:

Error updating Discourse-classic (ultracompact): Error cloning git repository, access is denied or repository is not found

これを無効化(または削除)してから、再度更新を試してみてください。

はい、それはローカルテーマです。しかし、サイトが稼働していない場合、そのテーマを無効化するにはどうすればよいでしょうか?

一方、テーマのビルドに失敗することが、Discourse のビルド全体をブロックする理由はなんでしょうか?:thinking:

このプラグインは見つかりません。

これはプラグインではなく、テーマです。はい、それは Discourse-classic のローカル(修正済み)コピーです。

どちらにせよ、このエラーをスキップして Discourse サイトを再構築するにはどうすればよいでしょうか?

以前は、このローカルテーマでいくつかのアップグレードを行いました。

ああ、それについて気になっていました。

アップグレード時に「更新を確認」のチェックを外すか、アップグレード前にテーマを無効化する必要があると思います。もしそうなら、これはバグかもしれません。おそらく、存在しないテーマは自動的に無効化されるべきでしょう。

以下のコマンドを実行して、以前のコンテナを起動できます。

 ./launcher start app

ありがとうございます、動作しました。また、新しいコンテナをビルドしている間に古いコンテナを停止する必要がある理由がわかりません。

データベースがそのコンテナ内にあるためです。いくつかの注意点はあるものの、現在のコンテナを稼働させたまま新しいコンテナをビルドできる、2 コンテナ構成への移行も可能です。

ああ、なるほど。ブルー・グリーンデプロイメントの仕組みを追加するのは素晴らしいですね。ただ、私の環境では数時間のダウンタイムでも問題ありません。