Discourse 更新问题

在最近的 Discourse 更新后,我遇到了一个问题。
现在我正在通过 SSH 进行重建,但显示了一个错误

root@ask:~# cd /var/discourse
root@ask:/var/discourse# ./launcher rebuild app
确保 launcher 是最新的
获取 origin
Launcher 已是最新
停止旧容器
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
已是最新。
I, [2021-03-07T19:01:46.804412 #1]  INFO -- : 正在加载 --stdin
I, [2021-03-07T19:01:46.811191 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-03-07T19:01:46.873177 #1]  INFO -- : 正在生成 locale(这可能需要一段时间)...
生成完成。

I, [2021-03-07T19:01:46.873789 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-03-07T19:01:46.880584 #1]  INFO -- :
I, [2021-03-07T19:01:46.882294 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-03-07T19:01:46.885595 #1]  INFO -- :
I, [2021-03-07T19:01:46.886055 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-03-07T19:01:46.889185 #1]  INFO -- :
I, [2021-03-07T19:01:46.889627 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-03-07T19:01:46.892766 #1]  INFO -- :
I, [2021-03-07T19:01:46.893159 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-03-07T19:01:46.896077 #1]  INFO -- :
I, [2021-03-07T19:01:46.896446 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/03/07 19:01:46 socat[26] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-03-07T19:01:46.911843 #1]  INFO -- :
I, [2021-03-07T19:01:46.912199 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-03-07T19:01:46.914895 #1]  INFO -- :
I, [2021-03-07T19:01:46.915185 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-03-07T19:01:46.917474 #1]  INFO -- :
I, [2021-03-07T19:01:46.917794 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-07T19:01:46.919863 #1]  INFO -- :
I, [2021-03-07T19:01:46.920258 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-07T19:01:46.922318 #1]  INFO -- :
I, [2021-03-07T19:01:46.928339 #1]  INFO -- : 文件 > /etc/service/postgres/run  chmod: +x  chown:
I, [2021-03-07T19:01:46.932704 #1]  INFO -- : 文件 > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2021-03-07T19:01:46.937149 #1]  INFO -- : 文件 > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2021-03-07T19:01:46.941034 #1]  INFO -- : 文件 > /root/upgrade_postgres  chmod: +x  chown:
I, [2021-03-07T19:01:46.941515 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-03-07T19:01:47.390618 #1]  INFO -- :
I, [2021-03-07T19:01:47.390903 #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-03-07T19:01:47.392870 #1]  INFO -- :
I, [2021-03-07T19:01:47.393111 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-03-07T19:01:47.420176 #1]  INFO -- :
I, [2021-03-07T19:01:47.420847 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-03-07T19:01:47.423310 #1]  INFO -- :
I, [2021-03-07T19:01:47.423742 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-03-07T19:01:47.429231 #1]  INFO -- :
I, [2021-03-07T19:01:47.429613 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-03-07T19:01:47.431756 #1]  INFO -- :
I, [2021-03-07T19:01:47.433336 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 data_directory = '/var/lib/postgresql/13/main' 替换为 data_directory = '/shared/postgres_data'
I, [2021-03-07T19:01:47.434180 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?listen_addresses *=.*) 替换为 listen_addresses = '*'
I, [2021-03-07T19:01:47.434730 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?synchronous_commit *=.*) 替换为 synchronous_commit = $db_synchronous_commit
I, [2021-03-07T19:01:47.435270 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?shared_buffers *=.*) 替换为 shared_buffers = $db_shared_buffers
I, [2021-03-07T19:01:47.435882 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?work_mem *=.*) 替换为 work_mem = $db_work_mem
I, [2021-03-07T19:01:47.436443 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?default_text_search_config *=.*) 替换为 default_text_search_config = '$db_default_text_search_config'
I, [2021-03-07T19:01:47.436924 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-03-07T19:01:47.442259 #1]  INFO -- :
I, [2021-03-07T19:01:47.442831 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?checkpoint_segments *=.*) 替换为 checkpoint_segments = $db_checkpoint_segments
I, [2021-03-07T19:01:47.443339 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?logging_collector *=.*) 替换为 logging_collector = $db_logging_collector
I, [2021-03-07T19:01:47.443967 #1]  INFO -- : 将 /etc/postgresql/13/main/postgresql.conf 中的 (?-mix:#?log_min_duration_statement *=.*) 替换为 log_min_duration_statement = $db_log_min_duration_statement
I, [2021-03-07T19:01:47.444741 #1]  INFO -- : 将 /etc/postgresql/13/main/pg_hba.conf 中的 (?-mix:^#local +replication +postgres +peer$) 替换为 local replication postgres  peer
I, [2021-03-07T19:01:47.445306 #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-03-07T19:01:47.445849 #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-03-07T19:01:47.447151 #1]  INFO -- : > sleep 5
2021-03-07 19:01:47.551 UTC [49] LOG:  正在启动 PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1),在 x86_64-pc-linux-gnu 上,由 gcc (Debian 8.3.0-6) 8.3.0 编译,64 位
2021-03-07 19:01:47.552 UTC [49] LOG:  正在监听 IPv4 地址 "0.0.0.0",端口 5432
2021-03-07 19:01:47.552 UTC [49] LOG:  正在监听 IPv6 地址 "::",端口 5432
2021-03-07 19:01:47.554 UTC [49] LOG:  正在监听 Unix 套接字 "/var/run/postgresql/.s.PGSQL.5432"
2021-03-07 19:01:47.558 UTC [52] LOG:  数据库系统于 2021-03-07 19:01:38 UTC 关闭
2021-03-07 19:01:47.568 UTC [49] LOG:  数据库系统已准备就绪,可以接受连接
I, [2021-03-07T19:01:52.451213 #1]  INFO -- :
I, [2021-03-07T19:01:52.451456 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-03-07 19:01:52.555 UTC [62] postgres@postgres ERROR:  数据库 "discourse" 已存在
2021-03-07 19:01:52.555 UTC [62] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: 错误:数据库创建失败:ERROR:  数据库 "discourse" 已存在
I, [2021-03-07T19:01:52.559199 #1]  INFO -- :
I, [2021-03-07T19:01:52.559755 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-03-07 19:01:52.648 UTC [73] postgres@discourse ERROR:  角色 "discourse" 已存在
2021-03-07 19:01:52.648 UTC [73] postgres@discourse STATEMENT:  create user discourse;
ERROR:  角色 "discourse" 已存在
I, [2021-03-07T19:01:52.650793 #1]  INFO -- :
I, [2021-03-07T19:01:52.651183 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-03-07T19:01:52.713237 #1]  INFO -- : GRANT

I, [2021-03-07T19:01:52.713805 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-03-07T19:01:52.776028 #1]  INFO -- : ALTER SCHEMA

I, [2021-03-07T19:01:52.776543 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  扩展 "hstore" 已存在,跳过
I, [2021-03-07T19:01:52.851989 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:52.852364 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  扩展 "pg_trgm" 已存在,跳过
I, [2021-03-07T19:01:52.914121 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:52.914517 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  扩展 "hstore" 已存在,跳过
I, [2021-03-07T19:01:52.988768 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:52.989173 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  扩展 "pg_trgm" 已存在,跳过
I, [2021-03-07T19:01:53.056832 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:53.057869 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-03-07T19:01:53.062036 #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-03-07T19:01:53.152694 #1]  INFO -- : 文件 > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-03-07T19:01:53.156953 #1]  INFO -- : 文件 > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2021-03-07T19:01:53.157407 #1]  INFO -- : > echo postgres installed!
I, [2021-03-07T19:01:53.159830 #1]  INFO -- : postgres installed!

I, [2021-03-07T19:01:53.164187 #1]  INFO -- : 文件 > /etc/service/redis/run  chmod: +x  chown:
I, [2021-03-07T19:01:53.169101 #1]  INFO -- : 文件 > /etc/service/redis/log/run  chmod: +x  chown:
I, [2021-03-07T19:01:53.175214 #1]  INFO -- : 文件 > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2021-03-07T19:01:53.176964 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 daemonize yes 替换为
I, [2021-03-07T19:01:53.177903 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^pidfile.*$) 替换为
I, [2021-03-07T19:01:53.178890 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-03-07T19:01:53.181956 #1]  INFO -- :
I, [2021-03-07T19:01:53.182510 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^logfile.*$) 替换为 logfile ""
I, [2021-03-07T19:01:53.183103 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^bind .*$) 替换为
I, [2021-03-07T19:01:53.183725 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^dir .*$) 替换为 dir /shared/redis_data
I, [2021-03-07T19:01:53.184379 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^protected-mode yes) 替换为 protected-mode no
I, [2021-03-07T19:01:53.184926 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 # io-threads 4 替换为 io-threads $redis_io_threads
I, [2021-03-07T19:01:53.186025 #1]  INFO -- : > echo redis installed
I, [2021-03-07T19:01:53.188105 #1]  INFO -- : redis installed

I, [2021-03-07T19:01:53.188503 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-03-07T19:01:53.192936 #1]  INFO -- : logfile ""

I, [2021-03-07T19:01:53.193298 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-07T19:01:53.194538 #1]  INFO -- : > sleep 10
166:C 07 Mar 2021 19:01:53.211 # oO0OoO0OoO0Oo Redis 正在启动 oO0OoO0OoO0Oo
166:C 07 Mar 2021 19:01:53.211 # Redis 版本=6.0.10,位=64,commit=00000000,modified=0,pid=166,刚刚启动
166:C 07 Mar 2021 19:01:53.211 # 配置已加载
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 6.0.10 (00000000/0) 64 位
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     以独立模式运行
 |`-._`-...-` __...-.``-._|'` _.-'|     端口:6379
 |    `-._   `._    /     _.-'    |     PID:166
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

166:M 07 Mar 2021 19:01:53.213 # 警告:TCP backlog 设置为 511 无法强制执行,因为 /proc/sys/net/core/somaxconn 设置为较低值 128。
166:M 07 Mar 2021 19:01:53.213 # 服务器已初始化
166:M 07 Mar 2021 19:01:53.213 # 警告 overcommit_memory 设置为 0!在内存不足的情况下,后台保存可能会失败。要解决此问题,请将 'vm.overcommit_memory = 1' 添加到 /etc/sysctl.conf,然后重启或运行命令 'sysctl vm.overcommit_memory=1' 以使其生效。
166:M 07 Mar 2021 19:01:53.214 # 警告:您的内核中启用了透明大页面 (THP) 支持。这将导致 Redis 出现延迟和内存使用问题。要解决此问题,请以 root 身份运行命令 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled',并将其添加到 /etc/rc.local 中,以便在重启后保留设置。禁用 THP 后必须重启 Redis(设置为 'madvise' 或 'never')。
166:M 07 Mar 2021 19:01:53.214 * 正在加载由版本 6.0.9 生成的 RDB
166:M 07 Mar 2021 19:01:53.214 * RDB 年龄 17 秒
166:M 07 Mar 2021 19:01:53.214 * 创建时 RDB 内存使用量 127.79 Mb
166:M 07 Mar 2021 19:01:53.901 * 从磁盘加载数据库:0.687 秒
166:M 07 Mar 2021 19:01:53.902 * 准备接受连接
I, [2021-03-07T19:02:03.197895 #1]  INFO -- :
I, [2021-03-07T19:02:03.198127 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-03-07T19:02:03.203572 #1]  INFO -- : thpoff is installed!

I, [2021-03-07T19:02:03.203816 #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-03-07T19:02:03.359587 #1]  INFO -- :
I, [2021-03-07T19:02:03.360209 #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-03-07T19:02:03.450387 #1]  INFO -- :
I, [2021-03-07T19:02:03.451063 #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-03-07T19:02:03.541411 #1]  INFO -- :
I, [2021-03-07T19:02:03.542055 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-03-07T19:02:03.721237 #1]  INFO -- :
I, [2021-03-07T19:02:03.722027 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-03-07T19:02:03.725872 #1]  INFO -- :
I, [2021-03-07T19:02:03.728639 #1]  INFO -- : 文件 > /etc/cron.d/anacron  chmod:   chown:
I, [2021-03-07T19:02:03.736819 #1]  INFO -- : 文件 > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2021-03-07T19:02:03.741827 #1]  INFO -- : 文件 > /etc/service/unicorn/run  chmod: +x  chown:
I, [2021-03-07T19:02:03.746380 #1]  INFO -- : 文件 > /etc/service/nginx/run  chmod: +x  chown:
I, [2021-03-07T19:02:03.750847 #1]  INFO -- : 文件 > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2021-03-07T19:02:03.755124 #1]  INFO -- : 文件 > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2021-03-07T19:02:03.755565 #1]  INFO -- : 将 /etc/service/unicorn/run 中的 # postgres 替换为 sv start postgres || exit 1
I, [2021-03-07T19:02:03.755984 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-07T19:02:03.757829 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
194:C 07 Mar 2021 19:02:03.766 # oO0OoO0OoO0Oo Redis 正在启动 oO0OoO0OoO0Oo
194:C 07 Mar 2021 19:02:03.766 # Redis 版本=6.0.10,位=64,commit=00000000,modified=0,pid=194,刚刚启动
194:C 07 Mar 2021 19:02:03.767 # 配置已加载
194:M 07 Mar 2021 19:02:03.767 # 无法创建服务器 TCP 监听套接字 *:6379:bind:地址已在使用中
正在检出文件:100% (28489/28489),完成。
I, [2021-03-07T19:02:07.066827 #1]  INFO -- : HEAD 现在位于 c4ff6def UX: change emailLogin to info class when empty (#12105)

I, [2021-03-07T19:02:07.067341 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-03-07T19:02:07.191780 #1]  INFO -- :
I, [2021-03-07T19:02:07.192304 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-03-07T19:02:07.196257 #1]  INFO -- :
I, [2021-03-07T19:02:07.196561 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-03-07T19:02:07.200027 #1]  INFO -- :
I, [2021-03-07T19:02:07.200325 #1]  INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
来自 https://github.com/discourse/discourse
 * 分支              tests-passed -> FETCH_HEAD
 * [新分支]        tests-passed -> origin/tests-passed
I, [2021-03-07T19:02:09.050897 #1]  INFO -- :
I, [2021-03-07T19:02:09.051336 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
已切换到新分支 'tests-passed'
I, [2021-03-07T19:02:09.523576 #1]  INFO -- : 分支 'tests-passed' 已设置为跟踪 'origin' 的远程分支 'tests-passed'。

I, [2021-03-07T19:02:09.524146 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-03-07T19:02:09.531351 #1]  INFO -- :
I, [2021-03-07T19:02:09.531883 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-03-07T19:02:09.537775 #1]  INFO -- :
I, [2021-03-07T19:02:09.540186 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-03-07T19:02:09.544728 #1]  INFO -- :
I, [2021-03-07T19:02:09.546310 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-03-07T19:02:09.550688 #1]  INFO -- :
I, [2021-03-07T19:02:09.551706 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-03-07T19:02:09.561597 #1]  INFO -- :
I, [2021-03-07T19:02:09.561978 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-03-07T19:02:09.566860 #1]  INFO -- :
I, [2021-03-07T19:02:09.569191 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-03-07T19:02:09.575711 #1]  INFO -- :
I, [2021-03-07T19:02:09.576633 #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-03-07T19:02:09.585854 #1]  INFO -- :
I, [2021-03-07T19:02:09.586242 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-03-07T19:02:09.591468 #1]  INFO -- :
I, [2021-03-07T19:02:09.591834 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-03-07T19:02:09.596067 #1]  INFO -- :
I, [2021-03-07T19:02:09.596365 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-03-07T19:02:09.600994 #1]  INFO -- :
I, [2021-03-07T19:02:09.601287 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-03-07T19:02:09.605413 #1]  INFO -- :
I, [2021-03-07T19:02:09.605685 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-03-07T19:02:10.786306 #1]  INFO -- :
I, [2021-03-07T19:02:10.786933 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-03-07T19:02:10.792875 #1]  INFO -- :
I, [2021-03-07T19:02:10.793260 #1]  INFO -- : 将 /etc/service/unicorn/run 中的 # redis 替换为 sv start redis || exit 1
I, [2021-03-07T19:02:10.794101 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
正在克隆到 'docker_manager'...
I, [2021-03-07T19:02:11.564486 #1]  INFO -- :
I, [2021-03-07T19:02:11.565003 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-topic-group-button.git
正在克隆到 'discourse-topic-group-button'...
I, [2021-03-07T19:02:11.815980 #1]  INFO -- :
I, [2021-03-07T19:02:11.816469 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
正在克隆到 'discourse-solved'...
I, [2021-03-07T19:02:12.234976 #1]  INFO -- :
I, [2021-03-07T19:02:12.235540 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
正在克隆到 'discourse-cakeday'...
I, [2021-03-07T19:02:12.599037 #1]  INFO -- :
I, [2021-03-07T19:02:12.599566 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications.git
正在克隆到 'discourse-push-notifications'...
I, [2021-03-07T19:02:12.860682 #1]  INFO -- :
I, [2021-03-07T19:02:12.861181 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign.git
正在克隆到 'discourse-assign'...
I, [2021-03-07T19:02:13.266630 #1]  INFO -- :
I, [2021-03-07T19:02:13.267147 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-plugin-linkedin-auth.git
正在克隆到 'discourse-plugin-linkedin-auth'...
I, [2021-03-07T19:02:13.523816 #1]  INFO -- :
I, [2021-03-07T19:02:13.524372 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
正在克隆到 'discourse-adplugin'...
I, [2021-03-07T19:02:14.108507 #1]  INFO -- :
I, [2021-03-07T19:02:14.109078 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
正在克隆到 'discourse-data-explorer'...
I, [2021-03-07T19:02:14.497095 #1]  INFO -- :
I, [2021-03-07T19:02:14.497618 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
正在克隆到 'discourse-whos-online'...
I, [2021-03-07T19:02:14.777011 #1]  INFO -- :
I, [2021-03-07T19:02:14.777522 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-sitemap.git
正在克隆到 'discourse-sitemap'...
I, [2021-03-07T19:02:15.062601 #1]  INFO -- :
I, [2021-03-07T19:02:15.063251 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
正在克隆到 'discourse-chat-integration'...
I, [2021-03-07T19:02:15.470437 #1]  INFO -- :
I, [2021-03-07T19:02:15.471095 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-03-07T19:02:15.477082 #1]  INFO -- :
I, [2021-03-07T19:02:15.477580 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-03-07T19:02:15.480189 #1]  INFO -- :
I, [2021-03-07T19:02:15.480571 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-03-07T19:02:15.482903 #1]  INFO -- :
I, [2021-03-07T19:02:15.483660 #1]  INFO -- : 将 /etc/nginx/nginx.conf 中的 pid /run/nginx.pid; 替换为 daemon off;
I, [2021-03-07T19:02:15.484212 #1]  INFO -- : 将 /etc/nginx/conf.d/discourse.conf 中的 (?m-ix:upstream[^\}]+\}) 替换为 upstream discourse { server 127.0.0.1:3000; }
I, [2021-03-07T19:02:15.484669 #1]  INFO -- : 将 /etc/nginx/conf.d/discourse.conf 中的 (?-mix:server_name.+$) 替换为 server_name _ ;
I, [2021-03-07T19:02:15.485102 #1]  INFO -- : 将 /etc/nginx/conf.d/discourse.conf 中的 (?-mix:client_max_body_size.+$) 替换为 client_max_body_size $upload_size ;
I, [2021-03-07T19:02:15.485495 #1]  INFO -- : > echo "done configuring web"
I, [2021-03-07T19:02:15.487179 #1]  INFO -- : done configuring web

I, [2021-03-07T19:02:15.487599 #1]  INFO -- : > cd /var/www/discourse && gem update bundler
I, [2021-03-07T19:02:22.175560 #1]  INFO -- : 正在更新已安装的 gems
正在更新 bundler
成功安装 bundler-2.2.13
已更新的 gems:bundler

I, [2021-03-07T19:02:22.176100 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-03-07T19:02:24.177096 #1]  INFO -- :
I, [2021-03-07T19:02:24.177877 #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-03-07T19:02:42.800025 #1]  INFO -- : 正在使用 bundler 2.2.13 运行 `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"`
已冻结,使用 lockfile 中的解析结果
Bundler::PathError: 路径 `/var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6` 不存在。
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/path.rb:207:in `load_spec_files'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/git.rb:203:in `load_spec_files'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/path.rb:105:in `local_specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/git.rb:170:in `specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/lazy_specification.rb:72:in `__materialize__'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/spec_set.rb:85:in `block in materialize'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/spec_set.rb:82:in `map!'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/spec_set.rb:82:in `materialize'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/definition.rb:199:in `missing_specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/definition.rb:204:in `missing_specs?'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:288:in `resolve_if_needed'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:83:in `block in run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/process_lock.rb:12:in `block in lock'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/process_lock.rb:9:in `open'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/process_lock.rb:9:in `lock'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:72:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:24:in `install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli/install.rb:64:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:259:in `block in install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/settings.rb:115:in `temporary'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:258:in `install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:30:in `dispatch'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:24:in `start'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/exe/bundle:49:in `block in <top (required)>'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/exe/bundle:37:in `<top (required)>'
  /usr/local/bin/bundle:23:in `load'
  /usr/local/bin/bundle:23:in `<main>'
定义中缺少依赖项,无法在本地解析和实例化(https://github.com/discourse/mail.git 尚未检出。请先运行 `bundle install`。)
已冻结,使用 lockfile 中的解析结果
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 元数据
正在查找 gems ["rake", "concurrent-ruby", "i18n", "minitest", "thread_safe", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "mail", "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", "exifr", "fspath", "image_size", "in_threads", "progress", "discourse_image_optim", "email_reply_trimmer", "excon", "faraday-net_http", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "gc_tracer", "guess_html_encoding", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "json", "jwt", "kgio", "libv8", "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", "sanitize", "onebox", "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", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"]
HTTP GET https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/aws-sigv4
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/discourse-fonts
HTTP GET https://index.rubygems.org/info/fastimage
HTTP GET https://index.rubygems.org/info/ffi
HTTP GET https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/nio4r
HTTP GET https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/omniauth
HTTP GET https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/ffi
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sigv4
HTTP 206 Partial Content https://index.rubygems.org/info/nio4r
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/logster
HTTP 206 Partial Content https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-fonts
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
正在查找 gems ["functional-ruby", "ref", "atomic", "hoe", "weakling", "mini_portile", "mini_portile2", "pkg-config", "erubis", "rails-deprecated_sanitizer", "rack-mount", "rack-cache", "journey", "activemodel-globalid", "mime-types", "treetop", "tlsmail", "bcrypt-ruby", "arel", "activerecord-deprecated_finders", "rspec", "json_pure", "handlebars-source", "ember-template-compiler-source", "snappy", "columnize", "debugger-linecache", "slop", "rb-readline", "rdoc", "hike", "ruby_parser", "rack-ssl", "rb-appscript", "xattr", "ffi-xattr", "rake-compiler", "memcache-client", "termios", "text-format", "jsonapi", "case_transform", "jsonapi-renderer", "eventmachine", "thin", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "ruby-hmac", "faraday-middleware", "httpauth", "bigdecimal", "rails", "hpricot", "pry-doc", "escape_utils", "listen", "trollop", "base32", "bundler", "stud", "win32console", "yard", "spoon", "therubyracer", "moneta", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "jamespath", "http-2"]
HTTP GET https://index.rubygems.org/info/bundler
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
正在查找 gems ["abstract", "multimap", "mime-types-data", "bcrypt", "rspec-core", "rspec-expectations", "rspec-mocks", "snappy-jars", "ruby_core_source", "debugger-ruby_core_source", "ParseTree", "sexp_processor", "ZenTest", "RubyInline", "text-hyphen", "jsonapi-parser", "daemons", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "sass-listen", "mongrel", "backports", "mustermann", "temple", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "curses", "metriks", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "restclient", "rest-client", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "rubyforge", "gemcutter", "facets", "polyglot", "spruz", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "sprockets-helpers", "rack-openid", "ruby-openid-apps-discovery"]
HTTP GET https://index.rubygems.org/info/mime-types-data
HTTP 206 Partial Content https://index.rubygems.org/info/mime-types-data
正在查找 gems ["diff-lcs", "rspec-support", "archive-tar-minitar", "SexpProcessor", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "tool", "rails-observers", "activemodel-serializers-xml", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "marcel", "mimemagic", "win32-api", "netrc", "http-cookie", "http-accept", "macaddr", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "coveralls", "rubocop", "ruby-openid", "hitimes", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "blankslate", "net-scp", "log4r", "celluloid-gems", "dotenv-deployment"]
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
正在查找 gems ["minitar", "minitar-cli", "coffee-script", "hiredis", "websocket-extensions", "test-unit", "domain_name", "sqlite3", "systemu", "ffi-win32-extensions", "ruby-yadis", "configuration", "mkrf", "net-ssh", "libxml-ruby", "roauth", "colorize", "simplecov", "term-ansicolor", "tins", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast", "regexp_parser"]
HTTP GET https://index.rubygems.org/info/psych
HTTP GET https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/psych
正在查找 gems ["powerbar", "coffee-script-source", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "sync", "ast", "strscan", "power_assert", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "jar-dependencies"]
正在查找 gems ["ansi", "pattern-match", "ruby-maven"]
正在查找 gems ["maven-tools", "ruby-maven-libs"]
正在查找 gems ["virtus"]
正在查找 gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
正在查找 gems ["ice_nine", "adamantium"]
正在查找 gems ["memoizable"]
正在获取 https://github.com/discourse/mail.git
使用 rake 13.0.3
0:  rake (13.0.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.3.gemspec
使用 concurrent-ruby 1.1.8
0:  concurrent-ruby (1.1.8) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.8.gemspec
正在获取 minitest 5.14.4
使用 thread_safe 0.3.6
3:  thread_safe (0.3.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thread_safe-0.3.6.gemspec
使用 zeitwerk 2.4.2
3:  zeitwerk (2.4.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.4.2.gemspec
使用 builder 3.2.4
3:  builder (3.2.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/builder-3.2.4.gemspec
使用 erubi 1.10.0
3:  erubi (1.10.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/erubi-1.10.0.gemspec
使用 racc 1.5.2
3:  racc (1.5.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/racc-1.5.2.gemspec
使用 crass 1.0.6
3:  crass (1.0.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/crass-1.0.6.gemspec
使用 rack 2.2.3
3:  rack (2.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-2.2.3.gemspec
使用 mini_mime 1.0.2
3:  mini_mime (1.0.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_mime-1.0.2.gemspec
使用 public_suffix 4.0.6
3:  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
使用 aws-partitions 1.390.0
1:  aws-partitions (1.390.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-partitions-1.390.0.gemspec
使用 jmespath 1.4.0
1:  jmespath (1.4.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jmespath-1.4.0.gemspec
使用 ember-source 2.18.2
1:  ember-source (2.18.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-source-2.18.2.gemspec
使用 execjs 2.7.0
1:  execjs (2.7.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/execjs-2.7.0.gemspec
使用 msgpack 1.4.2
1:  msgpack (1.4.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
使用 bundler 2.2.13
1:  bundler (2.2.13) 来自 /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source
使用 byebug 11.1.3
1:  byebug (11.1.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/byebug-11.1.3.gemspec
使用 cbor 0.5.9.6
1:  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
1:  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
1:  coderay (1.1.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/coderay-1.1.3.gemspec
使用 colored2 3.1.2
1:  colored2 (3.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/colored2-3.1.2.gemspec
使用 connection_pool 2.2.3
1:  connection_pool (2.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/connection_pool-2.2.3.gemspec
使用 openssl 2.2.0
1:  openssl (2.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-2.2.0.gemspec
使用 cppjieba_rb 0.3.3
1:  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
1:  diffy (3.4.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/diffy-3.4.0.gemspec
使用 method_source 1.0.0
1:  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
1:  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.2
1:  discourse-ember-source (3.12.2.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-source-3.12.2.2.gemspec
正在获取 discourse-fonts 0.0.7
使用 exifr 1.3.9
2:  exifr (1.3.9) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/exifr-1.3.9.gemspec
使用 fspath 3.1.2
2:  fspath (3.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fspath-3.1.2.gemspec
使用 image_size 1.5.0
2:  image_size (1.5.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_size-1.5.0.gemspec
使用 in_threads 1.5.4
2:  in_threads (1.5.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/in_threads-1.5.4.gemspec
使用 progress 3.5.2
2:  progress (3.5.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/progress-3.5.2.gemspec
使用 email_reply_trimmer 0.1.13
2:  email_reply_trimmer (0.1.13) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/email_reply_trimmer-0.1.13.gemspec
使用 excon 0.79.0
2:  excon (0.79.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/excon-0.79.0.gemspec
使用 faraday-net_http 1.0.1
2:  faraday-net_http (1.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-net_http-1.0.1.gemspec
使用 multipart-post 2.1.1
2:  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
2:  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
2:  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
2:  fast_xs (0.8.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_xs-0.8.0.gemspec
正在获取 fastimage 2.2.3
正在安装 fastimage 2.2.3
正在安装 aws-eventstream 1.1.1
正在安装 minitest 5.14.4
3:  aws-eventstream (1.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-eventstream-1.1.1.gemspec
使用 ffi 1.14.2
3:  ffi (1.14.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.14.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
使用 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
使用 json 2.5.1
3:  json (2.5.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json-2.5.1.gemspec
使用 jwt 2.2.2
3:  jwt (2.2.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jwt-2.2.2.gemspec
使用 kgio 2.11.3
3:  kgio (2.11.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/kgio-2.11.3.gemspec
使用 libv8 8.4.255.0 (x86_64-linux)
3:  libv8 (8.4.255.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/libv8-8.4.255.0-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
2:  fastimage (2.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fastimage-2.2.3.gemspec
使用 lru_redux 1.1.0
2:  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
2:  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
2:  maxminddb (0.1.22) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/maxminddb-0.1.22.gemspec
使用 memory_profiler 1.0.0
2:  memory_profiler (1.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/memory_profiler-1.0.0.gemspec
使用 redis 4.2.5
2:  redis (4.2.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-4.2.5.gemspec
使用 mini_sql 1.0.1
2:  mini_sql (1.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_sql-1.0.1.gemspec
使用 multi_json 1.15.0
2:  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
2:  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
2:  mustache (1.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mustache-1.1.1.gemspec
正在获取 nio4r 2.5.7
正在安装 nio4r 2.5.7(带有原生扩展)
0:  minitest (5.14.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/minitest-5.14.4.gemspec
使用 oauth 0.5.5
0:  oauth (0.5.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth-0.5.5.gemspec
使用 oj 3.11.2
0:  oj (3.11.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.2.gemspec
使用 optimist 3.0.1
0:  optimist (3.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/optimist-3.0.1.gemspec
使用 pg 1.2.3
0:  pg (1.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pg-1.2.3.gemspec
使用 r2 0.2.7
0:  r2 (0.2.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/r2-0.2.7.gemspec
使用 raindrops 0.19.1
0:  raindrops (0.19.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/raindrops-0.19.1.gemspec
使用 rchardet 1.8.0
0:  rchardet (1.8.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rchardet-1.8.0.gemspec
使用 rinku 2.0.6
0:  rinku (2.0.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rinku-2.0.6.gemspec
使用 rotp 6.2.0
0:  rotp (6.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rotp-6.2.0.gemspec
使用 rqrcode_core 0.2.0
0:  rqrcode_core (0.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode_core-0.2.0.gemspec
使用 rtlit 0.0.5
0:  rtlit (0.0.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rtlit-0.0.5.gemspec
使用 rubyzip 2.3.0
0:  rubyzip (2.3.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rubyzip-2.3.0.gemspec
使用 tilt 2.0.10
0:  tilt (2.0.10) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tilt-2.0.10.gemspec
使用 sshkey 2.0.0
0:  sshkey (2.0.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sshkey-2.0.0.gemspec
使用 stackprof 0.2.16
0:  stackprof (0.2.16) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/stackprof-0.2.16.gemspec
使用 unf_ext 0.0.7.7
0:  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
0:  xorcist (1.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/xorcist-1.1.2.gemspec
使用 i18n 1.8.9
0:  i18n (1.8.9) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.9.gemspec
使用 tzinfo 1.2.9
0:  tzinfo (1.2.9) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-1.2.9.gemspec
使用 nokogiri 1.11.1 (x86_64-linux)
0:  nokogiri (1.11.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.1-x86_64-linux.gemspec
使用 rack-test 1.1.0
0:  rack-test (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-test-1.1.0.gemspec
使用 mail 2.8.0.edge 来自 https://github.com/discourse/mail.git (位于 master@5b700fc)
0:  mail (2.8.0.edge) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
使用 addressable 2.7.0
0:  addressable (2.7.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/addressable-2.7.0.gemspec
使用 barber 0.12.2
0:  barber (0.12.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/barber-0.12.2.gemspec
使用 bootsnap 1.7.2
0:  bootsnap (1.7.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.2.gemspec
使用 openssl-signature_algorithm 1.1.1
0:  openssl-signature_algorithm (1.1.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
使用 ember-data-source 3.0.2
0:  ember-data-source (3.0.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-data-source-3.0.2.gemspec
使用 sprockets 3.7.2
0:  sprockets (3.7.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
使用 discourse_image_optim 0.26.2
0:  discourse_image_optim (0.26.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse_image_optim-0.26.2.gemspec
使用 faraday 1.3.0
0:  faraday (1.3.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.3.0.gemspec
使用 request_store 1.5.0
0:  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.4
0:  message_bus (3.3.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.4.gemspec
使用 pry 0.13.1
0:  pry (0.13.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
使用 rack-mini-profiler 2.3.1
0:  rack-mini-profiler (2.3.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-mini-profiler-2.3.1.gemspec
使用 rack-protection 2.1.0
0:  rack-protection (2.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-protection-2.1.0.gemspec
使用 uglifier 4.2.0
0:  uglifier (4.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uglifier-4.2.0.gemspec
使用 aws-sigv4 1.2.2
0:  aws-sigv4 (1.2.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sigv4-1.2.2.gemspec
使用 logstash-logger 0.26.1
0:  logstash-logger (0.26.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-logger-0.26.1.gemspec
使用 mini_racer 0.3.1
0:  mini_racer (0.3.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.3.1.gemspec
使用 sidekiq 6.1.3
0:  sidekiq (6.1.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.1.3.gemspec
使用 mini_suffix 0.3.2
0:  mini_suffix (0.3.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
使用 omniauth 1.9.1
0:  omniauth (1.9.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
使用 redis-namespace 1.8.1
0:  redis-namespace (1.8.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
使用 sassc 2.0.1
0:  sassc (2.0.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
使用 webpush 1.1.0
0:  webpush (1.1.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
使用 rbtrace 0.4.14
0:  rbtrace (0.4.14) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
使用 rqrcode 1.2.0
0:  rqrcode (1.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-1.2.0.gemspec
使用 unf 0.1.4
0:  unf (0.1.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec
使用 unicorn 5.8.0
0:  unicorn (5.8.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-5.8.0.gemspec
正在获取 activesupport 6.0.3.5
正在安装 logster 2.9.6
正在安装 activesupport 6.0.3.5
正在构建原生扩展。这可能需要一段时间...
3:  logster (2.9.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logster-2.9.6.gemspec
使用 loofah 2.9.0
3:  loofah (2.9.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.9.0.gemspec
使用 nokogumbo 2.0.4
3:  nokogumbo (2.0.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogumbo-2.0.4.gemspec
使用 ruby-readability 0.7.0
3:  ruby-readability (0.7.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
使用 cose 1.2.0
3:  cose (1.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
使用 css_parser 1.9.0
3:  css_parser (1.9.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
使用 ember-handlebars-template 0.8.0
3:  ember-handlebars-template (0.8.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
使用 oauth2 1.4.4
3:  oauth2 (1.4.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.4.gemspec
使用 aws-sdk-core 3.109.2
3:  aws-sdk-core (3.109.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.109.2.gemspec
使用 mini_scheduler 0.13.0
3:  mini_scheduler (0.13.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
使用 omniauth-oauth 1.2.0
3:  omniauth-oauth (1.2.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
使用 pry-byebug 3.9.0
3:  pry-byebug (3.9.0) 来自 /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) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
使用 rails-html-sanitizer 1.3.0
3:  rails-html-sanitizer (1.3.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-html-sanitizer-1.3.0.gemspec
使用 aws-sdk-kms 1.39.0
3:  aws-sdk-kms (1.39.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.39.0.gemspec
使用 aws-sdk-sns 1.35.0
3:  aws-sdk-sns (1.35.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.35.0.gemspec
使用 omniauth-oauth2 1.7.1
3:  omniauth-oauth2 (1.7.1) 来自 /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) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
使用 sanitize 5.2.3
3:  sanitize (5.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
使用 aws-sdk-s3 1.83.2
3:  aws-sdk-s3 (1.83.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.83.2.gemspec
使用 omniauth-facebook 8.0.0
3:  omniauth-facebook (8.0.0) 来自 /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) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-github-1.4.0.gemspec
使用 omniauth-google-oauth2 0.8.1
3:  omniauth-google-oauth2 (0.8.1) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.1.gemspec
正在获取 onebox 2.2.6
正在安装 onebox 2.2.6
正在安装 discourse-fonts 0.0.7
0:  activesupport (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.0.3.5.gemspec
使用 rails-dom-testing 2.0.3
0:  rails-dom-testing (2.0.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-dom-testing-2.0.3.gemspec
使用 globalid 0.4.2
0:  globalid (0.4.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
正在获取 activemodel 6.0.3.5
正在安装 activemodel 6.0.3.5
3:  onebox (2.2.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/onebox-2.2.6.gemspec
正在获取 actionview 6.0.3.5
正在安装 actionview 6.0.3.5
0:  activemodel (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.0.3.5.gemspec
正在获取 activejob 6.0.3.5
正在安装 activejob 6.0.3.5
0:  activejob (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.0.3.5.gemspec
使用 active_model_serializers 0.8.4
0:  active_model_serializers (0.8.4) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/active_model_serializers-0.8.4.gemspec
正在获取 activerecord 6.0.3.5
3:  actionview (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.0.3.5.gemspec
正在获取 actionpack 6.0.3.5
正在安装 activerecord 6.0.3.5
正在安装 actionpack 6.0.3.5
3:  actionpack (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.0.3.5.gemspec
使用 actionview_precompiler 0.2.3
3:  actionview_precompiler (0.2.3) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
正在获取 actionmailer 6.0.3.5
正在安装 actionmailer 6.0.3.5
3:  actionmailer (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.0.3.5.gemspec
正在获取 railties 6.0.3.5
正在安装 railties 6.0.3.5
0:  activerecord (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.0.3.5.gemspec
使用 sprockets-rails 3.2.2
0:  sprockets-rails (3.2.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
使用 seed-fu 2.3.9
0:  seed-fu (2.3.9) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
1:  discourse-fonts (0.0.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-fonts-0.0.7.gemspec
3:  railties (6.0.3.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.0.3.5.gemspec
使用 jquery-rails 4.4.0
0:  jquery-rails (4.4.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
使用 lograge 0.11.2
0:  lograge (0.11.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
使用 rails_failover 0.6.5
0:  rails_failover (0.6.5) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.6.5.gemspec
使用 rails_multisite 2.5.0
0:  rails_multisite (2.5.0) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-2.5.0.gemspec
使用 sassc-rails 2.1.2
0:  sassc-rails (2.1.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
使用 discourse-ember-rails 0.18.6
0:  discourse-ember-rails (0.18.6) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
2:  nio4r (2.5.7) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nio4r-2.5.7.gemspec
正在获取 puma 5.2.2
正在安装 puma 5.2.2(带有原生扩展)
正在构建原生扩展。这可能需要一段时间...
1:  puma (5.2.2) 来自 /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.2.2.gemspec
捆绑完成!124 个 Gemfile 依赖项,162 个 gems 已安装。
test 和 development 组中的 gems 未安装。
捆绑的 gems 已安装到 `./vendor/bundle`

I, [2021-03-07T19:02:42.802645 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
I, [2021-03-07T19:02:48.138143 #1]  INFO -- : gem install omniauth-linkedin-oauth2 -v 1.0.0 -i /var/www/discourse/plugins/discourse-plugin-linkedin-auth/gems/2.7.2 --no-document --ignore-dependencies --no-user-install
成功安装 omniauth-linkedin-oauth2-1.0.0
1 个 gem 已安装
discourse-sitemap 已是最新兼容版本
discourse-whos-online 已是最新兼容版本
discourse-topic-group-button 已是最新兼容版本
discourse-chat-integration 已是最新兼容版本
discourse-plugin-linkedin-auth 已是最新兼容版本
discourse-adplugin 已是最新兼容版本
docker_manager 已是最新兼容版本
discourse-data-explorer 已是最新兼容版本
discourse-cakeday 已是最新兼容版本
discourse-push-notifications 已是最新兼容版本
discourse-solved 已是最新兼容版本
discourse-assign 已是最新兼容版本

我的更新过程中出现了一个错误

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

请帮我修复它。

论坛显示错误 521

我会尝试再次通过 SSH 从命令行进行更新,看看是否有帮助:

cd /var/discourse
./launcher rebuild app

请回复尝试此操作时出现的日志信息。

出现相同的错误
请帮忙,论坛已无法访问

如果您需要紧急帮助,建议向 literatecomputing.com 的 Jay 付费寻求支持。

看起来您遇到了重复键值错误:

I, [2021-03-07T19:02:48.138872 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2021-03-07 19:02:53.906 UTC [692] discourse@discourse ERROR:  duplicate key value violates unique constraint "index_users_on_username_lower"
2021-03-07 19:02:53.906 UTC [692] discourse@discourse DETAIL:  Key (username_lower)=(ravi_kumar) already exists.
2021-03-07 19:02:53.906 UTC [692] discourse@discourse STATEMENT:  UPDATE users

如果您搜索该错误中的唯一关键词,可以找到一些相关讨论。

看起来你的 users 表出现了数据损坏……ravi_kumar 这条记录似乎重复出现了。

修复起来非常复杂,建议你寻求专业帮助。你需要启动 PostgreSQL 服务器并删除那条重复的记录。

是的,为了让你了解其中涉及的内容,可以参考这个类似问题和解决方案的示例,它针对的是不同的表Failed upgrade: UniqueViolation: duplicate key value violates unique constraint "data_explorer_queries_pkey"

我在哪里可以运行以下命令?
SELECT username_lower, count() from users GROUP by username_lower HAVING count() > 1;
它显示以下错误:
bash: 语法错误,接近意外的标记 `(’

您是否按照我分享的链接中的相同流程操作,具体是:

执行以下命令后没有任何反应,有人能帮忙解决吗?

root@ask:~# cd /var/discourse
root@ask:/var/discourse# ./launcher enter app
root@ask-app:/var/www/discourse# su postgres -c ‘psql discourse’
psql (13.1 (Debian 13.1-1.pgdg100+1))
输入 “help” 获取帮助。

discourse=#

这仅仅是将你登录到了数据库命令行界面。现在你需要探索并修复该问题。

您能告诉我下一步是什么吗?

你需要在 users 表上运行一个查询,按该值进行分组,并返回计数大于 1 的结果,然后识别受影响的行并删除最合适的一条。

上面的查询看起来不错。你还没有尝试过吗?

SELECT username_lower, count(*) from users GROUP by username_lower HAVING count(*) > 1;

是的,我已经运行了该命令,但出现以下错误:
bash: 语法错误:意外的令牌“(”

我需要在 root 级别运行它,还是在

/var/discourse 目录下运行?

那你为什么不排查一下错误呢?我已经在上面的命令中更新并去掉了两个空格,或许这样就能解决问题。

请多花点心思。

如果遇到错误提示,试着理解它在告诉你什么,这通常会为你如何修复问题提供重要线索。

你不需要离开 psql 命令行界面。它显示的应该不是路径位置,我认为是数据库名称。

你需要在 psql 命令行界面中运行它,也就是你当前所在的位置。这不是一个 bash 命令,所以尝试在普通 bash 命令行中输入它毫无意义。

您能告诉我完整的命令序列吗?

你接下来要做的步骤如下:

  1. 导航到 Discourse 根目录(cd ...
  2. 进入容器(./launcher ...
  3. 进入数据库命令行界面(su postgres ...
  4. 运行数据库查询(SELECT ... 以及其他语句

你已经拥有了所有这些内容。