由于 discourse-alt-logo 主题组件,引导失败

我今早尝试通过 UI 进行升级,但失败了,于是我又尝试重建,同样也失败了。我禁用了所有插件,但仍然失败。

查看日志后,似乎数据库可能已损坏?还有其他建议吗?

I, [2021-06-30T18:10:17.952185 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-30 18:10:18.088 UTC [68] postgres@postgres ERROR:  database "discourse" already exists
2021-06-30 18:10:18.088 UTC [68] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2021-06-30T18:10:18.091429 #1]  INFO -- :
I, [2021-06-30T18:10:18.092062 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-30 18:10:18.210 UTC [79] postgres@discourse ERROR:  role "discourse" already exists
2021-06-30 18:10:18.210 UTC [79] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
完整日志
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
From https://github.com/discourse/pups
   17f04ec..e0ff889  master     -> origin/master
 * [new tag]         v1.1.1     -> v1.1.1
 * [new tag]         v1.1.0     -> v1.1.0
Updating 17f04ec..e0ff889
Fast-forward
 .github/workflows/ci.yml     |  29 ++++++
 .github/workflows/lint.yml   |  27 +++++
 .rubocop.yml                 |   3 +
 Gemfile                      |   2 +
 Guardfile                    |   4 +-
 README.md                    |  21 ++++
 Rakefile                     |  14 +--
 bin/pups                     |   8 +-
 lib/pups.rb                  |  32 ++++--
 lib/pups/cli.rb              |  92 ++++++++++-------
 lib/pups/command.rb          |  25 +++--
 lib/pups/config.rb           | 240 +++++++++++++++++++++++--------------------
 lib/pups/docker.rb           |  69 +++++++++++++
 lib/pups/exec_command.rb     | 182 ++++++++++++++++----------------
 lib/pups/file_command.rb     |  60 +++++------
 lib/pups/merge_command.rb    |  94 ++++++++---------
 lib/pups/replace_command.rb  |  70 +++++++------
 lib/pups/runit.rb            |  47 +++++----
 lib/pups/version.rb          |   4 +-
 pups.gemspec                 |  37 ++++---
 test/cli_test.rb             | 102 +++++++++++++++---
 test/config_test.rb          | 215 ++++++++++++++++++++++++++++----------
 test/docker_test.rb          | 157 ++++++++++++++++++++++++++++
 test/exec_command_test.rb    |  62 ++++++-----
 test/file_command_test.rb    |  17 ++-
 test/merge_command_test.rb   |  64 ++++++------
 test/replace_command_test.rb |  86 ++++++++--------
 test/test_helper.rb          |   2 +
 28 files changed, 1158 insertions(+), 607 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 create mode 100644 .github/workflows/lint.yml
 create mode 100644 .rubocop.yml
 create mode 100644 lib/pups/docker.rb
 create mode 100644 test/docker_test.rb
Note: checking out 'v1.0.3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d1db030 剪切新版本
I, [2021-06-30T18:10:11.171423 #1]  INFO -- : 加载 --stdin
I, [2021-06-30T18:10:11.188039 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-06-30T18:10:11.242004 #1]  INFO -- : 正在生成区域设置(这可能需要一段时间)...
生成完成。

I, [2021-06-30T18:10:11.242515 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-06-30T18:10:11.246546 #1]  INFO -- :
I, [2021-06-30T18:10:11.247454 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-06-30T18:10:11.251426 #1]  INFO -- :
I, [2021-06-30T18:10:11.252143 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-06-30T18:10:11.255623 #1]  INFO -- :
I, [2021-06-30T18:10:11.256264 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-06-30T18:10:11.260752 #1]  INFO -- :
I, [2021-06-30T18:10:11.261505 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-06-30T18:10:11.266317 #1]  INFO -- :
I, [2021-06-30T18:10:11.267122 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/06/30 18:10:11 socat[32] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): 没有那个文件或目录
I, [2021-06-30T18:10:11.278874 #1]  INFO -- :
I, [2021-06-30T18:10:11.279314 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-06-30T18:10:11.284187 #1]  INFO -- :
I, [2021-06-30T18:10:11.284814 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-06-30T18:10:11.289693 #1]  INFO -- :
I, [2021-06-30T18:10:11.290249 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-30T18:10:11.293706 #1]  INFO -- :
I, [2021-06-30T18:10:11.294369 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-30T18:10:11.297689 #1]  INFO -- :
I, [2021-06-30T18:10:11.305014 #1]  INFO -- : 文件 > /etc/service/postgres/run  chmod: +x  chown:
I, [2021-06-30T18:10:11.311575 #1]  INFO -- : 文件 > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2021-06-30T18:10:11.320034 #1]  INFO -- : 文件 > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2021-06-30T18:10:11.328515 #1]  INFO -- : 文件 > /root/upgrade_postgres  chmod: +x  chown:
I, [2021-06-30T18:10:11.329279 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-06-30T18:10:12.847204 #1]  INFO -- :
I, [2021-06-30T18:10:12.847624 #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-06-30T18:10:12.851379 #1]  INFO -- :
I, [2021-06-30T18:10:12.851718 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-06-30T18:10:12.902218 #1]  INFO -- :
I, [2021-06-30T18:10:12.902887 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-06-30T18:10:12.907514 #1]  INFO -- :
I, [2021-06-30T18:10:12.908239 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-06-30T18:10:12.917510 #1]  INFO -- :
I, [2021-06-30T18:10:12.918194 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-06-30T18:10:12.922574 #1]  INFO -- :
I, [2021-06-30T18:10:12.923911 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 data_directory = '/var/lib/postgresql/13/main' 替换为 data_directory = '/shared/postgres_data'
I, [2021-06-30T18:10:12.925138 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?listen_addresses *=.*) 替换为 listen_addresses = '*'
I, [2021-06-30T18:10:12.926015 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?synchronous_commit *=.*) 替换为 synchronous_commit = $db_synchronous_commit
I, [2021-06-30T18:10:12.926953 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?shared_buffers *=.*) 替换为 shared_buffers = $db_shared_buffers
I, [2021-06-30T18:10:12.927801 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?work_mem *=.*) 替换为 work_mem = $db_work_mem
I, [2021-06-30T18:10:12.928766 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?default_text_search_config *=.*) 替换为 default_text_search_config = '$db_default_text_search_config'
I, [2021-06-30T18:10:12.929636 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-06-30T18:10:12.937347 #1]  INFO -- :
I, [2021-06-30T18:10:12.938427 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?checkpoint_segments *=.*) 替换为 checkpoint_segments = $db_checkpoint_segments
I, [2021-06-30T18:10:12.939275 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?logging_collector *=.*) 替换为 logging_collector = $db_logging_collector
I, [2021-06-30T18:10:12.940177 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?log_min_duration_statement *=.*) 替换为 log_min_duration_statement = $db_log_min_duration_statement
I, [2021-06-30T18:10:12.941381 #1]  INFO -- : 将 /etc/postgresql/13/main/pg_hba.conf 中的 (?-mix:^#local +replication +postgres +peer$) 替换为 local replication postgres  peer
I, [2021-06-30T18:10:12.942176 #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-06-30T18:10:12.943419 #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-06-30T18:10:12.947647 #1]  INFO -- : > sleep 5
2021-06-30 18:10:12.997 UTC [55] LOG:  正在启动 PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1),运行于 x86_64-pc-linux-gnu,由 gcc (Debian 8.3.0-6) 8.3.0 编译,64位
2021-06-30 18:10:12.997 UTC [55] LOG:  正在监听 IPv4 地址 "0.0.0.0",端口 5432
2021-06-30 18:10:12.998 UTC [55] LOG:  正在监听 IPv6 地址 "::",端口 5432
2021-06-30 18:10:13.001 UTC [55] LOG:  正在监听 Unix 套接字 "/var/run/postgresql/.s.PGSQL.5432"
2021-06-30 18:10:13.009 UTC [58] LOG:  数据库系统于 2021-06-30 18:10:00 UTC 关闭
2021-06-30 18:10:13.021 UTC [55] LOG:  数据库系统已准备就绪,可以接受连接
I, [2021-06-30T18:10:17.951784 #1]  INFO -- :
I, [2021-06-30T18:10:17.952185 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-30 18:10:18.088 UTC [68] postgres@postgres ERROR:  数据库 "discourse" 已存在
2021-06-30 18:10:18.088 UTC [68] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: 错误:数据库创建失败:ERROR:  数据库 "discourse" 已存在
I, [2021-06-30T18:10:18.091429 #1]  INFO -- :
I, [2021-06-30T18:10:18.092062 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-30 18:10:18.210 UTC [79] postgres@discourse ERROR:  角色 "discourse" 已存在
2021-06-30 18:10:18.210 UTC [79] postgres@discourse STATEMENT:  create user discourse;
ERROR:  角色 "discourse" 已存在
I, [2021-06-30T18:10:18.212403 #1]  INFO -- :
I, [2021-06-30T18:10:18.213122 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-06-30T18:10:18.304163 #1]  INFO -- : GRANT

I, [2021-06-30T18:10:18.305053 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-06-30T18:10:18.394467 #1]  INFO -- : ALTER SCHEMA

I, [2021-06-30T18:10:18.395154 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  扩展 "hstore" 已存在,跳过
I, [2021-06-30T18:10:18.502851 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:10:18.503667 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  扩展 "pg_trgm" 已存在,跳过
I, [2021-06-30T18:10:18.597195 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:10:18.598031 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  扩展 "hstore" 已存在,跳过
I, [2021-06-30T18:10:18.696763 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:10:18.697534 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  扩展 "pg_trgm" 已存在,跳过
I, [2021-06-30T18:10:18.778354 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:10:18.778943 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-06-30T18:10:18.782930 #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-06-30T18:10:18.895244 #1]  INFO -- : 文件 > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-06-30T18:10:18.900039 #1]  INFO -- : 文件 > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2021-06-30T18:10:18.900513 #1]  INFO -- : > echo postgres installed!
I, [2021-06-30T18:10:18.903860 #1]  INFO -- : postgres installed!

I, [2021-06-30T18:10:18.911693 #1]  INFO -- : 文件 > /etc/service/redis/run  chmod: +x  chown:
I, [2021-06-30T18:10:18.918705 #1]  INFO -- : 文件 > /etc/service/redis/log/run  chmod: +x  chown:
I, [2021-06-30T18:10:18.928631 #1]  INFO -- : 文件 > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2021-06-30T18:10:18.930511 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 daemonize yes 替换为 
I, [2021-06-30T18:10:18.931736 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^pidfile.*$) 替换为 
I, [2021-06-30T18:10:18.932803 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-06-30T18:10:18.938286 #1]  INFO -- :
I, [2021-06-30T18:10:18.939301 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^logfile.*$) 替换为 logfile ""
I, [2021-06-30T18:10:18.940356 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^bind .*$) 替换为 
I, [2021-06-30T18:10:18.941363 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^dir .*$) 替换为 dir /shared/redis_data
I, [2021-06-30T18:10:18.942417 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^protected-mode yes) 替换为 protected-mode no
I, [2021-06-30T18:10:18.943406 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 # io-threads 4 替换为 io-threads $redis_io_threads
I, [2021-06-30T18:10:18.944282 #1]  INFO -- : > echo redis installed
I, [2021-06-30T18:10:18.948826 #1]  INFO -- : redis installed

I, [2021-06-30T18:10:18.949623 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-06-30T18:10:18.957937 #1]  INFO -- : logfile ""

I, [2021-06-30T18:10:18.958871 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-30T18:10:18.962172 #1]  INFO -- : > sleep 10
172:C 30 Jun 2021 18:10:18.970 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
172:C 30 Jun 2021 18:10:18.970 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=172, just started
172:C 30 Jun 2021 18:10:18.970 # Configuration loaded
172:M 30 Jun 2021 18:10:18.972 * monotonic clock: POSIX clock_gettime
172:M 30 Jun 2021 18:10:18.973 * Running mode=standalone, port=6379.
172:M 30 Jun 2021 18:10:18.974 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
172:M 30 Jun 2021 18:10:18.974 # Server initialized
172:M 30 Jun 2021 18:10:18.974 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. 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.
172:M 30 Jun 2021 18:10:18.975 * Loading RDB produced by version 6.2.3
172:M 30 Jun 2021 18:10:18.976 * RDB age 28 seconds
172:M 30 Jun 2021 18:10:18.976 * RDB memory usage when created 103.43 Mb
172:M 30 Jun 2021 18:10:19.341 * DB loaded from disk: 0.366 seconds
172:M 30 Jun 2021 18:10:19.342 * Ready to accept connections
I, [2021-06-30T18:10:28.967142 #1]  INFO -- :
I, [2021-06-30T18:10:28.967394 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-06-30T18:10:28.972969 #1]  INFO -- : thpoff is installed!

I, [2021-06-30T18:10:28.973312 #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-06-30T18:10:29.131042 #1]  INFO -- :
I, [2021-06-30T18:10:29.131261 #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-06-30T18:10:29.248950 #1]  INFO -- :
I, [2021-06-30T18:10:29.250193 #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-06-30T18:10:29.360146 #1]  INFO -- :
I, [2021-06-30T18:10:29.360381 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-06-30T18:10:30.140423 #1]  INFO -- :
I, [2021-06-30T18:10:30.141176 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-06-30T18:10:30.144983 #1]  INFO -- :
I, [2021-06-30T18:10:30.149315 #1]  INFO -- : 文件 > /etc/cron.d/anacron  chmod:   chown:
I, [2021-06-30T18:10:30.156035 #1]  INFO -- : 文件 > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2021-06-30T18:10:30.162878 #1]  INFO -- : 文件 > /etc/service/unicorn/run  chmod: +x  chown:
I, [2021-06-30T18:10:30.170949 #1]  INFO -- : 文件 > /etc/service/nginx/run  chmod: +x  chown:
I, [2021-06-30T18:10:30.178818 #1]  INFO -- : 文件 > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2021-06-30T18:10:30.185297 #1]  INFO -- : 文件 > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2021-06-30T18:10:30.185528 #1]  INFO -- : 将 /etc/service/unicorn/run 中的 # postgres 替换为 sv start postgres || exit 1
I, [2021-06-30T18:10:30.185884 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-30T18:10:30.189293 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
200:C 30 Jun 2021 18:10:30.196 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
200:C 30 Jun 2021 18:10:30.196 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=200, just started
200:C 30 Jun 2021 18:10:30.196 # Configuration loaded
200:M 30 Jun 2021 18:10:30.197 * monotonic clock: POSIX clock_gettime
200:M 30 Jun 2021 18:10:30.197 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
200:M 30 Jun 2021 18:10:30.197 # Failed listening on port 6379 (TCP), aborting.
正在检出文件:100% (28860/28860),完成。
I, [2021-06-30T18:10:34.585153 #1]  INFO -- : HEAD is now at 74f71503 FEATURE: Automatically timed delete stub topics after entire topic is merged into another topic (#13187)

I, [2021-06-30T18:10:34.585395 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-06-30T18:10:34.715549 #1]  INFO -- :
I, [2021-06-30T18:10:34.715751 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-06-30T18:10:34.723480 #1]  INFO -- :
I, [2021-06-30T18:10:34.723634 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-06-30T18:10:34.731308 #1]  INFO -- :
I, [2021-06-30T18:10:34.732135 #1]  INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
来自 https://github.com/discourse/discourse
 * branch              tests-passed -> FETCH_HEAD
 * [new branch]        tests-passed -> origin/tests-passed
I, [2021-06-30T18:10:38.036204 #1]  INFO -- :
I, [2021-06-30T18:10:38.036386 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
已切换到新分支 'tests-passed'
I, [2021-06-30T18:10:39.431879 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-06-30T18:10:39.432099 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-06-30T18:10:39.436899 #1]  INFO -- :
I, [2021-06-30T18:10:39.437503 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-06-30T18:10:39.444310 #1]  INFO -- :
I, [2021-06-30T18:10:39.444491 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-06-30T18:10:39.451112 #1]  INFO -- :
I, [2021-06-30T18:10:39.451852 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-06-30T18:10:39.456603 #1]  INFO -- :
I, [2021-06-30T18:10:39.457371 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-06-30T18:10:39.461639 #1]  INFO -- :
I, [2021-06-30T18:10:39.462420 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-06-30T18:10:39.466952 #1]  INFO -- :
I, [2021-06-30T18:10:39.467525 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-06-30T18:10:39.473895 #1]  INFO -- :
I, [2021-06-30T18:10:39.474615 #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-06-30T18:10:39.482394 #1]  INFO -- :
I, [2021-06-30T18:10:39.482534 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-06-30T18:10:39.490178 #1]  INFO -- :
I, [2021-06-30T18:10:39.490823 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-06-30T18:10:39.497749 #1]  INFO -- :
I, [2021-06-30T18:10:39.498235 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-06-30T18:10:39.505409 #1]  INFO -- :
I, [2021-06-30T18:10:39.506216 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-06-30T18:10:39.512670 #1]  INFO -- :
I, [2021-06-30T18:10:39.513129 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-06-30T18:10:39.526166 #1]  INFO -- :
I, [2021-06-30T18:10:39.526307 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-06-30T18:10:39.533675 #1]  INFO -- :
I, [2021-06-30T18:10:39.534560 #1]  INFO -- : 将 /etc/service/unicorn/run 中的 # redis 替换为 sv start redis || exit 1
I, [2021-06-30T18:10:39.535032 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
正克隆到 'docker_manager'...
I, [2021-06-30T18:10:40.766351 #1]  INFO -- :
I, [2021-06-30T18:10:40.767334 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-06-30T18:10:40.772113 #1]  INFO -- :
I, [2021-06-30T18:10:40.772965 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-06-30T18:10:40.778201 #1]  INFO -- :
I, [2021-06-30T18:10:40.778968 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-06-30T18:10:40.783974 #1]  INFO -- :
I, [2021-06-30T18:10:40.785540 #1]  INFO -- : 将 /etc/nginx/nginx.conf 中的 pid /run/nginx.pid; 替换为 daemon off;
I, [2021-06-30T18:10:40.786796 #1]  INFO -- : 将 /etc/nginx/conf.d/discourse.conf 中的 (?m-ix:upstream[^\}]+\}) 替换为 upstream discourse { server 127.0.0.1:3000; }
I, [2021-06-30T18:10:40.787559 #1]  INFO -- : 将 /etc/nginx/conf.d/discourse.conf 中的 (?-mix:server_name.+$) 替换为 server_name _ ;
I, [2021-06-30T18:10:40.788426 #1]  INFO -- : 将 /etc/nginx/conf.d/discourse.conf 中的 (?-mix:client_max_body_size.+$) 替换为 client_max_body_size $upload_size ;
I, [2021-06-30T18:10:40.790240 #1]  INFO -- : > echo "done configuring web"
I, [2021-06-30T18:10:40.794766 #1]  INFO -- : done configuring web

I, [2021-06-30T18:10:40.795828 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2021-06-30T18:10:41.756624 #1]  INFO -- : Successfully installed bundler-2.2.19
1 gem installed

I, [2021-06-30T18:10:41.756817 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-06-30T18:10:46.354664 #1]  INFO -- :
I, [2021-06-30T18:10:46.355129 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[已弃用] `--deployment` 标志已弃用,因为它依赖于在 bundler 调用之间被记住,而 bundler 在以后的版本中将不再这样做。请改用 `bundle config set --local deployment 'true'`,并停止使用此标志
[已弃用] `--without` 标志已弃用,因为它依赖于在 bundler 调用之间被记住,而 bundler 在以后的版本中将不再这样做。请改用 `bundle config set --local without 'test development'`,并停止使用此标志
I, [2021-06-30T18:11:25.028669 #1]  INFO -- : 正在使用 bundler 2.2.19 运行 `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"`
已冻结,使用 lockfile 中的解析结果
定义中缺少 ["concurrent-ruby-1.1.9", "nokogiri-1.11.7-x86_64-linux", "loofah-2.10.0", "aws-sdk-kms-1.44.0", "aws-sdk-s3-1.96.1", "excon-0.83.0", "faraday-1.4.3", "fastimage-2.2.4", "ffi-1.15.3", "message_bus-3.3.6", "redis-4.3.1", "oj-3.11.7"]
HTTP GET https://index.rubygems.org/versions
HTTP 416 Range Not Satisfiable https://index.rubygems.org/versions
HTTP GET https://index.rubygems.org/versions
HTTP 200 OK https://index.rubygems.org/versions
HTTP GET https://index.rubygems.org/versions
HTTP 200 OK https://index.rubygems.org/versions
正在从 https://rubygems.org/ 获取 gem 元数据
正在 rubygems 仓库 https://rubygems.org/ 或本地安装中双重检查 ["rake", "concurrent-ruby", "i18n", "minitest", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "actionmailer", "actionview_precompiler", "activemodel", "active_model_serializers", "activerecord", "public_suffix", "addressable", "aws-eventstream", "aws-partitions", "aws-sigv4", "jmespath", "aws-sdk-core", "aws-sdk-kms", "aws-sdk-s3", "aws-sdk-sns", "ember-source", "execjs", "barber", "msgpack", "bootsnap", "byebug", "cbor", "chunky_png", "coderay", "colored2", "connection_pool", "openssl", "openssl-signature_algorithm", "cose", "cppjieba_rb", "css_parser", "diffy", "ember-data-source", "sprockets", "ember-handlebars-template", "method_source", "thor", "railties", "jquery-rails", "discourse-ember-rails", "discourse-ember-source", "discourse-fonts", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "exifr", "faraday-em_http", "faraday-em_synchrony", "faraday-excon", "faraday-net_http", "faraday-net_http_persistent", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "fspath", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "image_size", "in_threads", "progress", "image_optim", "json", "uri_template", "json_schemer", "jwt", "kgio", "libv8-node", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "lz4-ruby", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "multi_json", "multi_xml", "mustache", "nio4r", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-twitter", "optimist", "pg", "pry", "pry-byebug", "pry-rails", "puma", "r2", "rack-mini-profiler", "rack-protection", "rails_failover", "rails_multisite", "raindrops", "rbtrace", "rchardet", "redis-namespace", "rinku", "rotp", "rqrcode_core", "rqrcode", "rtlit", "ruby-readability", "rubyzip", "sanitize", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"]
正在从 https://rubygems.org/ 获取 gem 元数据
正在查找 gems ["rake", "concurrent-ruby", "i18n", "minitest", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "actionmailer", "actionview_precompiler", "activemodel", "active_model_serializers", "activerecord", "public_suffix", "addressable", "aws-eventstream", "aws-partitions", "aws-sigv4", "jmespath", "aws-sdk-core", "aws-sdk-kms", "aws-sdk-s3", "aws-sdk-sns", "ember-source", "execjs", "barber", "msgpack", "bootsnap", "byebug", "cbor", "chunky_png", "coderay", "colored2", "connection_pool", "openssl", "openssl-signature_algorithm", "cose", "cppjieba_rb", "css_parser", "diffy", "ember-data-source", "sprockets", "ember-handlebars-template", "method_source", "thor", "railties", "jquery-rails", "discourse-ember-rails", "discourse-ember-source", "discourse-fonts", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "exifr", "faraday-em_http", "faraday-em_synchrony", "faraday-excon", "faraday-net_http", "faraday-net_http_persistent", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "fspath", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "image_size", "in_threads", "progress", "image_optim", "json", "uri_template", "json_schemer", "jwt", "kgio", "libv8-node", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "lz4-ruby", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "multi_json", "multi_xml", "mustache", "nio4r", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-twitter", "optimist", "pg", "pry", "pry-byebug", "pry-rails", "puma", "r2", "rack-mini-profiler", "rack-protection", "rails_failover", "rails_multisite", "raindrops", "rbtrace", "rchardet", "redis-namespace", "rinku", "rotp", "rqrcode_core", "rqrcode", "rtlit", "ruby-readability", "rubyzip", "sanitize", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"]
HTTP GET https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/activesupport
HTTP GET https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/loofah
HTTP GET https://index.rubygems.org/info/actionview
HTTP GET https://index.rubygems.org/info/actionpack
HTTP GET https://index.rubygems.org/info/activejob
HTTP GET https://index.rubygems.org/info/activemodel
HTTP GET https://index.rubygems.org/info/aws-sdk-kms
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/activerecord
HTTP GET https://index.rubygems.org/info/actionmailer
HTTP GET https://index.rubygems.org/info/cppjieba_rb
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/railties
HTTP GET https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/ffi
HTTP GET https://index.rubygems.org/info/faraday
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/cppjieba_rb
HTTP 206 Partial Content https://index.rubygems.org/info/activerecord
HTTP GET https://index.rubygems.org/info/excon
HTTP 206 Partial Content https://index.rubygems.org/info/railties
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-kms
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
HTTP 206 Partial Content https://index.rubygems.org/info/activemodel
HTTP 206 Partial Content https://index.rubygems.org/info/actionmailer
HTTP GET https://index.rubygems.org/info/redis
HTTP GET https://index.rubygems.org/info/message_bus
HTTP 206 Partial Content https://index.rubygems.org/info/actionview
HTTP 206 Partial Content https://index.rubygems.org/info/ffi
HTTP 206 Partial Content https://index.rubygems.org/info/redis
HTTP 206 Partial Content https://index.rubygems.org/info/message_bus
HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
HTTP 206 Partial Content https://index.rubygems.org/info/actionpack
HTTP 206 Partial Content https://index.rubygems.org/info/excon
HTTP 206 Partial Content https://index.rubygems.org/info/activejob
HTTP 206 Partial Content https://index.rubygems.org/info/faraday
HTTP 206 Partial Content https://index.rubygems.org/info/activesupport
HTTP 206 Partial Content https://index.rubygems.org/info/loofah
HTTP GET https://index.rubygems.org/info/oj
HTTP 206 Partial Content https://index.rubygems.org/info/oj
正在查找 gems ["rails-deprecated_sanitizer", "jsonapi", "case_transform", "jsonapi-renderer", "rspec", "json_pure", "handlebars-source", "snappy", "rdoc", "ruby_parser", "columnize", "debugger-linecache", "slop", "rb-readline", "hoe", "hike", "rake-compiler", "ember-template-compiler-source", "rails", "thread_safe", "net-http-persistent", "termios", "rb-appscript", "xattr", "ffi-xattr", "rdf", "stud", "arel", "activerecord-deprecated_finders", "libv8", "functional-ruby", "ref", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "ruby-hmac", "activemodel-globalid", "weakling", "mini_portile", "mini_portile2", "pkg-config", "pry-doc", "erubis", "rack-mount", "rack-cache", "journey", "escape_utils", "rack-ssl", "eventmachine", "thin", "base32", "bcrypt-ruby", "hpricot", "mail", "text-format", "faraday-middleware", "httpauth", "therubyracer", "listen", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "jamespath", "http-2", "bundler", "trollop", "win32console", "yard", "spoon", "memcache-client", "bigdecimal"]
HTTP GET https://index.rubygems.org/info/slop
HTTP GET https://index.rubygems.org/info/hoe
HTTP 206 Partial Content https://index.rubygems.org/info/hoe
HTTP GET https://index.rubygems.org/info/rdf
HTTP GET https://index.rubygems.org/info/mini_portile2
HTTP 206 Partial Content https://index.rubygems.org/info/slop
HTTP GET https://index.rubygems.org/info/bundler
HTTP GET https://index.rubygems.org/info/rails
HTTP 206 Partial Content https://index.rubygems.org/info/rails
HTTP 206 Partial Content https://index.rubygems.org/info/mini_portile2
HTTP 206 Partial Content https://index.rubygems.org/info/rdf
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
正在查找 gems ["jsonapi-parser", "rspec-core", "rspec-expectations", "rspec-mocks", "snappy-jars", "ruby_core_source", "debugger-ruby_core_source", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "mongrel", "backports", "mustermann", "temple", "abstract", "multimap", "daemons", "bcrypt", "mime-types", "treetop", "tlsmail", "text-hyphen", "spruz", "rack-openid", "ruby-openid-apps-discovery", "restclient", "rest-client", "sass-listen", "ZenTest", "RubyInline", "rubyforge", "gemcutter", "atomic", "sprockets-helpers", "curses", "metriks", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "net-ftp", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "ParseTree", "sexp_processor", "link_header", "hamster", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext"]
HTTP GET https://index.rubygems.org/info/curses
HTTP GET https://index.rubygems.org/info/net-ftp
HTTP 206 Partial Content https://index.rubygems.org/info/curses
HTTP 200 OK https://index.rubygems.org/info/net-ftp
HTTP GET https://index.rubygems.org/info/facter
HTTP GET https://index.rubygems.org/info/actionmailbox
HTTP GET https://index.rubygems.org/info/actiontext
HTTP 206 Partial Content https://index.rubygems.org/info/actionmailbox
HTTP GET https://index.rubygems.org/info/activestorage
HTTP 206 Partial Content https://index.rubygems.org/info/facter
HTTP 206 Partial Content https://index.rubygems.org/info/actiontext
HTTP 206 Partial Content https://index.rubygems.org/info/activestorage
HTTP GET https://index.rubygems.org/info/actioncable
HTTP 206 Partial Content https://index.rubygems.org/info/actioncable
正在查找 gems ["rspec-support", "diff-lcs", "archive-tar-minitar", "hitimes", "mime-types-data", "facets", "polyglot", "ruby-openid", "netrc", "http-cookie", "http-accept", "net-scp", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "macaddr", "log4r", "SexpProcessor", "win32-api", "coveralls", "rubocop", "rails-observers", "activemodel-serializers-xml", "celluloid-gems", "dotenv-deployment", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "tool", "net-protocol", "time", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "marcel", "mimemagic", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver"]
HTTP GET https://index.rubygems.org/info/http-cookie
HTTP GET https://index.rubygems.org/info/net-protocol
HTTP GET https://index.rubygems.org/info/websocket-driver
HTTP GET https://index.rubygems.org/info/time
HTTP 206 Partial Content https://index.rubygems.org/info/http-cookie
HTTP 200 OK https://index.rubygems.org/info/time
HTTP 206 Partial Content https://index.rubygems.org/info/websocket-driver
HTTP 200 OK https://index.rubygems.org/info/net-protocol
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
正在查找 gems ["minitar", "minitar-cli", "configuration", "mkrf", "roauth", "systemu", "test-unit", "colorize", "simplecov", "term-ansicolor", "tins", "libxml-ruby", "hiredis", "net-ssh", "ruby-yadis", "coffee-script", "ffi-win32-extensions", "domain_name", "sqlite3", "io-wait", "timeout", "websocket-extensions", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast"]
HTTP GET https://index.rubygems.org/info/io-wait
HTTP GET https://index.rubygems.org/info/timeout
HTTP GET https://index.rubygems.org/info/psych
HTTP 200 OK https://index.rubygems.org/info/io-wait
HTTP 200 OK https://index.rubygems.org/info/timeout
HTTP 206 Partial Content https://index.rubygems.org/info/psych
HTTP GET https://index.rubygems.org/info/test-unit
HTTP 206 Partial Content https://index.rubygems.org/info/test-unit
正在查找 gems ["powerbar", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "strscan", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "sync", "coffee-script-source", "ast", "jar-dependencies", "power_assert"]
正在查找 gems ["ruby-maven", "pattern-match", "ansi"]
正在查找 gems ["maven-tools", "ruby-maven-libs"]
正在查找 gems ["virtus"]
HTTP GET https://index.rubygems.org/info/virtus
HTTP 206 Partial Content https://index.rubygems.org/info/virtus
正在查找 gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
正在查找 gems ["ice_nine", "adamantium"]
正在查找 gems ["memoizable"]
使用 rake 13.0.3
0:  rake (13.0.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.3.gemspec
使用 minitest 5.14.4
1:  minitest (5.14.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/minitest-5.14.4.gemspec
使用 zeitwerk 2.4.2
1:  zeitwerk (2.4.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.4.2.gemspec
使用 builder 3.2.4
使用 erubi 1.10.0
使用 racc 1.5.2
1:  builder (3.2.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/builder-3.2.4.gemspec
0:  erubi (1.10.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/erubi-1.10.0.gemspec
正在获取 concurrent-ruby 1.1.9
使用 crass 1.0.6
0:  crass (1.0.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/crass-1.0.6.gemspec
使用 rack 2.2.3
0:  rack (2.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-2.2.3.gemspec
使用 mini_mime 1.1.0
0:  mini_mime (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_mime-1.1.0.gemspec
使用 public_suffix 4.0.6
0:  public_suffix (4.0.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/public_suffix-4.0.6.gemspec
使用 aws-eventstream 1.1.1
0:  aws-eventstream (1.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-eventstream-1.1.1.gemspec
使用 aws-partitions 1.432.0
0:  aws-partitions (1.432.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-partitions-1.432.0.gemspec
使用 jmespath 1.4.0
0:  jmespath (1.4.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jmespath-1.4.0.gemspec
使用 ember-source 2.18.2
0:  ember-source (2.18.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-source-2.18.2.gemspec
使用 execjs 2.8.1
0:  execjs (2.8.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/execjs-2.8.1.gemspec
使用 msgpack 1.4.2
0:  msgpack (1.4.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
使用 bundler 2.2.19
0:  bundler (2.2.19) 来自 /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/source
使用 byebug 11.1.3
0:  byebug (11.1.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/byebug-11.1.3.gemspec
使用 cbor 0.5.9.6
0:  cbor (0.5.9.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cbor-0.5.9.6.gemspec
使用 chunky_png 1.4.0
0:  chunky_png (1.4.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/chunky_png-1.4.0.gemspec
使用 coderay 1.1.3
0:  coderay (1.1.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/coderay-1.1.3.gemspec
使用 colored2 3.1.2
0:  colored2 (3.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/colored2-3.1.2.gemspec
使用 connection_pool 2.2.5
0:  connection_pool (2.2.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/connection_pool-2.2.5.gemspec
使用 openssl 2.2.0
0:  openssl (2.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-2.2.0.gemspec
使用 cppjieba_rb 0.3.3
0:  cppjieba_rb (0.3.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cppjieba_rb-0.3.3.gemspec
使用 diffy 3.4.0
0:  diffy (3.4.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/diffy-3.4.0.gemspec
使用 method_source 1.0.0
0:  method_source (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/method_source-1.0.0.gemspec
使用 thor 1.1.0
0:  thor (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thor-1.1.0.gemspec
使用 discourse-ember-source 3.12.2.3
0:  discourse-ember-source (3.12.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-source-3.12.2.3.gemspec
使用 discourse-fonts 0.0.8
0:  discourse-fonts (0.0.8) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-fonts-0.0.8.gemspec
使用 regexp_parser 2.1.1
0:  regexp_parser (2.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/regexp_parser-2.1.1.gemspec
使用 email_reply_trimmer 0.1.13
0:  email_reply_trimmer (0.1.13) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/email_reply_trimmer-0.1.13.gemspec
3:  racc (1.5.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/racc-1.5.2.gemspec
使用 exifr 1.3.9
3:  exifr (1.3.9) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/exifr-1.3.9.gemspec
使用 faraday-em_http 1.0.0
3:  faraday-em_http (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-em_http-1.0.0.gemspec
使用 faraday-em_synchrony 1.0.0
3:  faraday-em_synchrony (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-em_synchrony-1.0.0.gemspec
使用 faraday-excon 1.1.0
3:  faraday-excon (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-excon-1.1.0.gemspec
使用 faraday-net_http 1.0.1
3:  faraday-net_http (1.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-net_http-1.0.1.gemspec
使用 faraday-net_http_persistent 1.1.0
3:  faraday-net_http_persistent (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-net_http_persistent-1.1.0.gemspec
使用 multipart-post 2.1.1
3:  multipart-post (2.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multipart-post-2.1.1.gemspec
使用 ruby2_keywords 0.0.4
3:  ruby2_keywords (0.0.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby2_keywords-0.0.4.gemspec
使用 fast_blank 1.0.0
3:  fast_blank (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_blank-1.0.0.gemspec
使用 fast_xs 0.8.0
3:  fast_xs (0.8.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_xs-0.8.0.gemspec
正在获取 fastimage 2.2.4
正在获取 excon 0.83.0
正在获取 ffi 1.15.3
正在安装 fastimage 2.2.4
正在安装 concurrent-ruby 1.1.9
正在安装 excon 0.83.0
3:  fastimage (2.2.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fastimage-2.2.4.gemspec
使用 fspath 3.1.2
3:  fspath (3.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fspath-3.1.2.gemspec
使用 gc_tracer 1.5.1
3:  gc_tracer (1.5.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/gc_tracer-1.5.1.gemspec
使用 guess_html_encoding 0.0.11
3:  guess_html_encoding (0.0.11) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/guess_html_encoding-0.0.11.gemspec
使用 hana 1.3.7
3:  hana (1.3.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hana-1.3.7.gemspec
使用 hashie 4.1.0
3:  hashie (4.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hashie-4.1.0.gemspec
使用 highline 2.0.3
3:  highline (2.0.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/highline-2.0.3.gemspec
使用 hkdf 0.3.0
3:  hkdf (0.3.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hkdf-0.3.0.gemspec
使用 htmlentities 4.3.4
3:  htmlentities (4.3.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/htmlentities-4.3.4.gemspec
使用 http_accept_language 2.1.1
3:  http_accept_language (2.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/http_accept_language-2.1.1.gemspec
使用 image_size 2.1.0
3:  image_size (2.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_size-2.1.0.gemspec
使用 in_threads 1.5.4
3:  in_threads (1.5.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/in_threads-1.5.4.gemspec
使用 progress 3.6.0
3:  progress (3.6.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/progress-3.6.0.gemspec
使用 json 2.5.1
3:  json (2.5.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json-2.5.1.gemspec
使用 uri_template 0.7.0
3:  uri_template (0.7.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uri_template-0.7.0.gemspec
使用 jwt 2.2.3
3:  jwt (2.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jwt-2.2.3.gemspec
使用 kgio 2.11.4
3:  kgio (2.11.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/kgio-2.11.4.gemspec
使用 libv8-node 15.14.0.1 (x86_64-linux)
3:  libv8-node (15.14.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/libv8-node-15.14.0.1-x86_64-linux.gemspec
使用 logstash-event 1.2.02
3:  logstash-event (1.2.02) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-event-1.2.02.gemspec
使用 logster 2.9.6
3:  logster (2.9.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logster-2.9.6.gemspec
使用 lru_redux 1.1.0
3:  lru_redux (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lru_redux-1.1.0.gemspec
使用 lz4-ruby 0.3.3
3:  lz4-ruby (0.3.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lz4-ruby-0.3.3.gemspec
使用 maxminddb 0.1.22
3:  maxminddb (0.1.22) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/maxminddb-0.1.22.gemspec
使用 memory_profiler 1.0.0
3:  memory_profiler (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/memory_profiler-1.0.0.gemspec
正在获取 redis 4.3.1
正在安装带有原生扩展的 ffi 1.15.3
正在安装 redis 4.3.1
0:  excon (0.83.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/excon-0.83.0.gemspec
使用 mini_sql 1.1.3
0:  mini_sql (1.1.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_sql-1.1.3.gemspec
使用 multi_json 1.15.0
0:  multi_json (1.15.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multi_json-1.15.0.gemspec
使用 multi_xml 0.6.0
0:  multi_xml (0.6.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multi_xml-0.6.0.gemspec
使用 mustache 1.1.1
0:  mustache (1.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mustache-1.1.1.gemspec
使用 nio4r 2.5.7
0:  nio4r (2.5.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nio4r-2.5.7.gemspec
使用 oauth 0.5.6
0:  oauth (0.5.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth-0.5.6.gemspec
正在获取 oj 3.11.7
正在安装带有原生扩展的 oj 3.11.7
3:  redis (4.3.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-4.3.1.gemspec
使用 optimist 3.0.1
3:  optimist (3.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/optimist-3.0.1.gemspec
使用 pg 1.2.3
3:  pg (1.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pg-1.2.3.gemspec
使用 r2 0.2.7
3:  r2 (0.2.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/r2-0.2.7.gemspec
使用 raindrops 0.19.2
3:  raindrops (0.19.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/raindrops-0.19.2.gemspec
使用 rchardet 1.8.0
3:  rchardet (1.8.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rchardet-1.8.0.gemspec
使用 rinku 2.0.6
3:  rinku (2.0.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rinku-2.0.6.gemspec
使用 rotp 6.2.0
3:  rotp (6.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rotp-6.2.0.gemspec
使用 rqrcode_core 1.0.0
3:  rqrcode_core (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode_core-1.0.0.gemspec
使用 rtlit 0.0.5
3:  rtlit (0.0.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rtlit-0.0.5.gemspec
使用 rubyzip 2.3.0
3:  rubyzip (2.3.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rubyzip-2.3.0.gemspec
使用 tilt 2.0.10
3:  tilt (2.0.10) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tilt-2.0.10.gemspec
使用 sshkey 2.0.0
3:  sshkey (2.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sshkey-2.0.0.gemspec
使用 stackprof 0.2.17
3:  stackprof (0.2.17) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/stackprof-0.2.17.gemspec
使用 unf_ext 0.0.7.7
3:  unf_ext (0.0.7.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf_ext-0.0.7.7.gemspec
使用 xorcist 1.1.2
3:  xorcist (1.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/xorcist-1.1.2.gemspec
使用 rack-test 1.1.0
3:  rack-test (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-test-1.1.0.gemspec
使用 request_store 1.5.0
3:  request_store (1.5.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/request_store-1.5.0.gemspec
正在获取 message_bus 3.3.6
正在安装 message_bus 3.3.6
2:  concurrent-ruby (1.1.9) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.9.gemspec
使用 rack-mini-profiler 2.3.2
2:  rack-mini-profiler (2.3.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-mini-profiler-2.3.2.gemspec
使用 rack-protection 2.1.0
2:  rack-protection (2.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-protection-2.1.0.gemspec
使用 mail 2.8.0.edge 来自 https://github.com/discourse/mail.git (位于 master@5b700fc)
2:  mail (2.8.0.edge) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
使用 addressable 2.7.0
2:  addressable (2.7.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/addressable-2.7.0.gemspec
使用 aws-sigv4 1.2.3
2:  aws-sigv4 (1.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sigv4-1.2.3.gemspec
使用 ember-data-source 3.0.2
2:  ember-data-source (3.0.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-data-source-3.0.2.gemspec
使用 barber 0.12.2
2:  barber (0.12.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/barber-0.12.2.gemspec
使用 uglifier 4.2.0
2:  uglifier (4.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uglifier-4.2.0.gemspec
使用 bootsnap 1.7.5
2:  bootsnap (1.7.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.5.gemspec
使用 openssl-signature_algorithm 1.1.1
2:  openssl-signature_algorithm (1.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
使用 pry 0.13.1
2:  pry (0.13.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
使用 ecma-re-validator 0.3.0
2:  ecma-re-validator (0.3.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ecma-re-validator-0.3.0.gemspec
正在获取 nokogiri 1.11.7 (x86_64-linux)
正在构建原生扩展。这可能需要一段时间..[details=日志输出]
.
3:  message_bus (3.3.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.6.gemspec
正在获取 faraday 1.4.3
正在安装 faraday 1.4.3
正在安装 nokogiri 1.11.7 (x86_64-linux)
3:  faraday (1.4.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.4.3.gemspec
正在使用 omniauth 1.9.1
3:  omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
正在使用 image_optim 0.30.0
3:  image_optim (0.30.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_optim-0.30.0.gemspec
正在使用 webpush 1.1.0
3:  webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.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
正在使用 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
正在使用 puma 5.3.2
3:  puma (5.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.3.2.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
正在使用 rqrcode 2.0.0
3:  rqrcode (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-2.0.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
正在使用 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
正在使用 i18n 1.8.10
3:  i18n (1.8.10) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.10.gemspec
正在使用 tzinfo 2.0.4
3:  tzinfo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-2.0.4.gemspec
正在使用 sprockets 3.7.2
3:  sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
正在使用 aws-sdk-core 3.112.1
3:  aws-sdk-core (3.112.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.112.1.gemspec
正在使用 css_parser 1.9.0
3:  css_parser (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
正在使用 cose 1.2.0
3:  cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
正在使用 json_schemer 0.2.18
3:  json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
正在使用 pry-byebug 3.9.0
3:  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
3:  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
3:  mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
正在使用 oauth2 1.4.7
3:  oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.7.gemspec
正在使用 omniauth-oauth 1.2.0
3:  omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
正在使用 activesupport 6.1.3.2
3:  activesupport (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.3.2.gemspec
正在获取 aws-sdk-kms 1.44.0
正在安装 aws-sdk-kms 1.44.0
3:  aws-sdk-kms (1.44.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.44.0.gemspec
正在使用 aws-sdk-sns 1.38.0
3:  aws-sdk-sns (1.38.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.38.0.gemspec
正在使用 ember-handlebars-template 0.8.0
3:  ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
正在使用 omniauth-oauth2 1.7.1
3:  omniauth-oauth2 (1.7.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth2-1.7.1.gemspec
正在使用 omniauth-twitter 1.4.0
3:  omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
正在使用 globalid 0.4.2
3:  globalid (0.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
正在使用 activemodel 6.1.3.2
3:  activemodel (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.3.2.gemspec
正在获取 aws-sdk-s3 1.96.1
正在安装 aws-sdk-s3 1.96.1
3:  aws-sdk-s3 (1.96.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.96.1.gemspec
正在使用 activejob 6.1.3.2
3:  activejob (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.1.3.2.gemspec
正在使用 active_model_serializers 0.8.4
3:  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.2
3:  activerecord (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.1.3.2.gemspec
正在使用 omniauth-facebook 8.0.0
3:  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
3:  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
3:  omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.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
正在构建原生扩展。这可能需要一段时间...
2:  nokogiri (1.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.7-x86_64-linux.gemspec
正在获取 loofah 2.10.0
正在使用 rails-dom-testing 2.0.3
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
正在使用 nokogumbo 2.0.5
3:  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
3:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
正在使用 sanitize 5.2.3
3:  sanitize (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
正在安装 loofah 2.10.0
2:  loofah (2.10.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.10.0.gemspec
正在使用 rails-html-sanitizer 1.3.0
3:  rails-html-sanitizer (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-html-sanitizer-1.3.0.gemspec
正在使用 actionview 6.1.3.2
2:  actionview (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.1.3.2.gemspec
正在使用 actionpack 6.1.3.2
3:  actionpack (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.1.3.2.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.2
3:  actionmailer (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.1.3.2.gemspec
正在使用 railties 6.1.3.2
3:  railties (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.1.3.2.gemspec
正在使用 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
正在使用 jquery-rails 4.4.0
2:  jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
正在使用 lograge 0.11.2
2:  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:  rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.7.3.gemspec
正在使用 rails_multisite 3.0.0
2:  rails_multisite (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-3.0.0.gemspec
正在使用 discourse-ember-rails 0.18.6
2:  discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
0:  oj (3.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.7.gemspec
1:  ffi (1.15.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.15.3.gemspec
正在使用 mini_suffix 0.3.2
0:  mini_suffix (0.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
正在使用 rbtrace 0.4.14
0:  rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
正在使用 sassc 2.0.1
0:  sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
正在使用 sassc-rails 2.1.2
1:  sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
捆绑完成!126 个 Gemfile 依赖项,169 个 gems 现已安装。
未安装 'test' 和 'development' 组中的 gems。
捆绑的 gems 已安装到 `./vendor/bundle`

I, [2021-06-30T18:11:25.032747 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
I, [2021-06-30T18:11:28.411968 #1]  INFO -- : docker_manager 已是最新的兼容版本

I, [2021-06-30T18:11:28.412905 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
I, [2021-06-30T18:11:36.837298 #1]  INFO -- :
I, [2021-06-30T18:11:36.838255 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile'
更新 Light Logos 失败
about.json 包含无效值:最大 discourse 版本无效
/var/www/discourse/app/models/remote_theme.rb:169:in `update_from_remote'
/var/www/discourse/lib/tasks/themes.rake:61:in `block (2 levels) in <main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in `block (2 levels) in find_each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in `block in find_each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:138:in `block in find_in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:245:in `block in in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:229:in `loop'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:229:in `in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:137:in `find_in_batches'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:70:in `find_each'
/var/www/discourse/lib/tasks/themes.rake:57:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:188:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:160:in `invoke_task'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block in top_level'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:125:in `run_with_threads'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:110:in `top_level'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:83:in `block in run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:186:in `standard_exception_handling'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:80:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:23:in `<top (required)>'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in `load'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in `kernel_load'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:28:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:474:in `exec'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in `dispatch'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in `start'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:49:in `block in <top (required)>'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:37:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
I, [2021-06-30T18:11:46.174318 #1]  INFO -- : 正在更新汉堡链接组件...
正在更新分类横幅...
正在更新新点赞图标...
正在更新按钮...
正在更新汉堡主题选择器...
正在更新 Light Logos...

I, [2021-06-30T18:11:46.175067 #1]  INFO -- : 正在终止异步进程
I, [2021-06-30T18:11:46.175133 #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: 55 发送 INT
I, [2021-06-30T18:11:46.175188 #1]  INFO -- : 向 exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 172 发送 TERM
2021-06-30 18:11:46.175 UTC [55] LOG:  received fast shutdown request
172:signal-handler (1625076706) Received SIGTERM scheduling shutdown...
2021-06-30 18:11:46.177 UTC [55] LOG:  aborting any active transactions
2021-06-30 18:11:46.181 UTC [55] LOG:  background worker "logical replication launcher" (PID 64) exited with exit code 1
2021-06-30 18:11:46.182 UTC [59] LOG:  shutting down
2021-06-30 18:11:46.208 UTC [55] LOG:  database system is shut down
172:M 30 Jun 2021 18:11:46.235 # User requested shutdown...
172:M 30 Jun 2021 18:11:46.235 * Saving the final RDB snapshot before exiting.
172:M 30 Jun 2021 18:11:46.825 * DB saved on disk
172:M 30 Jun 2021 18:11:46.825 # 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' 失败,返回 #<Process::Status: pid 3753 exit 1>
失败位置: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec 失败,参数为 {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
06a3eaec7a931a79157477327261a44ac39732eba872e906fdbf30068b626ca2
** 引导失败 ** 请向上滚动并查看早期错误消息,可能不止一个。
./discourse-doctor 可能有助于诊断问题。
root@community:/var/discourse#

幸运的是,管理员将站点重新上线,但我仍然无法重新构建。

内存和磁盘空间充足,也尝试过重启……

管理员日志
DISCOURSE DOCTOR Wed Jun 30 18:17:13 UTC 2021
OS: Linux community 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=community.naturephotographers.network
SMTP_ADDRESS=smtp.postmarkapp.com
DEVELOPER_EMAILS=editor@naturephotographers.network
SMTP_PASSWORD=redacted
SMTP_PORT=25
SMTP_USER_NAME=redacted
LETSENCRYPT_ACCOUNT_EMAIL=redacted

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 19.03.13, build 4484c46d9d

DOCKER PROCESSES (docker ps -a)

CONTAINER ID        IMAGE                           COMMAND             CREATED             STATUS                     PORTS                NAMES
aae342f545ad        local_discourse/app             "/sbin/boot"        4 weeks ago         Exited (5) 7 minutes ago                        app
b1c5b390e4fb        local_discourse/mail-receiver   "/sbin/boot"        15 months ago       Up 7 minutes               0.0.0.0:25->25/tcp   mail-receiver

==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
From https://github.com/discourse/pups
   17f04ec..e0ff889  master     -> origin/master
 * [new tag]         v1.1.1     -> v1.1.1
 * [new tag]         v1.1.0     -> v1.1.0
Updating 17f04ec..e0ff889
Fast-forward
 .github/workflows/ci.yml     |  29 ++++++
 .github/workflows/lint.yml   |  27 +++++
 .rubocop.yml                 |   3 +
 Gemfile                      |   2 +
 Guardfile                    |   4 +-
 README.md                    |  21 ++++
 Rakefile                     |  14 +--
 bin/pups                     |   8 +-
 lib/pups.rb                  |  32 ++++--
 lib/pups/cli.rb              |  92 ++++++++++-------
 lib/pups/command.rb          |  25 +++--
 lib/pups/config.rb           | 240 +++++++++++++++++++++++--------------------
 lib/pups/docker.rb           |  69 +++++++++++++
 lib/pups/exec_command.rb     | 182 ++++++++++++++++----------------
 lib/pups/file_command.rb     |  60 +++++------
 lib/pups/merge_command.rb    |  94 ++++++++---------
 lib/pups/replace_command.rb  |  70 +++++++------
 lib/pups/runit.rb            |  47 +++++----
 lib/pups/version.rb          |   4 +-
 pups.gemspec                 |  37 ++++---
 test/cli_test.rb             | 102 +++++++++++++++---
 test/config_test.rb          | 215 ++++++++++++++++++++++++++++----------
 test/docker_test.rb          | 157 ++++++++++++++++++++++++++++
 test/exec_command_test.rb    |  62 ++++++-----
 test/file_command_test.rb    |  17 ++-
 test/merge_command_test.rb   |  64 ++++++------
 test/replace_command_test.rb |  86 ++++++++--------
 test/test_helper.rb          |   2 +
 28 files changed, 1158 insertions(+), 607 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 create mode 100644 .github/workflows/lint.yml
 create mode 100644 .rubocop.yml
 create mode 100644 lib/pups/docker.rb
 create mode 100644 test/docker_test.rb
Note: checking out 'v1.0.3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d1db030 发布了一个新版本
I, [2021-06-30T18:17:25.316554 #1]  INFO -- : 正在加载 --stdin
I, [2021-06-30T18:17:25.325291 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-06-30T18:17:25.375244 #1]  INFO -- : 正在生成区域设置(这可能需要一段时间)...
生成完成。

I, [2021-06-30T18:17:25.375763 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-06-30T18:17:25.379807 #1]  INFO -- :
I, [2021-06-30T18:17:25.380422 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-06-30T18:17:25.384276 #1]  INFO -- :
I, [2021-06-30T18:17:25.384905 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-06-30T18:17:25.388917 #1]  INFO -- :
I, [2021-06-30T18:17:25.389503 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-06-30T18:17:25.393398 #1]  INFO -- :
I, [2021-06-30T18:17:25.393989 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-06-30T18:17:25.397263 #1]  INFO -- :
I, [2021-06-30T18:17:25.397986 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/06/30 18:17:25 socat[32] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): 没有那个文件或目录
I, [2021-06-30T18:17:25.406792 #1]  INFO -- :
I, [2021-06-30T18:17:25.407296 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-06-30T18:17:25.413288 #1]  INFO -- :
I, [2021-06-30T18:17:25.413916 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-06-30T18:17:25.419980 #1]  INFO -- :
I, [2021-06-30T18:17:25.420551 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-30T18:17:25.425664 #1]  INFO -- :
I, [2021-06-30T18:17:25.426443 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-30T18:17:25.430366 #1]  INFO -- :
I, [2021-06-30T18:17:25.439005 #1]  INFO -- : 文件 > /etc/service/postgres/run  chmod: +x  chown:
I, [2021-06-30T18:17:25.447154 #1]  INFO -- : 文件 > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2021-06-30T18:17:25.455020 #1]  INFO -- : 文件 > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2021-06-30T18:17:25.462786 #1]  INFO -- : 文件 > /root/upgrade_postgres  chmod: +x  chown:
I, [2021-06-30T18:17:25.463585 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-06-30T18:17:26.617011 #1]  INFO -- :
I, [2021-06-30T18:17:26.617639 #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-06-30T18:17:26.621619 #1]  INFO -- :
I, [2021-06-30T18:17:26.621815 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-06-30T18:17:26.648876 #1]  INFO -- :
I, [2021-06-30T18:17:26.649677 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-06-30T18:17:26.654877 #1]  INFO -- :
I, [2021-06-30T18:17:26.655505 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-06-30T18:17:26.664780 #1]  INFO -- :
I, [2021-06-30T18:17:26.665486 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-06-30T18:17:26.670533 #1]  INFO -- :
I, [2021-06-30T18:17:26.671386 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 data_directory = '/var/lib/postgresql/13/main' 替换为 data_directory = '/shared/postgres_data'
I, [2021-06-30T18:17:26.672569 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?listen_addresses *=.*) 替换为 listen_addresses = '*'
I, [2021-06-30T18:17:26.673331 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?synchronous_commit *=.*) 替换为 synchronous_commit = $db_synchronous_commit
I, [2021-06-30T18:17:26.674116 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?shared_buffers *=.*) 替换为 shared_buffers = $db_shared_buffers
I, [2021-06-30T18:17:26.674838 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?work_mem *=.*) 替换为 work_mem = $db_work_mem
I, [2021-06-30T18:17:26.675556 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?default_text_search_config *=.*) 替换为 default_text_search_config = '$db_default_text_search_config'
I, [2021-06-30T18:17:26.676269 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-06-30T18:17:26.682638 #1]  INFO -- :
I, [2021-06-30T18:17:26.683568 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?checkpoint_segments *=.*) 替换为 checkpoint_segments = $db_checkpoint_segments
I, [2021-06-30T18:17:26.684379 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?logging_collector *=.*) 替换为 logging_collector = $db_logging_collector
I, [2021-06-30T18:17:26.685256 #1]  INFO -- : 在 /etc/postgresql/13/main/postgresql.conf 中将 (?-mix:#?log_min_duration_statement *=.*) 替换为 log_min_duration_statement = $db_log_min_duration_statement
I, [2021-06-30T18:17:26.686113 #1]  INFO -- : 在 /etc/postgresql/13/main/pg_hba.conf 中将 (?-mix:^#local +replication +postgres +peer$) 替换为 local replication postgres  peer
I, [2021-06-30T18:17:26.686787 #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-06-30T18:17:26.687416 #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-06-30T18:17:26.692123 #1]  INFO -- : > sleep 5
2021-06-30 18:17:26.737 UTC [55] LOG:  正在启动 PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-06-30 18:17:26.738 UTC [55] LOG:  正在监听 IPv4 地址 "0.0.0.0",端口 5432
2021-06-30 18:17:26.739 UTC [55] LOG:  正在监听 IPv6 地址 "::",端口 5432
2021-06-30 18:17:26.741 UTC [55] LOG:  正在监听 Unix 套接字 "/var/run/postgresql/.s.PGSQL.5432"
2021-06-30 18:17:26.747 UTC [58] LOG:  数据库系统于 2021-06-30 18:11:46 UTC 关闭
2021-06-30 18:17:26.763 UTC [55] LOG:  数据库系统已准备好接受连接
I, [2021-06-30T18:17:31.697021 #1]  INFO -- :
I, [2021-06-30T18:17:31.697737 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-30 18:17:31.777 UTC [68] postgres@postgres ERROR:  数据库 "discourse" 已存在
2021-06-30 18:17:31.777 UTC [68] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: 数据库创建失败: ERROR:  数据库 "discourse" 已存在
I, [2021-06-30T18:17:31.779604 #1]  INFO -- :
I, [2021-06-30T18:17:31.780242 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-30 18:17:31.865 UTC [79] postgres@discourse ERROR:  角色 "discourse" 已存在
2021-06-30 18:17:31.865 UTC [79] postgres@discourse STATEMENT:  create user discourse;
ERROR:  角色 "discourse" 已存在
I, [2021-06-30T18:17:31.869758 #1]  INFO -- :
I, [2021-06-30T18:17:31.870295 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-06-30T18:17:31.966286 #1]  INFO -- : GRANT

I, [2021-06-30T18:17:31.966758 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-06-30T18:17:32.057039 #1]  INFO -- : ALTER SCHEMA

I, [2021-06-30T18:17:32.057490 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  扩展 "hstore" 已存在,跳过
I, [2021-06-30T18:17:32.174533 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:17:32.175101 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  扩展 "pg_trgm" 已存在,跳过
I, [2021-06-30T18:17:32.267217 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:17:32.267664 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  扩展 "hstore" 已存在,跳过
I, [2021-06-30T18:17:32.362888 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:17:32.363592 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  扩展 "pg_trgm" 已存在,跳过
I, [2021-06-30T18:17:32.454929 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-30T18:17:32.455700 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-06-30T18:17:32.458638 #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-06-30T18:17:32.559282 #1]  INFO -- : 文件 > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-06-30T18:17:32.563650 #1]  INFO -- : 文件 > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2021-06-30T18:17:32.564227 #1]  INFO -- : > echo postgres installed!
I, [2021-06-30T18:17:32.567677 #1]  INFO -- : postgres installed!

I, [2021-06-30T18:17:32.576232 #1]  INFO -- : 文件 > /etc/service/redis/run  chmod: +x  chown:
I, [2021-06-30T18:17:32.583981 #1]  INFO -- : 文件 > /etc/service/redis/log/run  chmod: +x  chown:
I, [2021-06-30T18:17:32.592681 #1]  INFO -- : 文件 > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2021-06-30T18:17:32.593587 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 daemonize yes 替换为
I, [2021-06-30T18:17:32.594795 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 (?-mix:^pidfile.*$) 替换为
I, [2021-06-30T18:17:32.595747 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-06-30T18:17:32.602308 #1]  INFO -- :
I, [2021-06-30T18:17:32.603639 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 (?-mix:^logfile.*$) 替换为 logfile ""
I, [2021-06-30T18:17:32.604689 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 (?-mix:^bind .*$) 替换为
I, [2021-06-30T18:17:32.605705 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 (?-mix:^dir .*$) 替换为 dir /shared/redis_data
I, [2021-06-30T18:17:32.606870 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 (?-mix:^protected-mode yes) 替换为 protected-mode no
I, [2021-06-30T18:17:32.607772 #1]  INFO -- : 在 /etc/redis/redis.conf 中将 # io-threads 4 替换为 io-threads $redis_io_threads
I, [2021-06-30T18:17:32.608737 #1]  INFO -- : > echo redis installed
I, [2021-06-30T18:17:32.612692 #1]  INFO -- : redis installed

I, [2021-06-30T18:17:32.613116 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-06-30T18:17:32.618476 #1]  INFO -- : logfile ""

I, [2021-06-30T18:17:32.618947 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-30T18:17:32.622264 #1]  INFO -- : > sleep 10
172:C 30 Jun 2021 18:17:32.630 # oO0OoO0OoO0Oo Redis 正在启动 oO0OoO0OoO0Oo
172:C 30 Jun 2021 18:17:32.630 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=172, just started
172:C 30 Jun 2021 18:17:32.630 # Configuration loaded
172:M 30 Jun 2021 18:17:32.632 * monotonic clock: POSIX clock_gettime
172:M 30 Jun 2021 18:17:32.633 * Running mode=standalone, port=6379.
172:M 30 Jun 2021 18:17:32.633 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
172:M 30 Jun 2021 18:17:32.633 # Server initialized
172:M 30 Jun 2021 18:17:32.634 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. 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.
172:M 30 Jun 2021 18:17:32.634 * Loading RDB produced by version 6.2.3
172:M 30 Jun 2021 18:17:32.634 * RDB age 346 seconds
172:M 30 Jun 2021 18:17:32.634 * RDB memory usage when created 103.35 Mb
172:M 30 Jun 2021 18:17:33.012 * DB loaded from disk: 0.377 seconds
172:M 30 Jun 2021 18:17:33.012 * Ready to accept connections
I, [2021-06-30T18:17:42.626128 #1]  INFO -- :
I, [2021-06-30T18:17:42.626926 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-06-30T18:17:42.632774 #1]  INFO -- : thpoff is installed!

I, [2021-06-30T18:17:42.632986 #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-06-30T18:17:42.760451 #1]  INFO -- :
I, [2021-06-30T18:17:42.760769 #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-06-30T18:17:42.888068 #1]  INFO -- :
I, [2021-06-30T18:17:42.888394 #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-06-30T18:17:43.010055 #1]  INFO -- :
I, [2021-06-30T18:17:43.010302 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-06-30T18:17:43.524337 #1]  INFO -- :
I, [2021-06-30T18:17:43.524605 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-06-30T18:17:43.528436 #1]  INFO -- :
I, [2021-06-30T18:17:43.532976 #1]  INFO -- : 文件 > /etc/cron.d/anacron  chmod:   chown:
I, [2021-06-30T18:17:43.539437 #1]  INFO -- : 文件 > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2021-06-30T18:17:43.545743 #1]  INFO -- : 文件 > /etc/service/unicorn/run  chmod: +x  chown:
I, [2021-06-30T18:17:43.552390 #1]  INFO -- : 文件 > /etc/service/nginx/run  chmod: +x  chown:
I, [2021-06-30T18:17:43.558757 #1]  INFO -- : 文件 > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2021-06-30T18:17:43.565070 #1]  INFO -- : 文件 > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2021-06-30T18:17:43.565232 #1]  INFO -- : 在 /etc/service/unicorn/run 中将 # postgres 替换为 sv start postgres || exit 1
I, [2021-06-30T18:17:43.565595 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-30T18:17:43.569186 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
200:C 30 Jun 2021 18:17:43.578 # oO0OoO0OoO0Oo Redis 正在启动 oO0OoO0OoO0Oo
200:C 30 Jun 2021 18:17:43.579 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=200, just started
200:C 30 Jun 2021 18:17:43.579 # Configuration loaded
200:M 30 Jun 2021 18:17:43.581 * monotonic clock: POSIX clock_gettime
200:M 30 Jun 2021 18:17:43.581 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
200:M 30 Jun 2021 18:17:43.582 # Failed listening on port 6379 (TCP), aborting.
Checking out files: 100% (28860/28860), done.
I, [2021-06-30T18:17:47.138719 #1]  INFO -- : HEAD is now at 74f71503 FEATURE: Automatically timed delete stub topics after entire topic is merged into another topic (#13187)

I, [2021-06-30T18:17:47.139313 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-06-30T18:17:47.286669 #1]  INFO -- :
I, [2021-06-30T18:17:47.287144 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-06-30T18:17:47.292472 #1]  INFO -- :
I, [2021-06-30T18:17:47.293091 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-06-30T18:17:47.300084 #1]  INFO -- :
I, [2021-06-30T18:17:47.300808 #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-06-30T18:17:50.431451 #1]  INFO -- :
I, [2021-06-30T18:17:50.431892 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-06-30T18:17:51.485788 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-06-30T18:17:51.486332 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-06-30T18:17:51.492407 #1]  INFO -- :
I, [2021-06-30T18:17:51.492618 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-06-30T18:17:51.499617 #1]  INFO -- :
I, [2021-06-30T18:17:51.499785 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-06-30T18:17:51.506467 #1]  INFO -- :
I, [2021-06-30T18:17:51.506698 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-06-30T18:17:51.513837 #1]  INFO -- :
I, [2021-06-30T18:17:51.514417 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-06-30T18:17:51.519961 #1]  INFO -- :
I, [2021-06-30T18:17:51.520531 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-06-30T18:17:51.526477 #1]  INFO -- :
I, [2021-06-30T18:17:51.527100 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-06-30T18:17:51.535696 #1]  INFO -- :
I, [2021-06-30T18:17:51.536338 #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-06-30T18:17:51.544007 #1]  INFO -- :
I, [2021-06-30T18:17:51.544172 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-06-30T18:17:51.552564 #1]  INFO -- :
I, [2021-06-30T18:17:51.552707 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-06-30T18:17:51.560949 #1]  INFO -- :
I, [2021-06-30T18:17:51.561148 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-06-30T18:17:51.569336 #1]  INFO -- :
I, [2021-06-30T18:17:51.570021 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-06-30T18:17:51.577082 #1]  INFO -- :
I, [2021-06-30T18:17:51.577679 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-06-30T18:17:51.584070 #1]  INFO -- :
I, [2021-06-30T18:17:51.584668 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-06-30T18:17:51.589576 #1]  INFO -- :
I, [2021-06-30T18:17:51.590168 #1]  INFO -- : 在 /etc/service/unicorn/run 中将 # redis 替换为 sv start redis || exit 1
I, [2021-06-30T18:17:51.590754 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-06-30T18:17:52.829840 #1]  INFO -- :
I, [2021-06-30T18:17:52.830638 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-06-30T18:17:52.836459 #1]  INFO -- :
I, [2021-06-30T18:17:52.837197 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-06-30T18:17:52.841841 #1]  INFO -- :
I, [2021-06-30T18:17:52.842416 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-06-30T18:17:52.846834 #1]  INFO -- :
I, [2021-06-30T18:17:52.847480 #1]  INFO -- : 在 /etc/nginx/nginx.conf 中将 pid /run/nginx.pid; 替换为 daemon off;
I, [2021-06-30T18:17:52.848166 #1]  INFO -- : 在 /etc/nginx/conf.d/discourse.conf 中将 (?m-ix:upstream[^\}]+\}) 替换为 upstream discourse { server 127.0.0.1:3000; }
I, [2021-06-30T18:17:52.848798 #1]  INFO -- : 在 /etc/nginx/conf.d/discourse.conf 中将 (?-mix:server_name.+$) 替换为 server_name _ ;
I, [2021-06-30T18:17:52.849394 #1]  INFO -- : 在 /etc/nginx/conf.d/discourse.conf 中将 (?-mix:client_max_body_size.+$) 替换为 client_max_body_size $upload_size ;
I, [2021-06-30T18:17:52.850034 #1]  INFO -- : > echo "done configuring web"
I, [2021-06-30T18:17:52.853919 #1]  INFO -- : done configuring web

I, [2021-06-30T18:17:52.854747 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2021-06-30T18:17:53.802093 #1]  INFO -- : Successfully installed bundler-2.2.19
1 gem installed

我的更新中出现了错误

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

请帮我修复它。[details=日志]
.
1: faraday (1.4.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.4.3.gemspec
Using request_store 1.5.0
1: request_store (1.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/request_store-1.5.0.gemspec
Fetching message_bus 3.3.6
Installing message_bus 3.3.6
1: message_bus (3.3.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.6.gemspec
Using pry 0.13.1
1: pry (0.13.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
Using rack-mini-profiler 2.3.2
1: rack-mini-profiler (2.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-mini-profiler-2.3.2.gemspec
Using rack-protection 2.1.0
1: rack-protection (2.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-protection-2.1.0.gemspec
Using uglifier 4.2.0
1: uglifier (4.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uglifier-4.2.0.gemspec
Using omniauth 1.9.1
1: omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
Using image_optim 0.30.0
1: image_optim (0.30.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_optim-0.30.0.gemspec
Using logstash-logger 0.26.1
1: logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-logger-0.26.1.gemspec
Using mini_racer 0.4.0
1: mini_racer (0.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.4.0.gemspec
Using webpush 1.1.0
1: webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
Using puma 5.3.2
1: puma (5.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.3.2.gemspec
Using sidekiq 6.2.1
1: sidekiq (6.2.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.2.1.gemspec
Using redis-namespace 1.8.1
1: redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
Using rqrcode 2.0.0
1: rqrcode (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-2.0.0.gemspec
Using unicorn 6.0.0
1: unicorn (6.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-6.0.0.gemspec
Using unf 0.1.4
1: unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec
Using i18n 1.8.10
1: i18n (1.8.10) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.10.gemspec
Using tzinfo 2.0.4
1: tzinfo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-2.0.4.gemspec
Using sprockets 3.7.2
1: sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
Using aws-sdk-core 3.112.1
1: aws-sdk-core (3.112.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.112.1.gemspec
Using cose 1.2.0
1: cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
Using css_parser 1.9.0
1: css_parser (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
Using json_schemer 0.2.18
1: json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
Using oauth2 1.4.7
1: oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.7.gemspec
Using activesupport 6.1.3.2
1: activesupport (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.3.2.gemspec
Fetching aws-sdk-kms 1.44.0
Installing aws-sdk-kms 1.44.0
1: aws-sdk-kms (1.44.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.44.0.gemspec
Using aws-sdk-sns 1.38.0
1: aws-sdk-sns (1.38.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.38.0.gemspec
Using ember-handlebars-template 0.8.0
1: ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
Using mini_scheduler 0.13.0
1: mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
Using omniauth-oauth2 1.7.1
1: omniauth-oauth2 (1.7.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth2-1.7.1.gemspec
Using omniauth-oauth 1.2.0
1: omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
Using pry-byebug 3.9.0
1: pry-byebug (3.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-byebug-3.9.0.gemspec
Using pry-rails 0.3.9
1: pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
Using globalid 0.4.2
1: globalid (0.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
Using activemodel 6.1.3.2
1: activemodel (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.3.2.gemspec
Fetching aws-sdk-s3 1.96.1
Installing aws-sdk-s3 1.96.1
1: aws-sdk-s3 (1.96.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.96.1.gemspec
Using omniauth-facebook 8.0.0
1: omniauth-facebook (8.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-facebook-8.0.0.gemspec
Using omniauth-github 1.4.0
1: omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-github-1.4.0.gemspec
Using omniauth-google-oauth2 0.8.2
1: omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Using omniauth-twitter 1.4.0
1: omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
Using activejob 6.1.3.2
1: activejob (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.1.3.2.gemspec
Using active_model_serializers 0.8.4
1: active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/active_model_serializers-0.8.4.gemspec
Using activerecord 6.1.3.2
1: activerecord (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.1.3.2.gemspec
Using seed-fu 2.3.9
1: seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
2: nokogiri (1.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.7-x86_64-linux.gemspec
Using rails-dom-testing 2.0.3
Fetching loofah 2.10.0
2: rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-dom-testing-2.0.3.gemspec
Using 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
Using 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
Using 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
Installing loofah 2.10.0
1: loofah (2.10.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.10.0.gemspec
Using 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
Using actionview 6.1.3.2
1: actionview (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.1.3.2.gemspec
Using actionview_precompiler 0.2.3
2: actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
Using actionpack 6.1.3.2
1: actionpack (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.1.3.2.gemspec
Using actionmailer 6.1.3.2
2: actionmailer (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.1.3.2.gemspec
Using railties 6.1.3.2
2: railties (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.1.3.2.gemspec
Using sprockets-rails 3.2.2
2: sprockets-rails (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
Using jquery-rails 4.4.0
2: jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
Using lograge 0.11.2
2: lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
Using rails_failover 0.7.3
2: rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.7.3.gemspec
Using rails_multisite 3.0.0
2: rails_multisite (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-3.0.0.gemspec
Using discourse-ember-rails 0.18.6
2: discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
Building native extensions. This could take a while…
0: oj (3.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.7.gemspec
3: ffi (1.15.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.15.3.gemspec
Using mini_suffix 0.3.2
0: mini_suffix (0.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
Using rbtrace 0.4.14
0: rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
Using sassc 2.0.1
0: sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
Using sassc-rails 2.1.2
3: sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
Bundle complete! 126 Gemfile dependencies, 169 gems now installed.
Gems in the groups ‘test’ and ‘development’ were not installed.
Bundled gems are installed into ./vendor/bundle

I, [2021-06-30T18:18:35.159818 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake plugin:pull_compatible_all’
I, [2021-06-30T18:18:38.454048 #1] INFO – : docker_manager 已经是最新的兼容版本

I, [2021-06-30T18:18:38.454891 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
I, [2021-06-30T18:18:46.643753 #1] INFO – :
I, [2021-06-30T18:18:46.644495 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake themes:update assets:precompile’
Failed to update Light Logos
about.json contains invalid values: Maximum discourse version is invalid
/var/www/discourse/app/models/remote_theme.rb:169:in update_from_remote' /var/www/discourse/lib/tasks/themes.rake:61:in block (2 levels) in ’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in block (2 levels) in find_each' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in each’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in block in find_each' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:138:in block in find_in_batches’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:245:in block in in_batches' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:229:in loop’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:229:in in_batches' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:137:in find_in_batches’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:70:in find_each' /var/www/discourse/lib/tasks/themes.rake:57:in block in ’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in block in execute' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in each’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in execute' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:219:in block in invoke_with_call_chain’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in synchronize' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in invoke_with_call_chain’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:188:in invoke' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:160:in invoke_task’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in block (2 levels) in top_level' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in each’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in block in top_level' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:125:in run_with_threads’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:110:in top_level' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:83:in block in run’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:186:in standard_exception_handling' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:80:in run’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in <top (required)>' /var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:23:in load’
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:23:in <top (required)>' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in load’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in kernel_load' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:28:in run’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:474:in exec' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in dispatch' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in start' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:49:in block in <top (required)>’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in with_friendly_errors' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:37:in <top (required)>’
/usr/local/bin/bundle:23:in load' /usr/local/bin/bundle:23:in
I, [2021-06-30T18:18:56.239960 #1] INFO – : Updating Hamburger links component…
Updating Category Banners…
Updating New Like icon…
Updating Buttons…
Updating Hamburger Theme Selector…
Updating Light Logos…

I, [2021-06-30T18:18:56.240815 #1] INFO – : Terminating async processes
I, [2021-06-30T18:18:56.240979 #1] INFO – : Sending INT to 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: 55
I, [2021-06-30T18:18:56.241509 #1] INFO – : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 172
172:signal-handler (1625077136) Received SIGTERM scheduling shutdown…
2021-06-30 18:18:56.241 UTC [55] LOG: received fast shutdown request
2021-06-30 18:18:56.244 UTC [55] LOG: aborting any active transactions
2021-06-30 18:18:56.249 UTC [55] LOG: background worker “logical replication launcher” (PID 64) exited with exit code 1
2021-06-30 18:18:56.250 UTC [59] LOG: shutting down
2021-06-30 18:18:56.282 UTC [55] LOG: database system is shut down
172:M 30 Jun 2021 18:18:56.283 # User requested shutdown…
172:M 30 Jun 2021 18:18:56.283 * Saving the final RDB snapshot before exiting.
172:M 30 Jun 2021 18:18:56.794 * DB saved on disk
172:M 30 Jun 2021 18:18:56.794 # 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 3754 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’”]}
c7fa934b640d7a43d3131a29051487c7b1c82cd2c9563ce2df6961d9001c77b0
** 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.
==================== END REBUILD LOG ====================
Failed to rebuild app.

Checking your domain name . . .

Connection to community.naturephotographers.network succeeded.
You should probably remove any non-standard plugins and rebuild.
Attempting to restart existing container. . .

starting up existing container

  • /usr/bin/docker start app
    app
    aae342f545ad local_discourse/app “/sbin/boot” 4 weeks ago Up Less than a second 0.0.0.0:80->80/tcp, 0.0.0.0:443->43/tcp app
    Restarted the container.

==================== PLUGINS ====================
- git clone GitHub - discourse/docker_manager: Plugin for use with discourse docker image · GitHub

- git clone GitHub - paviliondev/discourse-category-lockdown: Set all topics in a category to redirect, unless a member of specified groups · GitHub

- git clone GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub

- git clone GitHub - merefield/discourse-locations: Tools for handling locations in Discourse · GitHub

- git clone GitHub - angusmcleod/angus-events-plugin: Allows you to manage events in Discourse · GitHub

- git clone GitHub - jannolii/discourse-topic-trade-buttons · GitHub

- git clone GitHub - pmusaraj/discourse-onesignal: Discourse plugin to send Push Notifications via OneSignal. · GitHub

- git clone GitHub - discourse/discourse-data-explorer: SQL Queries for admins in Discourse · GitHub

- git clone GitHub - discourse/discourse-whos-online: A plugin for Discourse which uses the messagebus to display a live list of active users · GitHub

- git clone GitHub - discourse/discourse-canned-replies: Adds a means to insert templates from the composer. · GitHub

- git clone GitHub - discourse/discourse-follow: A Discourse plugin that lets you follow other users. · GitHub

- git clone GitHub - discourse/discourse-akismet: give spam a whoopin · GitHub

- git clone GitHub - paviliondev/discourse-knowledge-base · GitHub

- git clone GitHub - paviliondev/discourse-multilingual: A Discourse Plugin that makes it easier to administer a Multilingual Forum. · GitHub

- git clone GitHub - discourse/discourse-translator · GitHub

- git clone GitHub - discourse/discourse-push-notifications: Plugin for integrating Chrome and FireFox push notifications · GitHub

- git clone GitHub - paviliondev/discourse-custom-wizard: A Discourse Plugin that allows you to create custom user wizards. · GitHub

- git clone GitHub - discourse/discourse-zoom: Integrate Zoom events in Discourse. · GitHub

- git clone GitHub - Ebsy/discourse-nationalflags: National Flags plugin for Discourse · GitHub

- git clone GitHub - discourse/discourse-calendar: Adds the ability to create a dynamic calendar in the first post of a topic. · GitHub

- git clone GitHub - discourse/discourse-fontawesome-pro: Install FontAwesome Pro to Discourse · GitHub

- git clone https://github.com/merefield/discourse-topic-previews.git -b “theme_sidecar”

- git clone GitHub - discourse/discourse-reactions: Moved to https://github.com/discourse/discourse/tree/main/plugins/discourse-reactions · GitHub

- git clone GitHub - discourse/discourse-user-notes: Plugin for Staff users to create notes on users · GitHub

WARNING:
You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

See discourse/lib/plugin/metadata.rb at main · discourse/discourse · GitHub for the official list.

========================================
Discourse version at community.naturephotographers.network: NOT FOUND
Discourse version at localhost: NOT FOUND

==================== MEMORY INFORMATION ====================
RAM (MB): 4046

          total        used        free      shared  buff/cache   available

Mem: 3951 157 2510 5 1284 3484
Swap: 2047 0 2047

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 49G 26G 24G 52% /

==================== DISK INFORMATION ====================
Disk /dev/loop0: 9.1 MiB, 9531392 bytes, 18616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 55.4 MiB, 58114048 bytes, 113504 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 99.4 MiB, 104202240 bytes, 203520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 99.4 MiB, 104185856 bytes, 203488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 55.5 MiB, 58134528 bytes, 113544 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop5: 9.1 MiB, 9531392 bytes, 18616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/vda: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 603625F3-7AE2-40CB-B05E-0BD7EA2D57E4

Device Start End Sectors Size Type
/dev/vda1 227328 104857566 104630239 49.9G Linux filesystem
/dev/vda14 2048 10239 8192 4M BIOS boot
/dev/vda15 10240 227327 217088 106M Microsoft basic data

Partition table entries are not in disk order.

==================== END DISK INFORMATION ====================

你好,David,

我不太确定,但我觉得问题出在这里。

更新 Light Logos 失败
about.json 包含无效值:最大 Discourse 版本无效

你的问题似乎出在 Light Logos 主题组件上。

谢谢 Jay,我发现 TC 现已弃用,删除它后问题就解决了。我没想到一个 TC 竟会引发这样的问题!是时候检查一下那些遗留的旧 TC 了……

您可能需要检查站点设置,并填写 logo dark 设置系列,这正是该主题组件被弃用的原因!

所以是这一个吗?还是有一系列这样的主题组件?

我在另一个站点也遇到了同样的问题……

没错,就是那个Jay,很高兴不是我一个人这么觉得!