由于 discourse-github 插件,升级期间重建失败

你好

我正在尝试通过命令行升级 Discourse,但重建过程失败了。我使用 launcher start app 命令恢复了网站,现在需要调试这个问题。

我刚刚在 app.yml 中添加了几个插件(discourse-solveddiscourse-github),这可能是问题的原因……但它们是标准插件,所以……

这似乎是相关的错误信息:

I, [2020-02-04T11:59:19.741293 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
Gem::MissingSpecError: Could not find 'addressable' (>= 2.3.5) among 254 total gem(s)
Checked in 'GEM_PATH=/var/www/discourse/vendor/bundle/ruby/2.6.0', execute `gem env` for more information
/var/www/discourse/lib/plugin_gem.rb:20:in `load'
/var/www/discourse/lib/plugin/instance.rb:570:in `gem'
/var/www/discourse/plugins/discourse-github/plugin.rb:9:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:496:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:496:in `activate!'
lib/discourse.rb:172:in `block in activate_plugins!'
lib/discourse.rb:169:in `each'
lib/discourse.rb:169:in `activate_plugins!'
/var/www/discourse/config/application.rb:261:in `<class:Application>'
/var/www/discourse/config/application.rb:58:in `<module:Discourse>'
/var/www/discourse/config/application.rb:57:in `<top (required)>'
/var/www/discourse/Rakefile:7:in `require'
/var/www/discourse/Rakefile:7:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(运行带有 --trace 的任务以查看完整堆栈跟踪)
我的完整重建日志,除了“git pull”部分
root@discourse:/docker-app/discourse# ./launcher rebuild app
确保启动器已更新
获取 origin
启动器已是最新
停止旧容器
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
已是最新。
I, [2020-02-04T11:56:09.204750 #1]  INFO -- : 正在加载 --stdin
I, [2020-02-04T11:56:09.211557 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2020-02-04T11:56:09.250932 #1]  INFO -- : 正在生成 locale(这可能需要一段时间)...
生成完成。

I, [2020-02-04T11:56:09.251275 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2020-02-04T11:56:09.257720 #1]  INFO -- :
I, [2020-02-04T11:56:09.258997 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2020-02-04T11:56:09.262817 #1]  INFO -- :
I, [2020-02-04T11:56:09.263417 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2020-02-04T11:56:09.266405 #1]  INFO -- :
I, [2020-02-04T11:56:09.266883 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2020-02-04T11:56:09.269595 #1]  INFO -- :
I, [2020-02-04T11:56:09.270088 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2020-02-04T11:56:09.272944 #1]  INFO -- :
I, [2020-02-04T11:56:09.273461 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2020/02/04 11:56:09 socat[26] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2020-02-04T11:56:09.284561 #1]  INFO -- :
I, [2020-02-04T11:56:09.285078 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2020-02-04T11:56:09.289363 #1]  INFO -- :
I, [2020-02-04T11:56:09.289783 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2020-02-04T11:56:09.293578 #1]  INFO -- :
I, [2020-02-04T11:56:09.294025 #1]  INFO -- : > mkdir -p /shared/postgres_run/10-main.pg_stat_tmp
I, [2020-02-04T11:56:09.297494 #1]  INFO -- :
I, [2020-02-04T11:56:09.298033 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/10-main.pg_stat_tmp
I, [2020-02-04T11:56:09.301909 #1]  INFO -- :
I, [2020-02-04T11:56:09.308737 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2020-02-04T11:56:09.315669 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2020-02-04T11:56:09.322199 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2020-02-04T11:56:09.327902 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2020-02-04T11:56:09.328472 #1]  INFO -- : > chown -R root /var/lib/postgresql/10/main
I, [2020-02-04T11:56:10.386858 #1]  INFO -- :
I, [2020-02-04T11:56:10.387601 #1]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/10/bin/initdb -D /shared/postgres_data || exit 0
I, [2020-02-04T11:56:10.390625 #1]  INFO -- :
I, [2020-02-04T11:56:10.390984 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2020-02-04T11:56:10.406223 #1]  INFO -- :
I, [2020-02-04T11:56:10.406943 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2020-02-04T11:56:10.410440 #1]  INFO -- :
I, [2020-02-04T11:56:10.410981 #1]  INFO -- : > /root/upgrade_postgres
I, [2020-02-04T11:56:10.416851 #1]  INFO -- :
I, [2020-02-04T11:56:10.417396 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2020-02-04T11:56:10.420105 #1]  INFO -- :
I, [2020-02-04T11:56:10.421103 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 data_directory = '/var/lib/postgresql/10/main' 替换为 data_directory = '/shared/postgres_data'
I, [2020-02-04T11:56:10.421807 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?listen_addresses *=.*) 替换为 listen_addresses = '*'
I, [2020-02-04T11:56:10.422328 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?synchronous_commit *=.*) 替换为 synchronous_commit = $db_synchronous_commit
I, [2020-02-04T11:56:10.422886 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?shared_buffers *=.*) 替换为 shared_buffers = $db_shared_buffers
I, [2020-02-04T11:56:10.423392 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?work_mem *=.*) 替换为 work_mem = $db_work_mem
I, [2020-02-04T11:56:10.423904 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?default_text_search_config *=.*) 替换为 default_text_search_config = '$db_default_text_search_config'
I, [2020-02-04T11:56:10.424380 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2020-02-04T11:56:10.428794 #1]  INFO -- :
I, [2020-02-04T11:56:10.429639 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?max_wal_senders *=.*) 替换为 max_wal_senders = $db_max_wal_senders
I, [2020-02-04T11:56:10.430301 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?wal_level *=.*) 替换为 wal_level = $db_wal_level
I, [2020-02-04T11:56:10.430930 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?checkpoint_segments *=.*) 替换为 checkpoint_segments = $db_checkpoint_segments
I, [2020-02-04T11:56:10.431444 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?logging_collector *=.*) 替换为 logging_collector = $db_logging_collector
I, [2020-02-04T11:56:10.432021 #1]  INFO -- : 将 /etc/postgresql/10/main/postgresql.conf 中的 (?-mix:#?log_min_duration_statement *=.*) 替换为 log_min_duration_statement = $db_log_min_duration_statement
I, [2020-02-04T11:56:10.432711 #1]  INFO -- : 将 /etc/postgresql/10/main/pg_hba.conf 中的 (?-mix:^#local +replication +postgres +peer$) 替换为 local replication postgres  peer
I, [2020-02-04T11:56:10.433196 #1]  INFO -- : 将 /etc/postgresql/10/main/pg_hba.conf 中的 (?-mix:^host.*all.*all.*127.*$) 替换为 host all all 0.0.0.0/0 md5
I, [2020-02-04T11:56:10.433619 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/10/bin/postmaster -D /etc/postgresql/10/main
I, [2020-02-04T11:56:10.436661 #1]  INFO -- : > sleep 5
2020-02-04 11:56:10.473 UTC [49] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2020-02-04 11:56:10.473 UTC [49] LOG:  listening on IPv6 address "::", port 5432
2020-02-04 11:56:10.474 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-02-04 11:56:10.499 UTC [52] LOG:  database system was shut down at 2020-02-04 11:55:54 UTC
2020-02-04 11:56:10.505 UTC [49] LOG:  database system is ready to accept connections
I, [2020-02-04T11:56:15.440013 #1]  INFO -- :
I, [2020-02-04T11:56:15.440576 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2020-02-04 11:56:15.516 UTC [62] postgres@postgres ERROR:  database "discourse" already exists
2020-02-04 11:56:15.516 UTC [62] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: database creation failed: ERROR:  database "discourse" already exists
I, [2020-02-04T11:56:15.519001 #1]  INFO -- :
I, [2020-02-04T11:56:15.519438 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2020-02-04 11:56:15.593 UTC [73] postgres@discourse ERROR:  role "discourse" already exists
2020-02-04 11:56:15.593 UTC [73] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2020-02-04T11:56:15.596667 #1]  INFO -- :
I, [2020-02-04T11:56:15.597220 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2020-02-04T11:56:15.675380 #1]  INFO -- : GRANT

I, [2020-02-04T11:56:15.675920 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2020-02-04T11:56:15.750300 #1]  INFO -- : ALTER SCHEMA

I, [2020-02-04T11:56:15.750863 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2020-02-04T11:56:15.829899 #1]  INFO -- : CREATE EXTENSION

I, [2020-02-04T11:56:15.830367 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2020-02-04T11:56:15.901531 #1]  INFO -- : CREATE EXTENSION

I, [2020-02-04T11:56:15.902073 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2020-02-04T11:56:15.975008 #1]  INFO -- : CREATE EXTENSION

I, [2020-02-04T11:56:15.975494 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2020-02-04T11:56:16.045642 #1]  INFO -- : CREATE EXTENSION

I, [2020-02-04T11:56:16.046150 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2020-02-04T11:56:16.049178 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2020-02-04T11:56:16.143460 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2020-02-04T11:56:16.147042 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2020-02-04T11:56:16.147206 #1]  INFO -- : > echo postgres installed!
I, [2020-02-04T11:56:16.149700 #1]  INFO -- : postgres installed!

I, [2020-02-04T11:56:16.155601 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2020-02-04T11:56:16.161508 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2020-02-04T11:56:16.167178 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2020-02-04T11:56:16.168187 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 daemonize yes 替换为
I, [2020-02-04T11:56:16.168958 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^pidfile.*$) 替换为
I, [2020-02-04T11:56:16.169595 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2020-02-04T11:56:16.173742 #1]  INFO -- :
I, [2020-02-04T11:56:16.174695 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^logfile.*$) 替换为 logfile ""
I, [2020-02-04T11:56:16.175612 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^bind .*$) 替换为
I, [2020-02-04T11:56:16.176359 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^dir .*$) 替换为 dir /shared/redis_data
I, [2020-02-04T11:56:16.177066 #1]  INFO -- : 将 /etc/redis/redis.conf 中的 (?-mix:^protected-mode yes) 替换为 protected-mode no
I, [2020-02-04T11:56:16.177612 #1]  INFO -- : > echo redis installed
I, [2020-02-04T11:56:16.180803 #1]  INFO -- : redis installed

I, [2020-02-04T11:56:16.181293 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2020-02-04T11:56:16.186899 #1]  INFO -- : logfile ""

I, [2020-02-04T11:56:16.187630 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2020-02-04T11:56:16.191295 #1]  INFO -- : > sleep 10
166:C 04 Feb 2020 11:56:16.199 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
166:C 04 Feb 2020 11:56:16.199 # Redis version=5.0.5, bits=64, commit=00000000, modified=0, pid=166, just started
166:C 04 Feb 2020 11:56:16.199 # Configuration loaded
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 5.0.5 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     以独立模式运行
 |`-._`-...-` __...-.``-._|'` _.-'|     端口: 6379
 |    `-._   `._    /     _.-'    |     PID: 166
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

166:M 04 Feb 2020 11:56:16.203 # 警告: 由于 /proc/sys/net/core/somaxconn 设置为较低值 128,无法强制实施 511 的 TCP 积压设置。
166:M 04 Feb 2020 11:56:16.203 # 服务器已初始化
166:M 04 Feb 2020 11:56:16.203 # 警告: overcommit_memory 设置为 0!在内存不足的情况下,后台保存可能会失败。要解决此问题,请将 'vm.overcommit_memory = 1' 添加到 /etc/sysctl.conf,然后重启或运行命令 'sysctl vm.overcommit_memory=1' 使其生效。
166:M 04 Feb 2020 11:56:16.204 # 警告: 您的内核中启用了透明大页 (THP) 支持。这将导致 Redis 出现延迟和内存使用问题。要解决此问题,请以 root 身份运行命令 'echo never > /sys/kernel/mm/transparent_hugepage/enabled',并将其添加到 /etc/rc.local 中,以便在重启后保留该设置。禁用 THP 后必须重启 Redis。
166:M 04 Feb 2020 11:56:16.304 * 数据库已从磁盘加载: 0.101 秒
166:M 04 Feb 2020 11:56:16.304 * 准备接受连接
I, [2020-02-04T11:56:26.195411 #1]  INFO -- :
I, [2020-02-04T11:56:26.196123 #1]  INFO -- : > thpoff echo "thpoff 已安装!"
I, [2020-02-04T11:56:26.203019 #1]  INFO -- : thpoff 已安装!

I, [2020-02-04T11:56:26.203746 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "中止! 未配置邮件!"; exit 1; end'
I, [2020-02-04T11:56:26.311422 #1]  INFO -- :
I, [2020-02-04T11:56:26.311926 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "中止! 未配置域名!"; exit 1; end'
I, [2020-02-04T11:56:26.399607 #1]  INFO -- :
I, [2020-02-04T11:56:26.399929 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "中止! CDN 必须指定协议。修复后,您现在应该重新烘焙您的帖子以纠正所有帖子。"; exit 1; end'
I, [2020-02-04T11:56:26.487389 #1]  INFO -- :
I, [2020-02-04T11:56:26.487949 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2020-02-04T11:56:27.041253 #1]  INFO -- :
I, [2020-02-04T11:56:27.042015 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2020-02-04T11:56:27.045439 #1]  INFO -- :
I, [2020-02-04T11:56:27.048814 #1]  INFO -- : 文件 > /etc/cron.d/anacron  chmod:   chown:
I, [2020-02-04T11:56:27.054281 #1]  INFO -- : 文件 > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2020-02-04T11:56:27.059958 #1]  INFO -- : 文件 > /etc/service/unicorn/run  chmod: +x  chown:
I, [2020-02-04T11:56:27.065814 #1]  INFO -- : 文件 > /etc/service/nginx/run  chmod: +x  chown:
I, [2020-02-04T11:56:27.071417 #1]  INFO -- : 文件 > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2020-02-04T11:56:27.076944 #1]  INFO -- : 文件 > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2020-02-04T11:56:27.077169 #1]  INFO -- : 在 /etc/service/unicorn/run 中将 # postgres 替换为 sv start postgres || exit 1
I, [2020-02-04T11:56:27.077593 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2020-02-04T11:56:27.079941 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
193:C 04 Feb 2020 11:56:27.085 # oO0OoO0OoO0Oo Redis 正在启动 oO0OoO0OoO0Oo
193:C 04 Feb 2020 11:56:27.085 # Redis 版本=5.0.5, 位数=64, commit=00000000, modified=0, pid=193, 刚刚启动
193:C 04 Feb 2020 11:56:27.085 # 配置已加载
193:M 04 Feb 2020 11:56:27.087 # 无法创建服务器 TCP 监听套接字 *:6379: bind: 地址已在使用
正在检出文件: 100% (27788/27788), 完成。
I, [2020-02-04T11:56:30.008317 #1]  INFO -- : HEAD 现在位于 fdea0a0838 修复图标测试

I, [2020-02-04T11:56:30.008465 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2020-02-04T11:56:30.127357 #1]  INFO -- :
I, [2020-02-04T11:56:30.127508 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2020-02-04T11:56:30.133659 #1]  INFO -- :
I, [2020-02-04T11:56:30.133786 #1]  INFO -- : > cd /var/www/discourse && git pull

(git pull 消息已移除,那里没有错误)

I, [2020-02-04T11:56:34.806846 #1]  INFO -- : > cd /var/www/discourse && git fetch origin stable
来自 https://github.com/discourse/discourse
 * 分支                  stable     -> FETCH_HEAD
I, [2020-02-04T11:56:35.748932 #1]  INFO -- :
I, [2020-02-04T11:56:35.749328 #1]  INFO -- : > cd /var/www/discourse && git checkout stable
已切换到新分支 'stable'
I, [2020-02-04T11:56:37.144345 #1]  INFO -- : 分支 'stable' 已设置为跟踪 'origin' 的远程分支 'stable'。

I, [2020-02-04T11:56:37.144680 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2020-02-04T11:56:37.149410 #1]  INFO -- :
I, [2020-02-04T11:56:37.149640 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2020-02-04T11:56:37.153453 #1]  INFO -- :
I, [2020-02-04T11:56:37.153993 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2020-02-04T11:56:37.158167 #1]  INFO -- :
I, [2020-02-04T11:56:37.158716 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2020-02-04T11:56:37.162724 #1]  INFO -- :
I, [2020-02-04T11:56:37.163178 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2020-02-04T11:56:37.168855 #1]  INFO -- :
I, [2020-02-04T11:56:37.169432 #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, [2020-02-04T11:56:37.175860 #1]  INFO -- :
I, [2020-02-04T11:56:37.176413 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2020-02-04T11:56:37.183530 #1]  INFO -- :
I, [2020-02-04T11:56:37.184131 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2020-02-04T11:56:37.190033 #1]  INFO -- :
I, [2020-02-04T11:56:37.190566 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2020-02-04T11:56:37.197105 #1]  INFO -- :
I, [2020-02-04T11:56:37.197700 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2020-02-04T11:56:37.204715 #1]  INFO -- :
I, [2020-02-04T11:56:37.205308 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2020-02-04T11:56:37.318366 #1]  INFO -- :
I, [2020-02-04T11:56:37.318883 #1]  INFO -- : 在 /etc/service/unicorn/run 中将 # redis 替换为 sv start redis || exit 1
I, [2020-02-04T11:56:37.319639 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
正在克隆到 'docker_manager'...
I, [2020-02-04T11:56:38.988391 #1]  INFO -- :
I, [2020-02-04T11:56:38.988786 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/communiteq/discourse-migratepassword.git
正在克隆到 'discourse-migratepassword'...
I, [2020-02-04T11:56:39.904867 #1]  INFO -- :
I, [2020-02-04T11:56:39.905305 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
正在克隆到 'discourse-solved'...
I, [2020-02-04T11:56:41.120700 #1]  INFO -- :
I, [2020-02-04T11:56:41.121114 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-github.git
正在克隆到 'discourse-github'...
I, [2020-02-04T11:56:42.126043 #1]  INFO -- :
I, [2020-02-04T11:56:42.126368 #1]  INFO -- : > cd /var/www/discourse/plugins && apt update; apt install tmux nano wget inetutils-ping libsqlite3-dev default-libmysqlclient-dev -y

警告: apt 没有稳定的 CLI 接口。在脚本中使用时请谨慎。


警告: apt 没有稳定的 CLI 接口。在脚本中使用时请谨慎。

debconf: 由于未安装 apt-utils,延迟包配置
I, [2020-02-04T11:56:48.848378 #1]  INFO -- : Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 https://deb.nodesource.com/node_10.x buster InRelease [4,584 B]
Hit:3 http://deb.debian.org/debian buster InRelease
Get:4 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [175 kB]
Get:6 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease [46.2 kB]
Get:7 https://deb.nodesource.com/node_10.x buster/main amd64 Packages [766 B]
Get:8 http://apt.postgresql.org/pub/repos/apt buster-pgdg/main amd64 Packages [156 kB]
已获取 498 kB,耗时 1 秒 (468 kB/s)
正在读取包列表...
正在构建依赖关系树...
正在读取状态信息...
有 10 个包可以升级。运行 'apt list --upgradable' 以查看它们。
正在读取包列表...
正在构建依赖关系树...
正在读取状态信息...
wget 已经是最新版本 (1.20.1-1.1)。
以下附加包将被安装:
  libgmp-dev libgmpxx4ldbl libgnutls-openssl27 libgnutls28-dev libgnutlsxx28
  libidn2-0 libidn2-dev libmariadb-dev libmariadb-dev-compat libp11-kit-dev
  libtasn1-6-dev libtasn1-doc libutempter0 nettle-dev
建议包:
  gmp-doc libgmp10-doc libmpfr-dev gnutls-bin gnutls-doc sqlite3-doc spell
以下 NEW 包将被安装:
  default-libmysqlclient-dev inetutils-ping libgmp-dev libgmpxx4ldbl
  libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libidn2-dev libmariadb-dev
  libmariadb-dev-compat libp11-kit-dev libsqlite3-dev libtasn1-6-dev
  libtasn1-doc libutempter0 nano nettle-dev tmux
以下包将被升级:
  libidn2-0
升级 1 个,新安装 18 个,删除 0 个,有 9 个未升级。
需要获取 6,826 kB 的归档文件。
本次操作后,将使用 22.5 MB 的额外磁盘空间。
Get:1 http://deb.debian.org/debian buster/main amd64 nano amd64 3.2-3 [544 kB]
Get:2 http://security.debian.org/debian-security buster/updates/main amd64 libidn2-0 amd64 2.0.5-1+deb10u1 [76.7 kB]
Get:3 http://security.debian.org/debian-security buster/updates/main amd64 libidn2-dev amd64 2.0.5-1+deb10u1 [79.5 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgnutls-openssl27 amd64 3.6.7-4 [316 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libgnutlsxx28 amd64 3.6.7-4 [14.6 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 libp11-kit-dev amd64 0.23.15-2 [195 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libtasn1-6-dev amd64 4.13-3 [104 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-4 [22.9 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-4 [628 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 nettle-dev amd64 3.4.1-1 [1,076 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libgnutls28-dev amd64 3.6.7-4 [1,086 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libmariadb-dev amd64 1:10.3.18-0+deb10u1 [1,009 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libmariadb-dev-compat amd64 1:10.3.18-0+deb10u1 [30.9 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 default-libmysqlclient-dev amd64 1.0.5 [3,764 B]
Get:15 http://deb.debian.org/debian buster/main amd64 inetutils-ping amd64 2:1.9.4-7 [226 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libsqlite3-dev amd64 3.27.2-3 [787 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libtasn1-doc all 4.13-3 [317 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 libutempter0 amd64 1.1.6-3 [7,812 B]
Get:19 http://deb.debian.org/debian buster/main amd64 tmux amd64 2.8-3 [302 kB]
已获取 6,826 kB,耗时 0 秒 (52.3 MB/s)
(正在读取数据库 ... 当前已安装 44562 个文件和目录。)
正准备解压 .../libidn2-0_2.0.5-1+deb10u1_amd64.deb ...
正在解压 libidn2-0:amd64 (2.0.5-1+deb10u1) 并覆盖 (2.0.5-1) ...
正在设置 libidn2-0:amd64 (2.0.5-1+deb10u1) ...
正在选择以前未选择的包 nano。
(正在读取数据库 ... 当前已安装 44562 个文件和目录。)
正准备解压 .../00-nano_3.2-3_amd64.deb ...
正在解压 nano (3.2-3) ...
正在选择以前未选择的包 libgnutls-openssl27:amd64。
正准备解压 .../01-libgnutls-openssl27_3.6.7-4_amd64.deb ...
正在解压 libgnutls-openssl27:amd64 (3.6.7-4) ...
正在选择以前未选择的包 libgnutlsxx28:amd64。
正准备解压 .../02-libgnutlsxx28_3.6.7-4_amd64.deb ...
正在解压 libgnutlsxx28:amd64 (3.6.7-4) ...
正在选择以前未选择的包 libidn2-dev:amd64。
正准备解压 .../03-libidn2-dev_2.0.5-1+deb10u1_amd64.deb ...
正在解压 libidn2-dev:amd64 (2.0.5-1+deb10u1) ...
正在选择以前未选择的包 libp11-kit-dev:amd64。
正准备解压 .../04-libp11-kit-dev_0.23.15-2_amd64.deb ...
正在解压 libp11-kit-dev:amd64 (0.23.15-2) ...
正在选择以前未选择的包 libtasn1-6-dev:amd64。
正准备解压 .../05-libtasn1-6-dev_4.13-3_amd64.deb ...
正在解压 libtasn1-6-dev:amd64 (4.13-3) ...
正在选择以前未选择的包 libgmpxx4ldbl:amd64。
正准备解压 .../06-libgmpxx4ldbl_2%3a6.1.2+dfsg-4_amd64.deb ...
正在解压 libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-4) ...
正在选择以前未选择的包 libgmp-dev:amd64。
正准备解压 .../07-libgmp-dev_2%3a6.1.2+dfsg-4_amd64.deb ...
正在解压 libgmp-dev:amd64 (2:6.1.2+dfsg-4) ...
正在选择以前未选择的包 nettle-dev:amd64。
正准备解压 .../08-nettle-dev_3.4.1-1_amd64.deb ...
正在解压 nettle-dev:amd64 (3.4.1-1) ...
正在选择以前未选择的包 libgnutls28-dev:amd64。
正准备解压 .../09-libgnutls28-dev_3.6.7-4_amd64.deb ...
正在解压 libgnutls28-dev:amd64 (3.6.7-4) ...
正在选择以前未选择的包 libmariadb-dev。
正准备解压 .../10-libmariadb-dev_1%3a10.3.18-0+deb10u1_amd64.deb ...
正在解压 libmariadb-dev (1:10.3.18-0+deb10u1) ...
正在选择以前未选择的包 libmariadb-dev-compat:amd64。
正准备解压 .../11-libmariadb-dev-compat_1%3a10.3.18-0+deb10u1_amd64.deb ...
正在解压 libmariadb-dev-compat:amd64 (1:10.3.18-0+deb10u1) ...
正在选择以前未选择的包 default-libmysqlclient-dev:amd64。
正准备解压 .../12-default-libmysqlclient-dev_1.0.5_amd64.deb ...
正在解压 default-libmysqlclient-dev:amd64 (1.0.5) ...
正在选择以前未选择的包 inetutils-ping。
正准备解压 .../13-inetutils-ping_2%3a1.9.4-7_amd64.deb ...
正在解压 inetutils-ping (2:1.9.4-7) ...
正在选择以前未选择的包 libsqlite3-dev:amd64。
正准备解压 .../14-libsqlite3-dev_3.27.2-3_amd64.deb ...
正在解压 libsqlite3-dev:amd64 (3.27.2-3) ...
正在选择以前未选择的包 libtasn1-doc。
正准备解压 .../15-libtasn1-doc_4.13-3_all.deb ...
正在解压 libtasn1-doc (4.13-3) ...
正在选择以前未选择的包 libutempter0:amd64。
正准备解压 .../16-libutempter0_1.1.6-3_amd64.deb ...
正在解压 libutempter0:amd64 (1.1.6-3) ...
正在选择以前未选择的包 tmux。
正准备解压 .../17-tmux_2.8-3_amd64.deb ...
正在解压 tmux (2.8-3) ...
正在设置 libgnutls-openssl27:amd64 (3.6.7-4) ...
正在设置 libtasn1-doc (4.13-3) ...
正在设置 libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-4) ...
正在设置 libsqlite3-dev:amd64 (3.27.2-3) ...
正在设置 libgnutlsxx28:amd64 (3.6.7-4) ...
正在设置 libidn2-dev:amd64 (2.0.5-1+deb10u1) ...
正在设置 inetutils-ping (2:1.9.4-7) ...
正在设置 libutempter0:amd64 (1.1.6-3) ...
正在设置 nano (3.2-3) ...
update-alternatives: 使用 /bin/nano 提供 /usr/bin/editor (editor) 的自动模式
update-alternatives: 警告: 跳过创建 /usr/share/man/man1/editor.1.gz,因为关联文件 /usr/share/man/man1/nano.1.gz (链接组 editor) 不存在
update-alternatives: 使用 /bin/nano 提供 /usr/bin/pico (pico) 的自动模式
update-alternatives: 警告: 跳过创建 /usr/share/man/man1/pico.1.gz,因为关联文件 /usr/share/man/man1/nano.1.gz (链接组 pico) 不存在
正在设置 libtasn1-6-dev:amd64 (4.13-3) ...
正在设置 tmux (2.8-3) ...
正在设置 libp11-kit-dev:amd64 (0.23.15-2) ...
正在设置 libgmp-dev:amd64 (2:6.1.2+dfsg-4) ...
正在设置 nettle-dev:amd64 (3.4.1-1) ...
正在设置 libgnutls28-dev:amd64 (3.6.7-4) ...
正在设置 libmariadb-dev (1:10.3.18-0+deb10u1) ...
正在设置 libmariadb-dev-compat:amd64 (1:10.3.18-0+deb10u1) ...
正在设置 default-libmysqlclient-dev:amd64 (1.0.5) ...
正在处理 libc-bin (2.28-10) 的触发器 ...

I, [2020-02-04T11:56:48.848536 #1]  INFO -- : > cd /var/www/discourse/plugins && gem install mysql2
I, [2020-02-04T11:56:57.200772 #1]  INFO -- : 正在构建原生扩展。这可能需要一段时间...
成功安装 mysql2-0.5.3
已安装 1 个 gem

I, [2020-02-04T11:56:57.201244 #1]  INFO -- : > cd /var/www/discourse/plugins && gem install bcrypt -v 3.1.3 -i /var/www/discourse/plugins/discourse-migratepassword/gems/2.5.1 --no-document --ignore-dependencies
I, [2020-02-04T11:56:59.647304 #1]  INFO -- : 正在构建原生扩展。这可能需要一段时间...
成功安装 bcrypt-3.1.3
已安装 1 个 gem

I, [2020-02-04T11:56:59.647828 #1]  INFO -- : > cd /var/www/discourse/plugins && gem install unix-crypt -v 1.3.0 -i /var/www/discourse/plugins/discourse-migratepassword/gems/2.5.1 --no-document --ignore-dependencies
I, [2020-02-04T11:57:00.200614 #1]  INFO -- : 成功安装 unix-crypt-1.3.0
已安装 1 个 gem

I, [2020-02-04T11:57:00.201052 #1]  INFO -- : > cd /var/www/discourse/plugins && chown -R discourse /var/www/discourse/plugins/discourse-migratepassword/
I, [2020-02-04T11:57:00.207435 #1]  INFO -- :
I, [2020-02-04T11:57:00.207997 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2020-02-04T11:57:00.211915 #1]  INFO -- :
I, [2020-02-04T11:57:00.212462 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2020-02-04T11:57:00.215375 #1]  INFO -- :
I, [2020-02-04T11:57:00.215913 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2020-02-04T11:57:00.218933 #1]  INFO -- :
I, [2020-02-04T11:57:00.219467 #1]  INFO -- : 在 /etc/nginx/nginx.conf 中将 pid /run/nginx.pid; 替换为 daemon off;
I, [2020-02-04T11:57:00.220049 #1]  INFO -- : 在 /etc/nginx/conf.d/discourse.conf 中将 (?m-ix:upstream[^\}]+\}) 替换为 upstream discourse { server 127.0.0.1:3000; }
I, [2020-02-04T11:57:00.220533 #1]  INFO -- : 在 /etc/nginx/conf.d/discourse.conf 中将 (?-mix:server_name.+$) 替换为 server_name _ ;
I, [2020-02-04T11:57:00.220985 #1]  INFO -- : 在 /etc/nginx/conf.d/discourse.conf 中将 (?-mix:client_max_body_size.+$) 替换为 client_max_body_size $upload_size ;
I, [2020-02-04T11:57:00.221414 #1]  INFO -- : > echo "done configuring web"
I, [2020-02-04T11:57:00.224163 #1]  INFO -- : done configuring web

I, [2020-02-04T11:57:00.224805 #1]  INFO -- : > cd /var/www/discourse && gem update bundler
I, [2020-02-04T11:57:06.519077 #1]  INFO -- : 正在更新已安装的 gems
正在更新 bundler
成功安装 bundler-2.1.4
已更新的 gems: bundler
I, [2020-02-04T11:57:06.519634 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2020-02-04T11:57:07.494591 #1]  INFO -- :
I, [2020-02-04T11:57:07.495122 #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 deployment 'true'`,并停止使用此标志
[已弃用] `--without` 标志已弃用,因为它依赖于跨 bundler 调用进行记忆,而 bundler 在将来版本中将不再这样做。请改用 `bundle config set without 'test development'`,并停止使用此标志
I, [2020-02-04T11:59:19.740872 #1]  INFO -- : 正在使用 bundler 2.1.1 运行 `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"`
已冻结,使用来自 lockfile 的解析结果
定义中缺少 ["rake-12.3.2", "i18n-1.6.0", "minitest-5.11.3", "activesupport-5.2.3", "builder-3.2.3", "erubi-1.8.0", "nokogiri-1.10.3", "crass-1.0.4", "loofah-2.2.3", "rails-html-sanitizer-1.0.4", "actionview-5.2.3", "rack-2.0.7", "actionpack-5.2.3", "activejob-5.2.3", "mini_mime-1.0.1", "actionmailer-5.2.3", "activemodel-5.2.3", "arel-9.0.0", "activerecord-5.2.3", "aws-partitions-1.154.0", "aws-sdk-core-3.48.6", "aws-sdk-kms-1.17.0", "aws-sdk-s3-1.36.1", "aws-sdk-sns-1.13.0", "msgpack-1.2.10", "bootsnap-1.4.4", "discourse-ember-source-3.8.0.1", "fspath-3.1.0", "in_threads-1.5.1", "progress-3.5.0", "thor-0.20.3", "railties-5.2.3", "jquery-rails-4.3.3", "excon-0.64.0", "faraday-0.15.4", "rake-compiler-1.0.7", "fastimage-2.1.5", "ffi-1.10.0", "hiredis-0.6.3", "http_accept_language-2.0.5", "lograge-0.11.0", "logster-2.3.2", "memory_profiler-0.9.13", "message_bus-2.2.0", "mini_racer-0.2.6", "rack-protection-2.0.5", "redis-4.0.1", "sidekiq-5.2.7", "mini_scheduler-0.11.0", "moneta-1.1.1", "multi_json-1.13.1", "mustache-1.1.0", "nokogumbo-2.0.1", "oauth2-1.4.1", "oj-3.7.12", "omniauth-google-oauth2-0.7.0", "ruby-openid-2.7.0", "sanitize-5.0.0", "onebox-1.8.92", "puma-3.12.1", "redis-namespace-1.6.0", "rotp-3.3.1", "rqrcode-0.10.1", "tilt-2.0.9", "sassc-rails-2.1.1", "stackprof-0.2.12", "uglifier-4.1.20", "webpush-0.3.8"]
HTTP GET https://index.rubygems.org/versions
HTTP 206 Partial Content https://index.rubygems.org/versions
正在从 https://rubygems.org/ 获取 gem 元数据
正在查找 gems ["rake", "concurrent-ruby", "i18n", "minitest", "thread_safe", "tzinfo", "activesupport", "builder", "erubi", "mini_portile2", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "mail", "actionmailer", "activemodel", "active_model_serializers", "arel", "activerecord", "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", "chunky_png", "coderay", "colored2", "connection_pool", "cppjieba_rb", "diffy", "discourse-ember-source", "exifr", "fspath", "image_size", "in_threads", "progress", "discourse_image_optim", "email_reply_trimmer", "ember-data-source", "sprockets", "ember-handlebars-template", "method_source", "thor", "railties", "jquery-rails", "ember-rails", "excon", "multipart-post", "faraday", "fast_blank", "rake-compiler", "fast_xor", "fast_xs", "fastimage", "ffi", "flamegraph", "gc_tracer", "guess_html_encoding", "hashie", "highline", "hiredis", "hkdf", "htmlentities", "http_accept_language", "jwt", "kgio", "libv8", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "rack-protection", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "moneta", "multi_json", "multi_xml", "mustache", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-instagram", "omniauth-oauth", "ruby-openid", "rack-openid", "omniauth-openid", "omniauth-twitter", "sanitize", "onebox", "openid-redis-store", "optimist", "pg", "pry", "pry-rails", "puma", "r2", "rack-mini-profiler", "rails_multisite", "raindrops", "rbtrace", "rchardet", "redis-namespace", "rinku", "rotp", "rqrcode", "rtlit", "ruby-readability", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush"]
HTTP GET https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/i18n
HTTP GET https://index.rubygems.org/info/tzinfo
HTTP 206 Partial Content https://index.rubygems.org/info/concurrent-ruby
HTTP 206 Partial Content https://index.rubygems.org/info/i18n
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/discourse-ember-source
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/aws-sdk-kms
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-ember-source
HTTP 206 Partial Content https://index.rubygems.org/info/tzinfo
HTTP GET https://index.rubygems.org/info/in_threads
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
HTTP 206 Partial Content https://index.rubygems.org/info/in_threads
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-kms
HTTP GET https://index.rubygems.org/info/excon
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/excon
HTTP GET https://index.rubygems.org/info/hashie
HTTP GET https://index.rubygems.org/info/rake-compiler
HTTP 206 Partial Content https://index.rubygems.org/info/hashie
HTTP 206 Partial Content https://index.rubygems.org/info/rake-compiler
HTTP GET https://index.rubygems.org/info/kgio
HTTP 206 Partial Content https://index.rubygems.org/info/kgio
HTTP GET https://index.rubygems.org/info/crass
HTTP 206 Partial Content https://index.rubygems.org/info/crass
HTTP GET https://index.rubygems.org/info/faraday
HTTP 206 Partial Content https://index.rubygems.org/info/faraday
HTTP GET https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/nokogiri
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/sidekiq
HTTP GET https://index.rubygems.org/info/request_store
HTTP 206 Partial Content https://index.rubygems.org/info/request_store
HTTP 206 Partial Content https://index.rubygems.org/info/sidekiq
HTTP GET https://index.rubygems.org/info/msgpack
HTTP GET https://index.rubygems.org/info/rack
HTTP 206 Partial Content https://index.rubygems.org/info/msgpack
HTTP 206 Partial Content https://index.rubygems.org/info/rack
HTTP GET https://index.rubygems.org/info/rack-protection
HTTP 206 Partial Content https://index.rubygems.org/info/rack-protection
HTTP GET https://index.rubygems.org/info/pg
HTTP GET https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/pg
HTTP 206 Partial Content https://index.rubygems.org/info/onebox
HTTP GET https://index.rubygems.org/info/rack-mini-profiler
HTTP 206 Partial Content https://index.rubygems.org/info/rack-mini-profiler
HTTP GET https://index.rubygems.org/info/ffi
HTTP 206 Partial Content https://index.rubygems.org/info/ffi
HTTP GET https://index.rubygems.org/info/mini_sql
HTTP 206 Partial Content https://index.rubygems.org/info/mini_sql
HTTP GET https://index.rubygems.org/info/mini_racer
HTTP GET https://index.rubygems.org/info/oauth2
HTTP 206 Partial Content https://index.rubygems.org/info/mini_racer
HTTP GET https://index.rubygems.org/info/oj
HTTP GET https://index.rubygems.org/info/unicorn
HTTP 206 Partial Content https://index.rubygems.org/info/oauth2
HTTP GET https://index.rubygems.org/info/omniauth-facebook
HTTP 206 Partial Content https://index.rubygems.org/info/oj
HTTP 206 Partial Content https://index.rubygems.org/info/unicorn
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth-facebook
HTTP GET https://index.rubygems.org/info/raindrops
HTTP 206 Partial Content https://index.rubygems.org/info/raindrops
正在查找 gems ["atomic", "memcache-client", "json", "zeitwerk", "rails-deprecated_sanitizer", "hoe", "erubis", "rack-mount", "rack-cache", "journey", "mime-types", "treetop", "tlsmail", "activemodel-globalid", "bcrypt-ruby", "jsonapi", "case_transform", "jsonapi-renderer", "snappy", "json_pure", "ember-template-compiler-source", "handlebars-source", "newgem", "ruby_parser", "hike", "rack-ssl", "rdoc", "functional-ruby", "ref", "jamespath", "http-2", "addressable", "fast_stack", "rails", "termios", "rb-appscript", "xattr", "ffi-xattr", "stud", "active-model-adapter-source", "ember-cli-assets", "ember-es6_template", "text-format", "activerecord-deprecated_finders", "eventmachine", "thin", "rspec", "ruby-yadis", "hpricot", "ruby-hmac", "racc", "rexical", "tenderlove-frex", "weakling", "mini_portile", "pkg-config", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "trollop", "nio4r", "base32", "rqrcode_core", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "camping", "fcgi", "mongrel", "test-spec", "pry-doc", "escape_utils", "bones", "therubyracer", "bundler", "win32console", "yard", "slop", "spoon", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader", "faraday-middleware", "httpauth"]
HTTP GET https://index.rubygems.org/info/treetop
HTTP 206 Partial Content https://index.rubygems.org/info/treetop
HTTP GET https://index.rubygems.org/info/handlebars-source
HTTP 206 Partial Content https://index.rubygems.org/info/handlebars-source
HTTP GET https://index.rubygems.org/info/rack-cache
HTTP 206 Partial Content https://index.rubygems.org/info/rack-cache
HTTP GET https://index.rubygems.org/info/newgem
HTTP GET https://index.rubygems.org/info/racc
HTTP GET https://index.rubygems.org/info/snappy
HTTP 206 Partial Content https://index.rubygems.org/info/newgem
HTTP 206 Partial Content https://index.rubygems.org/info/racc
HTTP 206 Partial Content https://index.rubygems.org/info/snappy
HTTP GET https://index.rubygems.org/info/rdoc
HTTP 206 Partial Content https://index.rubygems.org/info/rdoc
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/bundler
HTTP GET https://index.rubygems.org/info/yard
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
HTTP GET https://index.rubygems.org/info/slop
HTTP 206 Partial Content https://index.rubygems.org/info/yard
HTTP 206 Partial Content https://index.rubygems.org/info/slop
HTTP GET https://index.rubygems.org/info/mime-types
HTTP 206 Partial Content https://index.rubygems.org/info/mime-types
HTTP GET https://index.rubygems.org/info/sinatra
HTTP 206 Partial Content https://index.rubygems.org/info/sinatra
正在查找 gems ["ZenTest", "RubyInline", "abstract", "jsonapi-parser", "launchy", "public_suffix", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "ParseTree", "sexp_processor", "metriks", "multimap", "text-hyphen", "daemons", "eventmachine-le", "http_parser.rb", "preforker", "spruz", "ruby-openid-apps-discovery", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "rest-client", "bcrypt", "restclient", "curses", "facets", "polyglot", "babel-transpiler", "markaby", "metaid", "mab", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "flexmock", "mocha", "temple", "haml", "fssm", "listen", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "cucumber", "diff-lcs", "spicycode-rcov", "syntax", "rspec-core", "rspec-expectations", "rspec-mocks", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "snappy-jars", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "sprockets-helpers", "RedCloth", "rubigen", "sass-listen", "little-plugger", "loquacious", "bones-extras", "bones-git", "archive-tar-minitar", "rcov", "mime-types-data", "rubyforge", "gemcutter", "shotgun", "backports", "mustermann"]
HTTP GET https://index.rubygems.org/info/public_suffix
HTTP 206 Partial Content https://index.rubygems.org/info/public_suffix
HTTP GET https://index.rubygems.org/info/mocha
HTTP 206 Partial Content https://index.rubygems.org/info/mocha
HTTP GET https://index.rubygems.org/info/rb-inotify
HTTP 206 Partial Content https://index.rubygems.org/info/rb-inotify
HTTP GET https://index.rubygems.org/info/facter
HTTP 206 Partial Content https://index.rubygems.org/info/facter
HTTP GET https://index.rubygems.org/info/curses
HTTP GET https://index.rubygems.org/info/ttfunk
HTTP 206 Partial Content https://index.rubygems.org/info/curses
HTTP 206 Partial Content https://index.rubygems.org/info/ttfunk
HTTP GET https://index.rubygems.org/info/mustermann
HTTP 206 Partial Content https://index.rubygems.org/info/mustermann
HTTP GET https://index.rubygems.org/info/rspec-core
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-core
HTTP GET https://index.rubygems.org/info/rspec-mocks
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-mocks
正在查找 gems ["configuration", "marcel", "netrc", "http-cookie", "http-accept", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "babel-source", "maruku", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "metaclass", "hitimes", "macaddr", "celluloid-gems", "coveralls", "rubocop", "dotenv-deployment", "blankslate", "echoe", "thoughtbot-shoulda", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "net-scp", "bones-rcov", "bones-rspec", "bones-rubyforge", "bones-zentest", "log4r", "rails-observers", "activemodel-serializers-xml", "minitar", "minitar-cli", "CFPropertyList", "sys-admin", "win32-api", "win32-dir", "windows-api", "windows-pr", "win32-security", "tool", "ruby2_keywords", "rspec-support", "term-ansicolor", "gherkin", "multi_test", "cucumber-core", "gherkin3", "cucumber-wire", "event-bus", "cucumber-expressions", "cucumber-formatter-dots", "SexpProcessor", "git"]
HTTP GET https://index.rubygems.org/info/sys-admin
HTTP 206 Partial Content https://index.rubygems.org/info/sys-admin
HTTP GET https://index.rubygems.org/info/ruby2_keywords
HTTP 200 OK https://index.rubygems.org/info/ruby2_keywords
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
HTTP GET https://index.rubygems.org/info/net-scp
HTTP 206 Partial Content https://index.rubygems.org/info/net-scp
HTTP GET https://index.rubygems.org/info/rspec-support
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-support
HTTP GET https://index.rubygems.org/info/faraday_middleware
HTTP 206 Partial Content https://index.rubygems.org/info/faraday_middleware
HTTP GET https://index.rubygems.org/info/git
HTTP 206 Partial Content https://index.rubygems.org/info/git
正在查找 gems ["websocket-extensions", "powerbar", "coffee-script", "systemu", "colorize", "simplecov", "tins", "allison", "cucumber-messages", "c21e", "cucumber-tag_expressions", "os", "domain_name", "sqlite3", "test-unit", "ffi-win32-extensions", "mkrf", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "mimemagic", "libxml-ruby", "roauth", "net-ssh"]
HTTP GET https://index.rubygems.org/info/net-ssh
HTTP 206 Partial Content https://index.rubygems.org/info/net-ssh
HTTP GET https://index.rubygems.org/info/unicode-display_width
HTTP GET https://index.rubygems.org/info/test-unit
HTTP 206 Partial Content https://index.rubygems.org/info/unicode-display_width
HTTP GET https://index.rubygems.org/info/mimemagic
HTTP 206 Partial Content https://index.rubygems.org/info/test-unit
HTTP GET https://index.rubygems.org/info/cucumber-messages
HTTP 206 Partial Content https://index.rubygems.org/info/mimemagic
HTTP GET https://index.rubygems.org/info/simplecov
HTTP 206 Partial Content https://index.rubygems.org/info/simplecov
HTTP 206 Partial Content https://index.rubygems.org/info/cucumber-messages
HTTP GET https://index.rubygems.org/info/parser
HTTP 206 Partial Content https://index.rubygems.org/info/parser
HTTP GET https://index.rubygems.org/info/tins
HTTP 206 Partial Content https://index.rubygems.org/info/tins
正在查找 gems ["jar-dependencies", "coffee-script-source", "simplecov-html", "docile", "lockfile", "power_assert", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "ansi", "google-protobuf", "protobuf-cucumber", "sync", "ast"]
HTTP GET https://index.rubygems.org/info/simplecov-html
HTTP GET https://index.rubygems.org/info/protobuf-cucumber
HTTP GET https://index.rubygems.org/info/sync
HTTP 206 Partial Content https://index.rubygems.org/info/simplecov-html
HTTP 200 OK https://index.rubygems.org/info/protobuf-cucumber
HTTP 200 OK https://index.rubygems.org/info/sync
HTTP GET https://index.rubygems.org/info/google-protobuf
HTTP 206 Partial Content https://index.rubygems.org/info/google-protobuf
HTTP GET https://index.rubygems.org/info/rbnacl
HTTP 206 Partial Content https://index.rubygems.org/info/rbnacl
正在查找 gems ["pattern-match", "middleware", "ruby-maven"]
HTTP GET https://index.rubygems.org/info/middleware
HTTP 200 OK https://index.rubygems.org/info/middleware
正在查找 gems ["maven-tools", "ruby-maven-libs"]
正在查找 gems ["virtus"]
正在查找 gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
正在查找 gems ["ice_nine", "adamantium"]
正在查找 gems ["memoizable"]
正在获取 rake 12.3.2
正在安装 rake 12.3.2
1:  rake (12.3.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.2.gemspec
正在使用 concurrent-ruby 1.1.5
0:  concurrent-ruby (1.1.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/concurrent-ruby-1.1.5.gemspec
正在使用 thread_safe 0.3.6
2:  thread_safe (0.3.6) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/thread_safe-0.3.6.gemspec
正在获取 builder 3.2.3
正在获取 minitest 5.11.3
正在获取 erubi 1.8.0
正在安装 minitest 5.11.3
正在安装 erubi 1.8.0
正在安装 builder 3.2.3
1:  erubi (1.8.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/erubi-1.8.0.gemspec
正在使用 mini_portile2 2.4.0
1:  mini_portile2 (2.4.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mini_portile2-2.4.0.gemspec
正在获取 crass 1.0.4
正在安装 crass 1.0.4
2:  builder (3.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/builder-3.2.3.gemspec
正在获取 rack 2.0.7
0:  minitest (5.11.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/minitest-5.11.3.gemspec
正在获取 mini_mime 1.0.1
正在安装 mini_mime 1.0.1
1:  crass (1.0.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/crass-1.0.4.gemspec
正在获取 arel 9.0.0
正在安装 rack 2.0.7
正在安装 arel 9.0.0
0:  mini_mime (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mini_mime-1.0.1.gemspec
正在使用 aws-eventstream 1.0.3
0:  aws-eventstream (1.0.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-eventstream-1.0.3.gemspec
正在获取 aws-partitions 1.154.0
正在安装 aws-partitions 1.154.0
0:  aws-partitions (1.154.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-partitions-1.154.0.gemspec
正在使用 jmespath 1.4.0
0:  jmespath (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/jmespath-1.4.0.gemspec
正在使用 ember-source 2.18.2
0:  ember-source (2.18.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ember-source-2.18.2.gemspec
正在使用 execjs 2.7.0
0:  execjs (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/execjs-2.7.0.gemspec
正在获取 msgpack 1.2.10
正在安装带有原生扩展的 msgpack 1.2.10
1:  arel (9.0.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/arel-9.0.0.gemspec
正在使用 bundler 2.1.1
1:  bundler (2.1.1) from /usr/local/lib/ruby/gems/2.6.0/specifications/bundler-2.1.1.gemspec
正在使用 chunky_png 1.3.11
1:  chunky_png (1.3.11) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/chunky_png-1.3.11.gemspec
正在使用 coderay 1.1.2
1:  coderay (1.1.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/coderay-1.1.2.gemspec
正在使用 colored2 3.1.2
1:  colored2 (3.1.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/colored2-3.1.2.gemspec
正在使用 connection_pool 2.2.2
1:  connection_pool (2.2.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/connection_pool-2.2.2.gemspec
正在使用 cppjieba_rb 0.3.3
1:  cppjieba_rb (0.3.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/cppjieba_rb-0.3.3.gemspec
正在使用 diffy 3.3.0
1:  diffy (3.3.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/diffy-3.3.0.gemspec
正在获取 discourse-ember-source 3.8.0.1
正在构建原生扩展。这可能需要一些时间...
2:  rack (2.0.7) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rack-2.0.7.gemspec
正在使用 exifr 1.3.6
2:  exifr (1.3.6) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/exifr-1.3.6.gemspec
正在安装 discourse-ember-source 3.8.0.1
1:  discourse-ember-source (3.8.0.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/discourse-ember-source-3.8.0.1.gemspec
正在使用 image_size 1.5.0
1:  image_size (1.5.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/image_size-1.5.0.gemspec
正在获取 fspath 3.1.0
正在获取 in_threads 1.5.1
0:  msgpack (1.2.10) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/msgpack-1.2.10.gemspec
正在获取 progress 3.5.0
正在安装 in_threads 1.5.1
正在安装 fspath 3.1.0
正在安装 progress 3.5.0
2:  fspath (3.1.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/fspath-3.1.0.gemspec
正在使用 email_reply_trimmer 0.1.12
2:  email_reply_trimmer (0.1.12) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/email_reply_trimmer-0.1.12.gemspec
正在使用 method_source 0.9.2
2:  method_source (0.9.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/method_source-0.9.2.gemspec
正在获取 thor 0.20.3
1:  in_threads (1.5.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/in_threads-1.5.1.gemspec
正在获取 excon 0.64.0
正在安装 thor 0.20.3
正在安装 excon 0.64.0
0:  progress (3.5.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/progress-3.5.0.gemspec
正在使用 multipart-post 2.1.1
0:  multipart-post (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/multipart-post-2.1.1.gemspec
正在使用 fast_blank 1.0.0
0:  fast_blank (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/fast_blank-1.0.0.gemspec
正在获取 rake-compiler 1.0.7
正在安装 rake-compiler 1.0.7
2:  thor (0.20.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/thor-0.20.3.gemspec
正在使用 fast_xs 0.8.0
2:  fast_xs (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/fast_xs-0.8.0.gemspec
正在获取 fastimage 2.1.5
正在安装 fastimage 2.1.5
2:  fastimage (2.1.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/fastimage-2.1.5.gemspec
正在获取 ffi 1.10.0
0:  rake-compiler (1.0.7) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rake-compiler-1.0.7.gemspec
正在使用 flamegraph 0.9.5
0:  flamegraph (0.9.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/flamegraph-0.9.5.gemspec
正在使用 gc_tracer 1.5.1
0:  gc_tracer (1.5.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/gc_tracer-1.5.1.gemspec
正在使用 guess_html_encoding 0.0.11
0:  guess_html_encoding (0.0.11) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/guess_html_encoding-0.0.11.gemspec
正在使用 hashie 3.6.0
0:  hashie (3.6.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/hashie-3.6.0.gemspec
正在使用 highline 1.7.10
0:  highline (1.7.10) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/highline-1.7.10.gemspec
正在获取 hiredis 0.6.3
正在安装带有原生扩展的 hiredis 0.6.3
正在安装带有原生扩展的 ffi 1.10.0
正在构建原生扩展。这可能需要一些时间...
1:  excon (0.64.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/excon-0.64.0.gemspec
正在使用 hkdf 0.3.0
1:  hkdf (0.3.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/hkdf-0.3.0.gemspec
正在使用 htmlentities 4.3.4
1:  htmlentities (4.3.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/htmlentities-4.3.4.gemspec
正在构建原生扩展。这可能需要一些时间...
正在获取 http_accept_language 2.0.5
0:  hiredis (0.6.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/hiredis-0.6.3.gemspec
正在使用 jwt 2.2.1
0:  jwt (2.2.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/jwt-2.2.1.gemspec
正在使用 kgio 2.11.2
0:  kgio (2.11.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/kgio-2.11.2.gemspec
正在使用 libv8 7.3.492.27.1 (x86_64-linux)
0:  libv8 (7.3.492.27.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/libv8-7.3.492.27.1-x86_64-linux.gemspec
正在使用 logstash-event 1.2.02
0:  logstash-event (1.2.02) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/logstash-event-1.2.02.gemspec
正在安装 http_accept_language 2.0.5
1:  http_accept_language (2.0.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/http_accept_language-2.0.5.gemspec
正在使用 lru_redux 1.1.0
1:  lru_redux (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/lru_redux-1.1.0.gemspec
正在使用 maxminddb 0.1.22
1:  maxminddb (0.1.22) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/maxminddb-0.1.22.gemspec
正在获取 logster 2.3.2
2:  ffi (1.10.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ffi-1.10.0.gemspec
正在获取 memory_profiler 0.9.13
正在获取 redis 4.0.1
正在安装 memory_profiler 0.9.13
1:  memory_profiler (0.9.13) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/memory_profiler-0.9.13.gemspec
正在使用 mini_sql 0.2.2
1:  mini_sql (0.2.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mini_sql-0.2.2.gemspec
正在获取 moneta 1.1.1
正在安装 redis 4.0.1
正在安装 logster 2.3.2
正在安装 moneta 1.1.1
2:  redis (4.0.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/redis-4.0.1.gemspec
正在获取 multi_json 1.13.1
正在安装 multi_json 1.13.1
2:  multi_json (1.13.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/multi_json-1.13.1.gemspec
正在使用 multi_xml 0.6.0
2:  multi_xml (0.6.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/multi_xml-0.6.0.gemspec
正在获取 mustache 1.1.0
0:  logster (2.3.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/logster-2.3.2.gemspec
正在使用 oauth 0.5.4
0:  oauth (0.5.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/oauth-0.5.4.gemspec
正在获取 oj 3.7.12
正在安装 mustache 1.1.0
正在安装带有原生扩展的 oj 3.7.12
2:  mustache (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mustache-1.1.0.gemspec
正在获取 ruby-openid 2.7.0
正在安装 ruby-openid 2.7.0
1:  moneta (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/moneta-1.1.1.gemspec
正在使用 optimist 3.0.0
正在构建原生扩展。这可能需要一些时间...
1:  optimist (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/optimist-3.0.0.gemspec
正在使用 pg 1.1.4
1:  pg (1.1.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/pg-1.1.4.gemspec
2:  ruby-openid (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ruby-openid-2.7.0.gemspec
正在使用 r2 0.2.7
2:  r2 (0.2.7) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/r2-0.2.7.gemspec
正在使用 raindrops 0.19.0
2:  raindrops (0.19.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/raindrops-0.19.0.gemspec
正在使用 rchardet 1.8.0
2:  rchardet (1.8.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rchardet-1.8.0.gemspec
正在使用 rinku 2.0.6
2:  rinku (2.0.6) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rinku-2.0.6.gemspec
正在获取 puma 3.12.1
正在获取 rotp 3.3.1
0:  oj (3.7.12) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/oj-3.7.12.gemspec
正在使用 rtlit 0.0.5
0:  rtlit (0.0.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rtlit-0.0.5.gemspec
正在获取 tilt 2.0.9
正在安装 tilt 2.0.9
正在安装带有原生扩展的 puma 3.12.1
正在安装 rotp 3.3.1
0:  tilt (2.0.9) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/tilt-2.0.9.gemspec
正在使用 sshkey 2.0.0
0:  sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sshkey-2.0.0.gemspec
正在获取 stackprof 0.2.12
正在构建原生扩展。这可能需要一些时间...
正在安装带有原生扩展的 stackprof 0.2.12
2:  rotp (3.3.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rotp-3.3.1.gemspec
正在使用 unf_ext 0.0.7.6
2:  unf_ext (0.0.7.6) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/unf_ext-0.0.7.6.gemspec
正在构建原生扩展。这可能需要一些时间...
正在获取 i18n 1.6.0
1:  puma (3.12.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/puma-3.12.1.gemspec
正在使用 tzinfo 1.2.5
1:  tzinfo (1.2.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/tzinfo-1.2.5.gemspec
正在安装 i18n 1.6.0

注意!i18n 1.1 更改了回退行为,以排除默认语言环境。
但这可能会破坏您的应用程序。

请检查您的 Rails 应用中的 'config.i18n.fallbacks = true'。
如果您使用的是 I18n (>= 1.1.0) 和 Rails (< 5.2.2),这应该是
'config.i18n.fallbacks = [I18n.default_locale]'。
否则,您的应用中的回退将在 I18n 1.1.x 中损坏。

更多信息请参阅:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

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

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

请帮我修复它。

2:  i18n (1.6.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/i18n-1.6.0.gemspec
使用 mail 2.7.1
2:  mail (2.7.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mail-2.7.1.gemspec
使用 aws-sigv4 1.1.0
2:  aws-sigv4 (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-sigv4-1.1.0.gemspec
使用 barber 0.12.2
2:  barber (0.12.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/barber-0.12.2.gemspec
使用 ember-data-source 3.0.2
2:  ember-data-source (3.0.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ember-data-source-3.0.2.gemspec
获取 uglifier 4.1.20
获取 nokogiri 1.10.3
0:  stackprof (0.2.12) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/stackprof-0.2.12.gemspec
获取 rqrcode 0.10.1
安装 rqrcode 0.10.1
安装 uglifier 4.1.20
2:  uglifier (4.1.20) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/uglifier-4.1.20.gemspec
使用 rack-test 1.1.0
2:  rack-test (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rack-test-1.1.0.gemspec
使用 sprockets 3.7.2
2:  sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sprockets-3.7.2.gemspec
使用 request_store 1.4.1
2:  request_store (1.4.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/request_store-1..4.1.gemspec
获取 message_bus 2.2.0
0:  rqrcode (0.10.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rqrcode-0.10.1.gemspec
获取 rack-protection 2.0.5
安装 rack-protection 2.0.5
0:  rack-protection (2.0.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rack-protection-2.0.5.gemspec
使用 rack-mini-profiler 1.1.4
0:  rack-mini-profiler (1.1.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rack-mini-profiler-1.1.4.gemspec
获取 bootsnap 1.4.4
安装带有原生扩展的 bootsnap 1.4.4
安装 message_bus 2.2.0
正在构建原生扩展。这可能需要一段时间...
安装带有原生扩展的 nokogiri 1.10.3
2:  message_bus (2.2.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/message_bus-2.2.0.gemspec
使用 pry 0.12.2
2:  pry (0.12.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/pry-0.12.2.gemspec
使用 discourse_image_optim 0.26.2
2:  discourse_image_optim (0.26.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/discourse_image_optim-0.26.2.gemspec
正在构建原生扩展。这可能需要一段时间...
获取 faraday 0.15.4
0:  bootsnap (1.4.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/bootsnap-1.4.4.gemspec
使用 fast_xor 1.1.3
0:  fast_xor (1.1.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/fast_xor-1.1.3.gemspec
使用 omniauth 1.9.0
0:  omniauth (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-1.9.0.gemspec
安装 faraday 0.15.4
2:  faraday (0.15.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/faraday-0.15.4.gemspec
使用 logstash-logger 0.26.1
2:  logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/logstash-logger-0.26.1.gemspec
获取 mini_racer 0.2.6
获取 webpush 0.3.8
1:  nokogiri (1.10.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/nokogiri-1.10.3.gemspec
使用 mini_suffix 0.3.0
1:  mini_suffix (0.3.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mini_suffix-0.3.0.gemspec
使用 sassc 2.0.1
1:  sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sassc-2.0.1.gemspec
获取 redis-namespace 1.6.0
安装带有原生扩展的 mini_racer 0.2.6
安装 webpush 0.3.8
安装 redis-namespace 1.6.0
正在构建原生扩展。这可能需要一段时间...
0:  webpush (0.3.8) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/webpush-0.3.8.gemspec
使用 rbtrace 0.4.11
0:  rbtrace (0.4.11) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rbtrace-0.4.11.gemspec
使用 rack-openid 1.3.1
0:  rack-openid (1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rack-openid-1.3.1.gemspec
使用 openid-redis-store 0.0.2
0:  openid-redis-store (0.0.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/openid-redis-store-0.0.2.gemspec
使用 unicorn 5.5.1
0:  unicorn (5.5.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/unicorn-5.5.1.gemspec
使用 unf 0.1.4
0:  unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/unf-0.1.4.gemspec
1:  redis-namespace (1.6.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/redis-namespace-1.6.0.gemspec
获取 activesupport 5.2.3
获取 aws-sdk-core 3.48.6
2:  mini_racer (0.2.6) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mini_racer-0.2.6.gemspec
使用 ember-handlebars-template 0.8.0
2:  ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ember-handlebars-template-0.8.0.gemspec
获取 sidekiq 5.2.7
安装 aws-sdk-core 3.48.6
安装 sidekiq 5.2.7
安装 activesupport 5.2.3
2:  sidekiq (5.2.7) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sidekiq-5.2.7.gemspec
使用 pry-rails 0.3.9
2:  pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/pry-rails-0.3.9.gemspec
使用 omniauth-oauth 1.1.0
2:  omniauth-oauth (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-oauth-1.1.0.gemspec
获取 oauth2 1.4.1
安装 oauth2 1.4.1
1:  aws-sdk-core (3.48.6) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-sdk-core-3.48.6.gemspec
获取 loofah 2.2.3
2:  oauth2 (1.4.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/oauth2-1.4.1.gemspec
获取 nokogumbo 2.0.1
安装 loofah 2.2.3
安装带有原生扩展的 nokogumbo 2.0.1
正在构建原生扩展。这可能需要一段时间...
1:  loofah (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/loofah-2.2.3.gemspec
使用 ruby-readability 0.7.0
1:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ruby-readability-0.7.0.gemspec
使用 omniauth-openid 1.0.1
1:  omniauth-openid (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-openid-1.0.1.gemspec
0:  activesupport (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/activesupport-5.2.3.gemspec
使用 omniauth-twitter 1.4.0
0:  omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-twitter-1.4.0.gemspec
获取 mini_scheduler 0.11.0
获取 aws-sdk-kms 1.17.0
2:  nokogumbo (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/nokogumbo-2.0.1.gemspec
获取 aws-sdk-sns 1.13.0
安装 mini_scheduler 0.11.0
1:  mini_scheduler (0.11.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/mini_scheduler-0.11.0.gemspec
使用 omniauth-oauth2 1.6.0
1:  omniauth-oauth2 (1.6.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-oauth2-1.6.0.gemspec
获取 rails-html-sanitizer 1.0.4
安装 rails-html-sanitizer 1.0.4
1:  rails-html-sanitizer (1.0.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rails-html-sanitizer-1.0.4.gemspec
使用 rails-dom-testing 2.0.3
1:  rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rails-dom-testing-2.0.3.gemspec
使用 globalid 0.4.2
1:  globalid (0.4.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/globalid-0.4.2.gemspec
获取 activemodel 5.2.3
安装 activemodel 5.2.3
安装 aws-sdk-sns 1.13.0
安装 aws-sdk-kms 1.17.0
0:  aws-sdk-kms (1.17.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-sdk-kms-1.17.0.gemspec
获取 sanitize 5.0.0
安装 sanitize 5.0.0
2:  aws-sdk-sns (1.13.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-sdk-sns-1.13.0.gemspec
使用 omniauth-facebook 5.0.0
2:  omniauth-facebook (5.0.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-facebook-5.0.0.gemspec
使用 omniauth-github 1.3.0
2:  omniauth-github (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-github-1.3.0.gemspec
获取 omniauth-google-oauth2 0.7.0
安装 omniauth-google-oauth2 0.7.0
1:  activemodel (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/activemodel-5.2.3.gemspec
使用 omniauth-instagram 1.3.0
1:  omniauth-instagram (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-instagram-1.3.0.gemspec
获取 actionview 5.2.3
2:  omniauth-google-oauth2 (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/omniauth-google-oauth2-0.7.0.gemspec
获取 activejob 5.2.3
安装 actionview 5.2.3
安装 activejob 5.2.3
0:  sanitize (5.0.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sanitize-5.0.0.gemspec
获取 aws-sdk-s3 1.36.1
安装 aws-sdk-s3 1.36.1
2:  activejob (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/activejob-5.2.3.gemspec
使用 active_model_serializers 0.8.4
2:  active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/active_model_serializers-0.8.4.gemspec
获取 activerecord 5.2.3
安装 activerecord 5.2.3
1:  actionview (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/actionview-5.2.3.gemspec
获取 onebox 1.8.92
安装 onebox 1.8.92
0:  aws-sdk-s3 (1.36.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-sdk-s3-1.36.1.gemspec
获取 actionpack 5.2.3
安装 actionpack 5.2.3
1:  onebox (1.8.92) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/onebox-1.8.92.gemspec
2:  activerecord (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/activerecord-5.2.3.gemspec
使用 seed-fu 2.3.9
1:  seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/seed-fu-2.3.9.gemspec
0:  actionpack (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/actionpack-5.2.3.gemspec
获取 railties 5.2.3
使用 sprockets-rails 3.2.1
2:  sprockets-rails (3.2.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sprockets-rails-3.2.1.gemspec
获取 actionmailer 5.2.3
安装 actionmailer 5.2.3
安装 railties 5.2.3
1:  actionmailer (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/actionmailer-5.2.3.gemspec
0:  railties (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/railties-5.2.3.gemspec
使用 rails_multisite 2.0.7
2:  rails_multisite (2.0.7) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/rails_multisite-2.0.7.gemspec
获取 sassc-rails 2.1.1
获取 lograge 0.11.0
获取 jquery-rails 4.3.3
安装 sassc-rails 2.1.1
安装 lograge 0.11.0
1:  lograge (0.11.0) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/lograge-0.11.0.gemspec
安装 jquery-rails 4.3.3
2:  sassc-rails (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/sassc-rails-2.1.1.gemspec
0:  jquery-rails (4.3.3) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/jquery-rails-4.3.3.gemspec
使用 ember-rails 0.18.5
1:  ember-rails (0.18.5) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/ember-rails-0.18.5.gemspec
捆绑完成!116 个 Gemfile 依赖项,152 个 gem 已安装。
test 和 development 组中的 gem 未安装。
捆绑的 gem 安装到了 `./vendor/bundle`
i18n 的安装后消息:

注意!i18n 1.1 更改了回退机制,排除了默认语言环境。
但这可能会破坏你的应用程序。

请检查你的 Rails 应用中是否有 'config.i18n.fallbacks = true'。
如果你使用的是 I18n (>= 1.1.0) 和 Rails (< 5.2.2),这应该是
'config.i18n.fallbacks = [I18n.default_locale]'。
否则,I18n 1.1.x 将导致你应用中的回退机制失效。

更多信息请参阅:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0


I, [2020-02-04T11:59:19.741293 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake 中止!
Gem::MissingSpecError: 在总共 254 个 gem 中找不到 'addressable' (>= 2.3.5)
已在 'GEM_PATH=/var/www/discourse/vendor/bundle/ruby/2.6.0' 中检查,执行 `gem env` 以获取更多信息
/var/www/discourse/lib/plugin_gem.rb:20:in `load'
/var/www/discourse/lib/plugin/instance.rb:570:in `gem'
/var/www/discourse/plugins/discourse-github/plugin.rb:9:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:496:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:496:in `activate!'
lib/discourse.rb:172:in `block in activate_plugins!'
lib/discourse.rb:169:in `each'
lib/discourse.rb:169:in `activate_plugins!'
/var/www/discourse/config/application.rb:261:in `<class:Application>'
/var/www/discourse/config/application.rb:58:in `<module:Discourse>'
/var/www/discourse/config/application.rb:57:in `<top (required)>'
/var/www/discourse/Rakefile:7:in `require'
/var/www/discourse/Rakefile:7:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(通过运行带有 --trace 的任务查看完整跟踪)
I, [2020-02-04T11:59:23.993010 #1]  INFO -- : gem install sawyer -v 0.8.2 -i /var/www/discourse/plugins/discourse-github/gems/2.6.5 --no-document --ignore-dependencies --no-user-install
成功安装 sawyer-0.8.2
1 个 gem 已安装

I, [2020-02-04T11:59:23.993577 #1]  INFO -- : 终止异步进程
I, [2020-02-04T11:59:23.993648 #1]  INFO -- : 向 HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/10/bin/postmaster -D /etc/postgresql/10/main pid: 49 发送 INT
2020-02-04 11:59:23.993 UTC [49] LOG:  收到快速关闭请求
I, [2020-02-04T11:59:23.993913 #1]  INFO -- : 向 exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 166 发送 TERM
166:signal-handler (1580817563) 收到 SIGTERM 计划关闭...
2020-02-04 11:59:23.995 UTC [49] LOG:  中止任何活跃事务
2020-02-04 11:59:23.999 UTC [49] LOG:  worker process: logical replication launcher (PID 58) 以退出代码 1 退出
2020-02-04 11:59:23.999 UTC [53] LOG:  正在关闭
2020-02-04 11:59:24.013 UTC [49] LOG:  数据库系统已关闭
166:M 04 Feb 2020 11:59:24.017 # 用户请求关闭...
166:M 04 Feb 2020 11:59:24.017 * 退出前保存最终 RDB 快照。
166:M 04 Feb 2020 11:59:24.158 * 数据库已保存到磁盘
166:M 04 Feb 2020 11:59:24.158 # Redis 现在准备退出,再见...


失败
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' 失败,返回 #<Process::Status: pid 18297 exit 1>
失败位置: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec 失败,参数为 {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
3504d432db12bbe88cf973f6b9b7665e95ecd4f7f082b7efa41b0d92751bb3b4
** 引导失败 ** 请向上滚动并查看早期的错误消息,可能不止一个。
./discourse-doctor 可能有助于诊断问题。
root@discourse:/docker-app/discourse#

以及我经过部分模糊处理的 app.yml

app.yml
root@discourse:/docker-app/discourse# cat /docker-app/discourse/containers/app.yml
## 这是 Discourse Docker 容器的全能独立模板
##
## 修改此文件后,您必须重建
## /var/discourse/launcher rebuild app
##
## 编辑时请 *非常* 小心!
## YAML 文件对空格或对齐的错误非常敏感!
## 如有需要,请访问 http://www.yamllint.com/ 验证此文件

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
## 如果您希望添加 Lets Encrypt (https),请取消下面两行的注释
  #- "templates/web.ssl.template.yml"
  #- "templates/web.letsencrypt.ssl.template.yml"

## 此容器应暴露哪些 TCP/IP 端口?
## 如果您希望 Discourse 与 Apache 或 nginx 等其他 Web 服务器共享端口,
## 请参阅 https://meta.discourse.org/t/17247 以获取详细信息
expose:
  - "8080:80"   # http
  - "4434:443" # https

params:
  db_default_text_search_config: "pg_catalog.english"

  ## 将 db_shared_buffers 设置为总内存的 25% 以内。
  ## 引导程序将根据检测到的 RAM 自动设置,或者您可以覆盖
  db_shared_buffers: "256MB"

  ## 可以提高排序性能,但会增加每个连接的内存使用量
  #db_work_mem: "40MB"

  ## 此容器应使用哪个 Git 版本?(默认:tests-passed)
  version: stable

env:
  LANG: en_US.UTF-8
  # DISCOURSE_DEFAULT_LOCALE: en

  ## 支持多少并发 Web 请求?取决于内存和 CPU 核心数。
  ## 引导程序将根据检测到的 CPU 自动设置,或者您可以覆盖
  UNICORN_WORKERS: 4

  ## TODO: 此 Discourse 实例将响应的域名
  ## 必需。Discourse 无法使用裸 IP 地址运行。
  DISCOURSE_HOSTNAME: community.suitecrm.com

  ## 如果您希望容器以与上述相同的
  ## 主机名(-h 选项)启动,请取消注释(默认 "$hostname-$config")
  #DOCKER_USE_HOSTNAME: true

  ## TODO: 将在初始注册时设为管理员和开发者的逗号分隔电子邮件列表
  ## 例如 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: 'xxxxx@xxxxxxxxxxxx.com'

  ## TODO: 用于验证新账户和发送通知的 SMTP 邮件服务器
  # SMTP 地址、用户名和密码是必需的
  # 警告:SMTP 密码中的字符 '#' 可能会引起问题!
  (...)
  
  ## 如果您添加了 Lets Encrypt 模板,请取消下面一行的注释以获取免费 SSL 证书
  #LETSENCRYPT_ACCOUNT_EMAIL: me@example.com

  ## 此 Discourse 实例的 CDN 地址(配置为拉取)
  ## 请参阅 https://meta.discourse.org/t/14857 以获取详细信息
  #DISCOURSE_CDN_URL: //discourse-cdn.example.com

  # 由 Pgr Jan/20 添加以解决重建错误,https://meta.discourse.org/t/upgrade-rebuilds-fail-due-to-maxmind-db-eol/137387
  DISCOURSE_REFRESH_MAXMIND_DB_DURING_PRECOMPILE_DAYS: 0

## Docker 容器是无状态的;所有数据存储在 /shared 中
volumes:
  - volume:
      host: /docker-app/standalone
      guest: /shared
  - volume:
      host: /docker-app/standalone/log/var-log
      guest: /var/log

## 插件放在这里
## 请参阅 https://meta.discourse.org/t/19157 以获取详细信息
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/communiteq/discourse-migratepassword.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-github.git
          - apt update; apt install tmux nano wget inetutils-ping libsqlite3-dev default-libmysqlclient-dev -y
          - gem install mysql2
          - gem install bcrypt -v 3.1.3 -i /var/www/discourse/plugins/discourse-migratepassword/gems/2.5.1 --no-document --ignore-dependencies
          - gem install unix-crypt -v 1.3.0 -i /var/www/discourse/plugins/discourse-migratepassword/gems/2.5.1 --no-document --ignore-dependencies
          - chown -R discourse /var/www/discourse/plugins/discourse-migratepassword/

## 构建后运行的任何自定义命令
run:
  - exec: echo "Beginning of custom commands"
  ## 如果您想设置首次注册的“发件人”电子邮件地址,请取消注释并更改:
  ## 收到第一封注册电子邮件后,重新注释该行。它只需运行一次。
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "End of custom commands"

networks:
  - app

能否有人提供一些关于如何排查此问题的建议?我希望能尽量减少重建尝试的次数,因为每次重建都会让我的社区下线几分钟。谢谢

禁用除 Docker 管理器以外的所有内容并重新构建,您可以直接注释掉相关行。

由于您使用的是稳定版,这可能意味着某个插件再次出现了不同步的情况。

只需移除 discourse-github 插件即可让重建正常工作。

我本来很期待尝试这个插件……:frowning:

我也遇到了同样的问题。这可能与以下链接有关:

但我不是专家。

很遗憾,您需要在变更发生之前,通过检出特定的 SHA 来获取较早版本的 discourse-github。

我们将在未来一两周内发布新的稳定版。

新版本 2.4.1 是修复此问题的版本吗?

由于这是我们社区首次安装该插件,我们决定先等待一个可用的版本再尝试安装。我查看了此新版本中的提交标题,但没有发现与此问题相关的内容,因此在此提问。谢谢!

‘addressable’ 已包含在当前稳定版中,是的。

我刚刚将 Discourse 升级到 2.4.1,并同时添加了最新的 discourse-github 插件。很高兴确认它运行正常。谢谢。