Olá, comunidade do Discourse,
Hoqui, tentei atualizar minha instância do Discourse multisite. De acordo com o e-mail que recebi:
Sua versão: 2.7.0.beta4
Nova versão: 2.7.0.beta5
Então, fiz login via SSH no servidor, mudei para o diretório /var/discourse, executei um git pull e um ./launcher rebuild app.
Infelizmente, isso falhou.
./launcher rebuild app
Garantindo que o launcher está atualizado
Buscando origin
Launcher está atualizado
Parando o container antigo
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Já está atualizado.
I, [2021-03-12T11:56:14.238266 #1] INFO -- : Carregando --stdin
I, [2021-03-12T11:56:14.249154 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2021-03-12T11:56:14.321067 #1] INFO -- : Gerando locales (isso pode levar um tempo)...
Geração concluída.
I, [2021-03-12T11:56:14.321626 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2021-03-12T11:56:14.332795 #1] INFO -- :
I, [2021-03-12T11:56:14.333382 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-03-12T11:56:14.337573 #1] INFO -- :
I, [2021-03-12T11:56:14.338086 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2021-03-12T11:56:14.341662 #1] INFO -- :
I, [2021-03-12T11:56:14.342086 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2021-03-12T11:56:14.345471 #1] INFO -- :
I, [2021-03-12T11:56:14.345849 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-03-12T11:56:14.349051 #1] INFO -- :
I, [2021-03-12T11:56:14.349415 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres já está em execução, pare o container ; exit 1
2021/03/12 11:56:14 socat[29] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): Arquivo ou diretório não encontrado
I, [2021-03-12T11:56:14.360417 #1] INFO -- :
I, [2021-03-12T11:56:14.360833 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-03-12T11:56:14.365343 #1] INFO -- :
I, [2021-03-12T11:56:14.365687 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-03-12T11:56:14.369748 #1] INFO -- :
I, [2021-03-12T11:56:14.370120 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-12T11:56:14.373249 #1] INFO -- :
I, [2021-03-12T11:56:14.374013 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-12T11:56:14.377067 #1] INFO -- :
I, [2021-03-12T11:56:14.383919 #1] INFO -- : Arquivo > /etc/service/postgres/run chmod: +x chown:
I, [2021-03-12T11:56:14.391884 #1] INFO -- : Arquivo > /etc/service/postgres/log/run chmod: +x chown:
I, [2021-03-12T11:56:14.402147 #1] INFO -- : Arquivo > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2021-03-12T11:56:14.408816 #1] INFO -- : Arquivo > /root/upgrade_postgres chmod: +x chown:
I, [2021-03-12T11:56:14.409247 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-03-12T11:56:21.888748 #1] INFO -- :
I, [2021-03-12T11:56:21.889200 #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-12T11:56:21.892545 #1] INFO -- :
I, [2021-03-12T11:56:21.892691 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-03-12T11:56:21.959651 #1] INFO -- :
I, [2021-03-12T11:56:21.959862 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-03-12T11:56:21.963797 #1] INFO -- :
I, [2021-03-12T11:56:21.964287 #1] INFO -- : > /root/upgrade_postgres
I, [2021-03-12T11:56:21.971460 #1] INFO -- :
I, [2021-03-12T11:56:21.971936 #1] INFO -- : > rm /root/upgrade_postgres
I, [2021-03-12T11:56:21.974953 #1] INFO -- :
I, [2021-03-12T11:56:21.976222 #1] INFO -- : Substituindo data_directory = '/var/lib/postgresql/13/main' por data_directory = '/shared/postgres_data' em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.977792 #1] INFO -- : Substituindo (?-mix:#?listen_addresses *=.*) por listen_addresses = '*' em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.986524 #1] INFO -- : Substituindo (?-mix:#?synchronous_commit *=.*) por synchronous_commit = $db_synchronous_commit em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.987239 #1] INFO -- : Substituindo (?-mix:#?shared_buffers *=.*) por shared_buffers = $db_shared_buffers em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.987867 #1] INFO -- : Substituindo (?-mix:#?work_mem *=.*) por work_mem = $db_work_mem em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.988504 #1] INFO -- : Substituindo (?-mix:#?default_text_search_config *=.*) por default_text_search_config = '$db_default_text_search_config' em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.989042 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-03-12T11:56:21.997633 #1] INFO -- :
I, [2021-03-12T11:56:21.999066 #1] INFO -- : Substituindo (?-mix:#?checkpoint_segments *=.*) por checkpoint_segments = $db_checkpoint_segments em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:22.000019 #1] INFO -- : Substituindo (?-mix:#?logging_collector *=.*) por logging_collector = $db_logging_collector em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:22.000859 #1] INFO -- : Substituindo (?-mix:#?log_min_duration_statement *=.*) por log_min_duration_statement = $db_log_min_duration_statement em /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:22.001943 #1] INFO -- : Substituindo (?-mix:^#local +replication +postgres +peer$) por local replication postgres peer em /etc/postgresql/13/main/pg_hba.conf
I, [2021-03-12T11:56:22.002716 #1] INFO -- : Substituindo (?-mix:^host.*all.*all.*127.*$) por host all all 0.0.0.0/0 md5 em /etc/postgresql/13/main/pg_hba.conf
I, [2021-03-12T11:56:22.010527 #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-12T11:56:22.014118 #1] INFO -- : > sleep 5
2021-03-12 11:56:22.097 UTC [52] LOG: iniciando PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) em x86_64-pc-linux-gnu, compilado por gcc (Debian 8.3.0-6) 8.3.0, 64 bits
2021-03-12 11:56:22.099 UTC [52] LOG: ouvindo no endereço IPv4 "0.0.0.0", porta 5432
2021-03-12 11:56:22.099 UTC [52] LOG: ouvindo no endereço IPv6 "::", porta 5432
2021-03-12 11:56:22.110 UTC [52] LOG: ouvindo no soquete Unix "/var/run/postgresql/.s.PGSQL.5432"
2021-03-12 11:56:22.129 UTC [55] LOG: sistema de banco de dados foi desligado em 2021-03-12 11:55:56 UTC
2021-03-12 11:56:22.151 UTC [52] LOG: sistema de banco de dados está pronto para aceitar conexões
I, [2021-03-12T11:56:27.019556 #1] INFO -- :
I, [2021-03-12T11:56:27.020093 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2021-03-12 11:56:27.125 UTC [65] postgres@postgres ERROR: banco de dados "discourse" já existe
2021-03-12 11:56:27.125 UTC [65] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: erro: falha na criação do banco de dados: ERROR: banco de dados "discourse" já existe
I, [2021-03-12T11:56:27.128162 #1] INFO -- :
I, [2021-03-12T11:56:27.128703 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-03-12 11:56:27.250 UTC [76] postgres@discourse ERROR: papel "discourse" já existe
2021-03-12 11:56:27.250 UTC [76] postgres@discourse STATEMENT: create user discourse;
ERROR: papel "discourse" já existe
I, [2021-03-12T11:56:27.252703 #1] INFO -- :
I, [2021-03-12T11:56:27.253255 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-03-12T11:56:27.337166 #1] INFO -- : GRANT
I, [2021-03-12T11:56:27.337619 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-03-12T11:56:27.425790 #1] INFO -- : ALTER SCHEMA
I, [2021-03-12T11:56:27.426500 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extensão "hstore" já existe, ignorando
I, [2021-03-12T11:56:27.526741 #1] INFO -- : CREATE EXTENSION
I, [2021-03-12T11:56:27.527227 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extensão "pg_trgm" já existe, ignorando
I, [2021-03-12T11:56:27.611653 #1] INFO -- : CREATE EXTENSION
I, [2021-03-12T11:56:27.612139 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extensão "hstore" já existe, ignorando
I, [2021-03-12T11:56:27.695641 #1] INFO -- : CREATE EXTENSION
I, [2021-03-12T11:56:27.696131 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extensão "pg_trgm" já existe, ignorando
I, [2021-03-12T11:56:27.779551 #1] INFO -- : CREATE EXTENSION
I, [2021-03-12T11:56:27.780104 #1] INFO -- : > sudo -u postgres psql discourse
I, [2021-03-12T11:56:27.783417 #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-12T11:56:27.885899 #1] INFO -- : Arquivo > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2021-03-12T11:56:27.889959 #1] INFO -- : Arquivo > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2021-03-12T11:56:27.890160 #1] INFO -- : > echo postgres instalado!
I, [2021-03-12T11:56:27.892776 #1] INFO -- : postgres instalado!
I, [2021-03-12T11:56:27.898926 #1] INFO -- : Arquivo > /etc/service/redis/run chmod: +x chown:
I, [2021-03-12T11:56:27.904772 #1] INFO -- : Arquivo > /etc/service/redis/log/run chmod: +x chown:
I, [2021-03-12T11:56:27.910473 #1] INFO -- : Arquivo > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2021-03-12T11:56:27.911376 #1] INFO -- : Substituindo daemonize yes por em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.912193 #1] INFO -- : Substituindo (?-mix:^pidfile.*$) por em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.920377 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-03-12T11:56:27.927016 #1] INFO -- :
I, [2021-03-12T11:56:27.927727 #1] INFO -- : Substituindo (?-mix:^logfile.*$) por logfile "" em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.928646 #1] INFO -- : Substituindo (?-mix:^bind .*$) por em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.929485 #1] INFO -- : Substituindo (?-mix:^dir .*$) por dir /shared/redis_data em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.930418 #1] INFO -- : Substituindo (?-mix:^protected-mode yes) por protected-mode no em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.931251 #1] INFO -- : Substituindo # io-threads 4 por io-threads $redis_io_threads em /etc/redis/redis.conf
I, [2021-03-12T11:56:27.932240 #1] INFO -- : > echo redis instalado
I, [2021-03-12T11:56:27.935013 #1] INFO -- : redis instalado
I, [2021-03-12T11:56:27.935324 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-03-12T11:56:27.939980 #1] INFO -- : logfile ""
I, [2021-03-12T11:56:27.940321 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-12T11:56:27.942289 #1] INFO -- : > sleep 10
169:C 12 Mar 2021 11:56:27.949 # oO0OoO0OoO0Oo Redis está iniciando oO0OoO0OoO0Oo
169:C 12 Mar 2021 11:56:27.949 # Versão do Redis=6.0.10, bits=64, commit=00000000, modificado=0, pid=169, acabou de iniciar
169:C 12 Mar 2021 11:56:27.949 # Configuração carregada
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 6.0.10 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Executando em modo standalone
|`-._`-...-` __...-.``-._|'` _.-'| Porta: 6379
| `-._ `._ / _.-' | PID: 169
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
169:M 12 Mar 2021 11:56:27.951 # WARNING: A configuração de backlog TCP de 511 não pode ser imposta porque /proc/sys/net/core/somaxconn está definida para o valor menor de 128.
169:M 12 Mar 2021 11:56:27.951 # Servidor inicializado
169:M 12 Mar 2021 11:56:27.951 # WARNING overcommit_memory está definido como 0! A economia em segundo plano pode falhar em condições de memória baixa. Para corrigir esse problema, adicione 'vm.overcommit_memory = 1' ao /etc/sysctl.conf e reinicie ou execute o comando 'sysctl vm.overcommit_memory=1' para que isso entre em vigor.
169:M 12 Mar 2021 11:56:27.952 * Carregando RDB produzido pela versão 6.0.10
169:M 12 Mar 2021 11:56:27.952 * Idade do RDB 32 segundos
169:M 12 Mar 2021 11:56:27.952 * Uso de memória do RDB quando criado 14.44 Mb
169:M 12 Mar 2021 11:56:27.999 * Banco de dados carregado do disco: 0.047 segundos
169:M 12 Mar 2021 11:56:27.999 * Pronto para aceitar conexões
I, [2021-03-12T11:56:37.945872 #1] INFO -- :
I, [2021-03-12T11:56:37.946561 #1] INFO -- : > thpoff echo "thpoff está instalado!"
I, [2021-03-12T11:56:37.962190 #1] INFO -- : thpoff está instalado!
I, [2021-03-12T11:56:37.962808 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Abortando! E-mail não está configurado!"; exit 1; end'
I, [2021-03-12T11:56:38.136041 #1] INFO -- :
I, [2021-03-12T11:56:38.136793 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Abortando! Domínio não está configurado!"; exit 1; end'
I, [2021-03-12T11:56:38.257693 #1] INFO -- :
I, [2021-03-12T11:56:38.258340 #1] INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Abortando! CDN deve ter um protocolo especificado. Uma vez corrigido, você deve rebake seus posts agora para corrigir todos os posts."; exit 1; end'
I, [2021-03-12T11:56:38.367084 #1] INFO -- :
I, [2021-03-12T11:56:38.367676 #1] INFO -- : > chown -R discourse /home/discourse
I, [2021-03-12T11:56:42.373028 #1] INFO -- :
I, [2021-03-12T11:56:42.373979 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-03-12T11:56:42.381252 #1] INFO -- :
I, [2021-03-12T11:56:42.385040 #1] INFO -- : Arquivo > /etc/cron.d/anacron chmod: chown:
I, [2021-03-12T11:56:42.391412 #1] INFO -- : Arquivo > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2021-03-12T11:56:42.397414 #1] INFO -- : Arquivo > /etc/service/unicorn/run chmod: +x chown:
I, [2021-03-12T11:56:42.403267 #1] INFO -- : Arquivo > /etc/service/nginx/run chmod: +x chown:
I, [2021-03-12T11:56:42.409182 #1] INFO -- : Arquivo > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2021-03-12T11:56:42.415115 #1] INFO -- : Arquivo > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2021-03-12T11:56:42.415478 #1] INFO -- : Substituindo # postgres por sv start postgres || exit 1 em /etc/service/unicorn/run
I, [2021-03-12T11:56:42.416083 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-12T11:56:42.419023 #1] INFO -- : > cd /var/www/discourse && git reset --hard
198:C 12 Mar 2021 11:56:42.423 # oO0OoO0OoO0Oo Redis está iniciando oO0OoO0OoO0Oo
198:C 12 Mar 2021 11:56:42.423 # Versão do Redis=6.0.10, bits=64, commit=00000000, modificado=0, pid=198, acabou de iniciar
198:C 12 Mar 2021 11:56:42.423 # Configuração carregada
198:M 12 Mar 2021 11:56:42.424 # Não foi possível criar o soquete de escuta TCP do servidor *:6379: bind: Endereço já em uso
Verificando arquivos: 100% (28489/28489), concluído.
I, [2021-03-12T11:56:47.419391 #1] INFO -- : HEAD está agora em c4ff6def UX: alterar emailLogin para classe info quando vazio (#12105)
I, [2021-03-12T11:56:47.419999 #1] INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-03-12T11:56:47.610349 #1] INFO -- :
I, [2021-03-12T11:56:47.611036 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-03-12T11:56:47.616703 #1] INFO -- :
I, [2021-03-12T11:56:47.617284 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-03-12T11:56:47.622394 #1] INFO -- :
I, [2021-03-12T11:56:47.622933 #1] INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
De https://github.com/discourse/discourse
* branch tests-passed -> FETCH_HEAD
* [new branch] tests-passed -> origin/tests-passed
I, [2021-03-12T11:56:50.342564 #1] INFO -- :
I, [2021-03-12T11:56:50.343035 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Mudou para uma nova branch 'tests-passed'
I, [2021-03-12T11:56:51.154118 #1] INFO -- : Branch 'tests-passed' configurado para rastrear branch remota 'tests-passed' de 'origin'.
I, [2021-03-12T11:56:51.154674 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-03-12T11:56:51.176871 #1] INFO -- :
I, [2021-03-12T11:56:51.177556 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-03-12T11:56:51.182949 #1] INFO -- :
I, [2021-03-12T11:56:51.183427 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-03-12T11:56:51.188113 #1] INFO -- :
I, [2021-03-12T11:56:51.188560 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-03-12T11:56:51.192692 #1] INFO -- :
I, [2021-03-12T11:56:51.193248 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-03-12T11:56:51.206386 #1] INFO -- :
I, [2021-03-12T11:56:51.207023 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2021-03-12T11:56:51.212369 #1] INFO -- :
I, [2021-03-12T11:56:51.212860 #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-12T11:56:51.220182 #1] INFO -- :
I, [2021-03-12T11:56:51.220414 #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-12T11:56:51.227126 #1] INFO -- :
I, [2021-03-12T11:56:51.227326 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2021-03-12T11:56:51.233623 #1] INFO -- :
I, [2021-03-12T11:56:51.233796 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-03-12T11:56:51.253826 #1] INFO -- :
I, [2021-03-12T11:56:51.254455 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2021-03-12T11:56:51.261816 #1] INFO -- :
I, [2021-03-12T11:56:51.262331 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-03-12T11:56:51.268122 #1] INFO -- :
I, [2021-03-12T11:56:51.268302 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-03-12T11:56:51.297876 #1] INFO -- :
I, [2021-03-12T11:56:51.298577 #1] INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-03-12T11:56:51.313307 #1] INFO -- :
I, [2021-03-12T11:56:51.313689 #1] INFO -- : Substituindo # redis por sv start redis || exit 1 em /etc/service/unicorn/run
I, [2021-03-12T11:56:51.314571 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonando em 'docker_manager'...
I, [2021-03-12T11:56:53.452046 #1] INFO -- :
I, [2021-03-12T11:56:53.452754 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.458379 #1] INFO -- :
I, [2021-03-12T11:56:53.458987 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-03-12T11:56:53.462286 #1] INFO -- :
I, [2021-03-12T11:56:53.462694 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2021-03-12T11:56:53.465967 #1] INFO -- :
I, [2021-03-12T11:56:53.466707 #1] INFO -- : Substituindo pid /run/nginx.pid; por daemon off; em /etc/nginx/nginx.conf
I, [2021-03-12T11:56:53.468033 #1] INFO -- : Substituindo (?m-ix:upstream[^\}]+\}) por upstream discourse { server 127.0.0.1:3000; } em /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.468797 #1] INFO -- : Substituindo (?-mix:server_name.+$) por server_name _ ; em /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.476470 #1] INFO -- : Substituindo (?-mix:client_max_body_size.+$) por client_max_body_size $upload_size ; em /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.477143 #1] INFO -- : > echo "concluída configuração web"
I, [2021-03-12T11:56:53.479943 #1] INFO -- : concluída configuração web
I, [2021-03-12T11:56:53.480515 #1] INFO -- : > cd /var/www/discourse && gem update bundler
I, [2021-03-12T11:57:02.030942 #1] INFO -- : Atualizando gems instalados
Atualizando bundler
Bundler-2.2.14 instalado com sucesso
Gems atualizados: bundler
I, [2021-03-12T11:57:02.031261 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-03-12T11:57:20.129383 #1] INFO -- :
I, [2021-03-12T11:57:20.130344 #1] INFO -- : > ln -s /multisite/multisite.yml /var/www/discourse/config/multisite.yml
I, [2021-03-12T11:57:20.135472 #1] INFO -- :
I, [2021-03-12T11:57:20.136021 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[DEPRECATED] A flag `--deployment` está obsoleta porque depende de ser lembrada entre invocações do bundler, o que o bundler não fará mais em versões futuras. Em vez disso, use `bundle config set --local deployment 'true'` e pare de usar esta flag
[DEPRECATED] A flag `--without` está obsoleta porque depende de ser lembrada entre invocações do bundler, o que o bundler não fará mais em versões futuras. Em vez disso, use `bundle config set --local without 'test development'` e pare de usar esta flag
I, [2021-03-12T11:58:09.626235 #1] INFO -- : Executando `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` com bundler 2.2.14
Congelado, usando resolução do lockfile
Bundler::PathError: O caminho `/var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6` não existe.
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/path.rb:207:in `load_spec_files'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/git.rb:203:in `load_spec_files'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/path.rb:105:in `local_specs'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/git.rb:170:in `specs'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/lazy_specification.rb:72:in `__materialize__'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:86:in `block in materialize'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:214:in `missing_specs'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:219:in `missing_specs?'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:288:in `resolve_if_needed'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:83:in `block in run'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/process_lock.rb:12:in `block in lock'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/process_lock.rb:9:in `open'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/process_lock.rb:9:in `lock'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:72:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:24:in `install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli/install.rb:64:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:259:in `block in install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/settings.rb:115:in `temporary'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:258:in `install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:30:in `dispatch'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:24:in `start'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/exe/bundle:49:in `block in <top (required)>'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/exe/bundle:37:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
A definição está faltando dependências, falha ao resolver e materializar localmente (https://github.com/discourse/mail.git ainda não foi verificado. Execute `bundle install` primeiro.)
Congelado, using resolution from the 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
Fetching gem metadata from https://rubygems.org/
Looking up 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", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "faraday-net_http", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "json", "uri_template", "json_schemer", "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/minitest
HTTP GET https://index.rubygems.org/info/nokogiri
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/aws-sdk-kms
HTTP 206 Partial Content https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/aws-sigv4
HTTP GET https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sigv4
HTTP GET https://index.rubygems.org/info/discourse-ember-source
HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/ecma-re-validator
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-ember-source
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-kms
HTTP 200 OK https://index.rubygems.org/info/ecma-re-validator
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/hana
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/json_schemer
HTTP GET https://index.rubygems.org/info/discourse-fonts
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-fonts
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/uri_template
HTTP 206 Partial Content https://index.rubygems.org/info/regexp_parser
HTTP 200 OK https://index.rubygems.org/info/uri_template
HTTP GET https://index.rubygems.org/info/ffi
HTTP 206 Partial Content https://index.rubygems.org/info/ffi
HTTP 200 OK https://index.rubygems.org/info/hana
HTTP 200 OK https://index.rubygems.org/info/json_schemer
HTTP GET https://index.rubygems.org/info/oj
HTTP GET https://index.rubygems.org/info/nio4r
HTTP GET https://index.rubygems.org/info/fastimage
HTTP GET https://index.rubygems.org/info/omniauth
HTTP 206 Partial Content https://index.rubygems.org/info/nio4r
HTTP 206 Partial Content https://index.rubygems.org/info/oj
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth
HTTP GET https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/puma
Looking up gems ["functional-ruby", "ref", "jsonapi", "case_transform", "jsonapi-renderer", "rails-deprecated_sanitizer", "bcrypt-ruby", "rspec", "atomic", "arel", "activerecord-deprecated_finders", "text-format", "mime-types", "treetop", "tlsmail", "erubis", "json_pure", "activemodel-globalid", "rack-mount", "rack-cache", "journey", "memcache-client", "ember-template-compiler-source", "handlebars-source", "hike", "rdoc", "columnize", "debugger-linecache", "slop", "rb-readline", "rails", "ruby_parser", "hoe", "weakling", "mini_portile", "mini_portile2", "pkg-config", "snappy", "rb-appscript", "xattr", "ffi-xattr", "rack-ssl", "rake-compiler", "stud", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "termios", "jamespath", "http-2", "rdf", "hpricot", "bigdecimal", "ruby-hmac", "faraday-middleware", "httpauth", "eventmachine", "thin", "pry-doc", "win32console", "yard", "spoon", "escape_utils", "base32", "trollop", "listen", "therubyracer", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "bundler", "moneta", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader"]
HTTP GET https://index.rubygems.org/info/rdf
HTTP 200 OK https://index.rubygems.org/info/rdf
HTTP GET https://index.rubygems.org/info/bundler
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
Looking up gems ["bcrypt", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "ruby_core_source", "debugger-ruby_core_source", "mime-types-data", "multimap", "ZenTest", "RubyInline", "rspec-core", "rspec-expectations", "rspec-mocks", "text-hyphen", "facets", "polyglot", "abstract", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "temple", "snappy-jars", "jsonapi-parser", "ParseTree", "sexp_processor", "rubyforge", "gemcutter", "sass-listen", "spruz", "daemons", "metriks", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "sprockets-helpers", "mongrel", "backports", "mustermann", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "rack-openid", "ruby-openid-apps-discovery", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "rest-client", "restclient", "curses", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "link_header", "hamster"]
HTTP GET https://index.rubygems.org/info/mime-types-data
HTTP 206 Partial Content https://index.rubygems.org/info/mime-types-data
HTTP GET https://index.rubygems.org/info/hamster
HTTP GET https://index.rubygems.org/info/link_header
HTTP 200 OK https://index.rubygems.org/info/hamster
HTTP 200 OK https://index.rubygems.org/info/link_header
Looking up gems ["marcel", "mimemagic", "rspec-support", "diff-lcs", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "hitimes", "CFPropertyList", "sys-admin", "win32-api", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "net-scp", "celluloid-gems", "coveralls", "rubocop", "dotenv-deployment", "rails-observers", "activemodel-serializers-xml", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "netrc", "http-cookie", "http-accept", "ruby-openid", "log4r", "archive-tar-minitar", "SexpProcessor", "blankslate", "macaddr", "tool"]
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
Looking up gems ["websocket-extensions", "net-ssh", "coffee-script", "configuration", "mkrf", "test-unit", "ffi-win32-extensions", "minitar", "minitar-cli", "hiredis", "domain_name", "sqlite3", "libxml-ruby", "systemu", "term-ansicolor", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "tins", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast", "colorize", "simplecov", "roauth", "ruby-yadis"]
HTTP GET https://index.rubygems.org/info/psych
HTTP 206 Partial Content https://index.rubygems.org/info/psych
Looking up gems ["coffee-script-source", "power_assert", "ast", "sync", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "powerbar", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "jar-dependencies", "strscan"]
Looking up gems ["ansi", "pattern-match", "ruby-maven"]
Looking up gems ["maven-tools", "ruby-maven-libs"]
Looking up gems ["virtus"]
Looking up gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
Looking up gems ["ice_nine", "adamantium"]
Looking up gems ["memoizable"]
Fetching https://github.com/discourse/mail.git
Using rake 13.0.3
0: rake (13.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.3.gemspec
Using concurrent-ruby 1.1.8
0: concurrent-ruby (1.1.8) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.8.gemspec
Fetching minitest 5.14.4
Using thread_safe 0.3.6
1: thread_safe (0.3.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thread_safe-0.3.6.gemspec
Using zeitwerk 2.4.2
1: zeitwerk (2.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.4.2.gemspec
Using builder 3.2.4
1: builder (3.2.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/builder-3.2.4.gemspec
Using erubi 1.10.0
1: erubi (1.10.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/erubi-1.10.0.gemspec
Using racc 1.5.2
1: racc (1.5.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/racc-1.5.2.gemspec
Using crass 1.0.6
1: crass (1.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/crass-1.0.6.gemspec
Using rack 2.2.3
1: rack (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-2.2.3.gemspec
Using mini_mime 1.0.2
1: mini_mime (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_mime-1.0.2.gemspec
Using public_suffix 4.0.6
1: public_suffix (4.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/public_suffix-4.0.6.gemspec
Using jmespath 1.4.0
Fetching aws-eventstream 1.1.1
Fetching aws-partitions 1.432.0
3: jmespath (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jmespath-1.4.0.gemspec
Using ember-source 2.18.2
3: ember-source (2.18.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-source-2.18.2.gemspec
Using execjs 2.7.0
3: execjs (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/execjs-2.7.0.gemspec
Using msgpack 1.4.2
3: msgpack (1.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
Using bundler 2.2.14
3: bundler (2.2.14) from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source
Using byebug 11.1.3
3: byebug (11.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/byebug-11.1.3.gemspec
Using cbor 0.5.9.6
3: cbor (0.5.9.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cbor-0.5.9.6.gemspec
Using chunky_png 1.4.0
3: chunky_png (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/chunky_png-1.4.0.gemspec
Using coderay 1.1.3
3: coderay (1.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/coderay-1.1.3.gemspec
Using colored2 3.1.2
3: colored2 (3.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/colored2-3.1.2.gemspec
Using connection_pool 2.2.3
3: connection_pool (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/connection_pool-2.2.3.gemspec
Using openssl 2.2.0
3: openssl (2.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-2.2.0.gemspec
Using cppjieba_rb 0.3.3
3: cppjieba_rb (0.3.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cppjieba_rb-0.3.3.gemspec
Using diffy 3.4.0
3: diffy (3.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/diffy-3.4.0.gemspec
Using method_source 1.0.0
3: method_source (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/method_source-1.0.0.gemspec
Using thor 1.1.0
3: thor (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thor-1.1.0.gemspec
Fetching discourse-ember-source 3.12.2.3
Installing aws-partitions 1.432.0
Installing aws-eventstream 1.1.1
Installing minitest 5.14.4
1: aws-eventstream (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-eventstream-1.1.1.gemspec
Fetching discourse-fonts 0.0.8
2: aws-partitions (1.432.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-partitions-1.432.0.gemspec
Using exifr 1.3.9
2: exifr (1.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/exifr-1.3.9.gemspec
Using fspath 3.1.2
2: fspath (3.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fspath-3.1.2.gemspec
Using image_size 1.5.0
2: image_size (1.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_size-1.5.0.gemspec
Using in_threads 1.5.4
2: in_threads (1.5.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/in_threads-1.5.4.gemspec
Using progress 3.5.2
2: progress (3.5.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/progress-3.5.2.gemspec
Fetching regexp_parser 2.1.1
Installing regexp_parser 2.1.1
0: minitest (5.14.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/minitest-5.14.4.gemspec
Using email_reply_trimmer 0.1.13
0: email_reply_trimmer (0.1.13) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/email_reply_trimmer-0.1.13.gemspec
Using excon 0.79.0
0: excon (0.79.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/excon-0.79.0.gemspec
Using faraday-net_http 1.0.1
0: faraday-net_http (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-net_http-1.0.1.gemspec
Using multipart-post 2.1.1
0: multipart-post (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multipart-post-2.1.1.gemspec
Using ruby2_keywords 0.0.4
0: ruby2_keywords (0.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby2_keywords-0.0.4.gemspec
Using fast_blank 1.0.0
0: fast_blank (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_blank-1.0.0.gemspec
Using fast_xs 0.8.0
0: fast_xs (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_xs-0.8.0.gemspec
Fetching fastimage 2.2.3
Installing fastimage 2.2.3
0: fastimage (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fastimage-2.2.3.gemspec
Fetching ffi 1.15.0
Installing ffi 1.15.0 with native extensions
2: regexp_parser (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/regexp_parser-2.1.1.gemspec
Using gc_tracer 1.5.1
2: gc_tracer (1.5.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/gc_tracer-1.5.1.gemspec
Using guess_html_encoding 0.0.11
2: guess_html_encoding (0.0.11) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/guess_html_encoding-0.0.11.gemspec
Fetching hana 1.3.7
Installing hana 1.3.7
2: hana (1.3.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hana-1.3.7.gemspec
Using hashie 4.1.0
2: hashie (4.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hashie-4.1.0.gemspec
Using highline 2.0.3
2: highline (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/highline-2.0.3.gemspec
Using hkdf 0.3.0
2: hkdf (0.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hkdf-0.3.0.gemspec
Using htmlentities 4.3.4
2: htmlentities (4.3.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/htmlentities-4.3.4.gemspec
Using http_accept_language 2.1.1
2: http_accept_language (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/http_accept_language-2.1.1.gemspec
Using json 2.5.1
2: json (2.5.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json-2.5.1.gemspec
Fetching uri_template 0.7.0
Installing uri_template 0.7.0
2: uri_template (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uri_template-0.7.0.gemspec
Using jwt 2.2.2
2: jwt (2.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jwt-2.2.2.gemspec
Using kgio 2.11.3
2: kgio (2.11.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/kgio-2.11.3.gemspec
Using libv8 8.4.255.0 (x86_64-linux)
2: libv8 (8.4.255.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/libv8-8.4.255.0-x86_64-linux.gemspec
Using logstash-event 1.2.02
2: logstash-event (1.2.02) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-event-1.2.02.gemspec
Fetching logster 2.9.6
Installing logster 2.9.6
Installing discourse-ember-source 3.12.2.3
Installing discourse-fonts 0.0.8
2: logster (2.9.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logster-2.9.6.gemspec
Using lru_redux 1.1.0
2: lru_redux (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lru_redux-1.1.0.gemspec
Using lz4-ruby 0.3.3
2: lz4-ruby (0.3.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lz4-ruby-0.3.3.gemspec
Using maxminddb 0.1.22
2: maxminddb (0.1.22) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/maxminddb-0.1.22.gemspec
Using memory_profiler 1.0.0
2: memory_profiler (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/memory_profiler-1.0.0.gemspec
Using redis 4.2.5
2: redis (4.2.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-4.2.5.gemspec
Using mini_sql 1.0.1
2: mini_sql (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_sql-1.0.1.gemspec
Using multi_json 1.15.0
2: multi_json (1.15.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multi_json-1.15.0.gemspec
Using multi_xml 0.6.0
2: multi_xml (0.6.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multi_xml-0.6.0.gemspec
Using mustache 1.1.1
2: mustache (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mustache-1.1.1.gemspec
Fetching nio4r 2.5.7
Installing nio4r 2.5.7 with native extensions
Building native extensions. This could take a while...
Building native extensions. This could take a while...
3: discourse-ember-source (3.12.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-source-3.12.2.3.gemspec
Using oauth 0.5.5
3: oauth (0.5.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth-0.5.5.gemspec
Fetching oj 3.11.3
Installing oj 3.11.3 with native extensions
1: discourse-fonts (0.0.8) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-fonts-0.0.8.gemspec
Using optimist 3.0.1
1: optimist (3.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/optimist-3.0.1.gemspec
Using pg 1.2.3
1: pg (1.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pg-1.2.3.gemspec
Using r2 0.2.7
1: r2 (0.2.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/r2-0.2.7.gemspec
Using raindrops 0.19.1
1: raindrops (0.19.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/raindrops-0.19.1.gemspec
Using rchardet 1.8.0
1: rchardet (1.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rchardet-1.8.0.gemspec
Using rinku 2.0.6
1: rinku (2.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rinku-2.0.6.gemspec
Using rotp 6.2.0
1: rotp (6.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rotp-6.2.0.gemspec
Using rqrcode_core 0.2.0
1: rqrcode_core (0.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode_core-0.2.0.gemspec
Using rtlit 0.0.5
1: rtlit (0.0.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rtlit-0.0.5.gemspec
Using rubyzip 2.3.0
1: rubyzip (2.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rubyzip-2.3.0.gemspec
Using tilt 2.0.10
1: tilt (2.0.10) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tilt-2.0.10.gemspec
Using sshkey 2.0.0
1: sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sshkey-2.0.0.gemspec
Using stackprof 0.2.16
1: stackprof (0.2.16) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/stackprof-0.2.16.gemspec
Using unf_ext 0.0.7.7
1: unf_ext (0.0.7.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf_ext-0.0.7.7.gemspec
Using xorcist 1.1.2
1: xorcist (1.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/xorcist-1.1.2.gemspec
Using i18n 1.8.9
1: i18n (1.8.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.9.gemspec
Using tzinfo 1.2.9
1: tzinfo (1.2.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-1.2.9.gemspec
Fetching nokogiri 1.11.2 (x86_64-linux)
Building native extensions. This could take a while..Ocorreu um erro na minha atualização
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Por favor, ajudem-me a corrigi-lo.
Instalando nokogiri 1.11.2 (x86_64-linux)
1: nokogiri (1.11.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.2-x86_64-linux.gemspec
Usando rack-test 1.1.0
1: rack-test (1.1.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-test-1.1.0.gemspec
Usando mail 2.8.0.edge de https://github.com/discourse/mail.git (em master@5b700fc)
1: mail (2.8.0.edge) de /var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
Usando addressable 2.7.0
1: addressable (2.7.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/addressable-2.7.0.gemspec
Usando sprockets 3.7.2
1: sprockets (3.7.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
Usando request_store 1.5.0
1: request_store (1.5.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/request_store-1.5.0.gemspec
Usando message_bus 3.3.4
1: message_bus (3.3.4) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.4.gemspec
Usando rack-mini-profiler 2.3.1
1: rack-mini-profiler (2.3.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-mini-profiler-2.3.1.gemspec
Usando rack-protection 2.1.0
1: rack-protection (2.1.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-protection-2.1.0.gemspec
Usando barber 0.12.2
1: barber (0.12.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/barber-0.12.2.gemspec
Usando bootsnap 1.7.2
1: bootsnap (1.7.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.2.gemspec
Usando ember-data-source 3.0.2
1: ember-data-source (3.0.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-data-source-3.0.2.gemspec
Usando uglifier 4.2.0
1: uglifier (4.2.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uglifier-4.2.0.gemspec
Usando openssl-signature_algorithm 1.1.1
1: openssl-signature_algorithm (1.1.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
Usando pry 0.13.1
1: pry (0.13.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
Buscando aws-sigv4 1.2.3
Instalando aws-sigv4 1.2.3
1: aws-sigv4 (1.2.3) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sigv4-1.2.3.gemspec
Usando discourse_image_optim 0.26.2
1: discourse_image_optim (0.26.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse_image_optim-0.26.2.gemspec
Usando faraday 1.3.0
1: faraday (1.3.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.3.0.gemspec
Buscando ecma-re-validator 0.3.0
Instalando ecma-re-validator 0.3.0
1: ecma-re-validator (0.3.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ecma-re-validator-0.3.0.gemspec
Usando omniauth 1.9.1
1: omniauth (1.9.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
Usando logstash-logger 0.26.1
1: logstash-logger (0.26.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-logger-0.26.1.gemspec
Usando mini_racer 0.3.1
1: mini_racer (0.3.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.3.1.gemspec
Usando webpush 1.1.0
1: webpush (1.1.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
Usando sidekiq 6.1.3
1: sidekiq (6.1.3) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.1.3.gemspec
Usando redis-namespace 1.8.1
1: redis-namespace (1.8.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
Buscando activesupport 6.0.3.5
Instalando activesupport 6.0.3.5
1: activesupport (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.0.3.5.gemspec
Usando rqrcode 1.2.0
1: rqrcode (1.2.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-1.2.0.gemspec
Usando unf 0.1.4
1: unf (0.1.4) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec
Usando unicorn 5.8.0
1: unicorn (5.8.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-5.8.0.gemspec
Usando loofah 2.9.0
1: loofah (2.9.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.9.0.gemspec
Usando nokogumbo 2.0.4
1: nokogumbo (2.0.4) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogumbo-2.0.4.gemspec
Usando ruby-readability 0.7.0
1: ruby-readability (0.7.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
Usando css_parser 1.9.0
1: css_parser (1.9.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
Usando ember-handlebars-template 0.8.0
1: ember-handlebars-template (0.8.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
Usando cose 1.2.0
1: cose (1.2.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
Usando pry-byebug 3.9.0
1: pry-byebug (3.9.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-byebug-3.9.0.gemspec
Usando pry-rails 0.3.9
1: pry-rails (0.3.9) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
Buscando aws-sdk-core 3.112.1
Instalando aws-sdk-core 3.112.1
1: aws-sdk-core (3.112.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.112.1.gemspec
Usando oauth2 1.4.4
1: oauth2 (1.4.4) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.4.gemspec
Buscando json_schemer 0.2.18
Instalando json_schemer 0.2.18
1: json_schemer (0.2.18) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
Usando mini_scheduler 0.13.0
1: mini_scheduler (0.13.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
Usando omniauth-oauth 1.2.0
1: omniauth-oauth (1.2.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
Usando rails-dom-testing 2.0.3
1: rails-dom-testing (2.0.3) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-dom-testing-2.0.3.gemspec
Usando globalid 0.4.2
1: globalid (0.4.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
Buscando activemodel 6.0.3.5
Instalando activemodel 6.0.3.5
1: activemodel (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.0.3.5.gemspec
Usando rails-html-sanitizer 1.3.0
1: rails-html-sanitizer (1.3.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-html-sanitizer-1.3.0.gemspec
Usando sanitize 5.2.3
1: sanitize (5.2.3) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
Buscando aws-sdk-kms 1.42.0
Instalando aws-sdk-kms 1.42.0
1: aws-sdk-kms (1.42.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.42.0.gemspec
Buscando aws-sdk-sns 1.38.0
Instalando aws-sdk-sns 1.38.0
1: aws-sdk-sns (1.38.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.38.0.gemspec
Usando omniauth-oauth2 1.7.1
1: omniauth-oauth2 (1.7.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth2-1.7.1.gemspec
Usando omniauth-twitter 1.4.0
1: omniauth-twitter (1.4.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
Buscando activejob 6.0.3.5
Instalando activejob 6.0.3.5
1: activejob (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.0.3.5.gemspec
Usando active_model_serializers 0.8.4
1: active_model_serializers (0.8.4) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/active_model_serializers-0.8.4.gemspec
Buscando activerecord 6.0.3.5
Instalando activerecord 6.0.3.5
1: activerecord (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.0.3.5.gemspec
Buscando actionview 6.0.3.5
Instalando actionview 6.0.3.5
1: actionview (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.0.3.5.gemspec
Buscando onebox 2.2.8
Instalando onebox 2.2.8
1: onebox (2.2.8) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/onebox-2.2.8.gemspec
Buscando aws-sdk-s3 1.90.0
Instalando aws-sdk-s3 1.90.0
1: aws-sdk-s3 (1.90.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.90.0.gemspec
Usando omniauth-facebook 8.0.0
1: omniauth-facebook (8.0.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-facebook-8.0.0.gemspec
Usando omniauth-github 1.4.0
1: omniauth-github (1.4.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-github-1.4.0.gemspec
Usando omniauth-google-oauth2 0.8.1
1: omniauth-google-oauth2 (0.8.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.1.gemspec
Usando seed-fu 2.3.9
1: seed-fu (2.3.9) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
Buscando actionpack 6.0.3.5
Instalando actionpack 6.0.3.5
1: actionpack (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.0.3.5.gemspec
Usando actionview_precompiler 0.2.3
1: actionview_precompiler (0.2.3) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
Buscando actionmailer 6.0.3.5
Instalando actionmailer 6.0.3.5
1: actionmailer (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.0.3.5.gemspec
Buscando railties 6.0.3.5
Instalando railties 6.0.3.5
1: railties (6.0.3.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.0.3.5.gemspec
Usando sprockets-rails 3.2.2
1: sprockets-rails (3.2.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
Usando jquery-rails 4.4.0
1: jquery-rails (4.4.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
Usando lograge 0.11.2
1: lograge (0.11.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
Usando rails_failover 0.6.5
1: rails_failover (0.6.5) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.6.5.gemspec
Usando rails_multisite 2.5.0
1: rails_multisite (2.5.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-2.5.0.gemspec
Usando discourse-ember-rails 0.18.6
1: discourse-ember-rails (0.18.6) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
2: nio4r (2.5.7) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nio4r-2.5.7.gemspec
Buscando puma 5.2.2
Instalando puma 5.2.2 com extensões nativas
Compilando extensões nativas. Isso pode demorar um pouco...
1: puma (5.2.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.2.2.gemspec
3: oj (3.11.3) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.3.gemspec
0: ffi (1.15.0) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.15.0.gemspec
Usando mini_suffix 0.3.2
2: mini_suffix (0.3.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
Usando rbtrace 0.4.14
2: rbtrace (0.4.14) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
Usando sassc 2.0.1
2: sassc (2.0.1) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
Usando sassc-rails 2.1.2
0: sassc-rails (2.1.2) de /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
Bundle completo! 124 dependências do Gemfile, 167 gems instalados agora.
Gems nos grupos test e development não foram instaladas.
Gems agrupadas são instaladas em `./vendor/bundle`
I, [2021-03-12T11:58:09.631058 #1] INFO -- : > cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate
`/root` não é gravável.
Bundler usará `/tmp/bundler20210312-3899-11auboa3899' como seu diretório home temporariamente.
rake abortado!
NameError: constante não inicializada RailsMultisite::DiscoursePatches
/var/www/discourse/config/initializers/200-first_middlewares.rb:34:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:666:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/notifications.rb:182:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:665:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:625:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:624:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:624:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/application.rb:363:in `initialize!'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/railtie.rb:190:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/railtie.rb:190:in `method_missing'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/application.rb:339:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/application.rb:523:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tarefas: TOP => multisite:migrate => db:load_config => environment
(Veja o rastreamento completo executando a tarefa com --trace)
I, [2021-03-12T11:58:15.637907 #1] INFO -- :
I, [2021-03-12T11:58:15.638728 #1] INFO -- : Terminando processos assíncronos
I, [2021-03-12T11:58:15.638830 #1] INFO -- : Enviando INT para HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 52
2021-03-12 11:58:15.639 UTC [52] LOG: recebido pedido de desligamento rápido
I, [2021-03-12T11:58:15.638989 #1] INFO -- : Enviando TERM para exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 169
169:signal-handler (1615550295) Recebido SIGTERM agendando desligamento...
2021-03-12 11:58:15.647 UTC [52] LOG: abortando quaisquer transações ativas
2021-03-12 11:58:15.650 UTC [52] LOG: trabalhador em segundo plano "logical replication launcher" (PID 61) saiu com código de saída 1
2021-03-12 11:58:15.658 UTC [56] LOG: desligando
169:M 12 Mar 2021 11:58:15.704 # Usuário solicitou desligamento...
169:M 12 Mar 2021 11:58:15.704 * Salvando o snapshot RDB final antes de sair.
2021-03-12 11:58:15.778 UTC [52] LOG: sistema de banco de dados está desligado
169:M 12 Mar 2021 11:58:15.829 * DB salvo em disco
169:M 12 Mar 2021 11:58:15.830 # Redis está pronto para sair, tchau...
FALHOU
--------------------
Pups::ExecError: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate falhou com retorno #<Process::Status: pid 3897 exit 1>
Local da falha: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec falhou com os parâmetros "cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate"
f73b81fb35d03513e96893074964fb75baf31ab6e71448842a58b9f75c1e79a0
** FALHA NA INICIALIZAÇÃO ** por favor, role para cima e procure por mensagens de erro anteriores, pode haver mais de uma.
./discourse-doctor pode ajudar a diagnosticar o problema.
Acho que isso tem algo a ver com
NameError: constante não inicializada RailsMultisite::DiscoursePatches
mas não consegui encontrar informações úteis sobre isso.
Já desativei todos os plugins. Meu app.yml está assim:
## este é o modelo de contêiner Docker Discourse tudo-em-um, standalone
##
## Após fazer alterações neste arquivo, você DEVE reconstruir
## /var/discourse/launcher rebuild app
##
## TENHA *MUITO* CUIDADO AO EDITAR!
## ARQUIVOS YAML SÃO SUPER SUPER SENSÍVEIS A ERROS EM ESPAÇOS OU ALINHAMENTO!
## visite http://www.yamllint.com/ para validar este arquivo conforme necessário
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
- "templates/web.socketed.template.yml"
## Descomente estas duas linhas se desejar adicionar Lets Encrypt (https)
#- "templates/web.ssl.template.yml"
#- "templates/web.letsencrypt.ssl.template.yml"
## quais portas TCP/IP este contêiner deve expor?
## Se você quiser que o Discourse compartilhe uma porta com outro servidor web como Apache ou nginx,
## veja https://meta.discourse.org/t/17247 para detalhes
expose:
# - "80:80" # http
# - "443:443" # https
params:
db_default_text_search_config: "pg_catalog.english"
## Defina db_shared_buffers para no máximo 25% da memória total.
## será definido automaticamente pela inicialização com base na RAM detectada, ou você pode substituir
db_shared_buffers: "512MB"
## pode melhorar o desempenho de ordenação, mas adiciona uso de memória por conexão
#db_work_mem: "40MB"
## Qual revisão Git este contêiner deve usar? (padrão: tests-passed)
#version: tests-passed
env:
LANG: en_US.UTF-8
# DISCOURSE_DEFAULT_LOCALE: en
## Quantas solicitações web simultâneas são suportadas? Depende de memória e núcleos de CPU.
## será definido automaticamente pela inicialização com base nas CPUs detectadas, ou você pode substituir
UNICORN_WORKERS: 2
## TODO: O nome de domínio ao qual esta instância Discourse responderá
## Obrigatório. O Discourse não funcionará com um número IP puro.
DISCOURSE_HOSTNAME: # removido
## Descomente se quiser que o contêiner seja iniciado com o mesmo
## nome de host (opção -h) especificado acima (padrão "$hostname-$config")
#DOCKER_USE_HOSTNAME: true
## TODO: Lista de e-mails delimitados por vírgulas que serão feitos admin e developer
## no cadastro inicial exemplo 'user1@example.com,user2@example.com'
DISCOURSE_DEVELOPER_EMAILS: # removido
## TODO: O servidor de e-mail SMTP usado para validar novas contas e enviar notificações
# ENDEREÇO SMTP, nome de usuário e senha são obrigatórios
# AVISO o caractere '#' na senha SMTP pode causar problemas!
DISCOURSE_SMTP_ADDRESS: # removido
DISCOURSE_SMTP_PORT: 25
#DISCOURSE_SMTP_USER_NAME: foo
#DISCOURSE_SMTP_PASSWORD: "bar"
DISCOURSE_SMTP_ENABLE_START_TLS: false # (opcional, padrão true)
## Se você adicionou o modelo Lets Encrypt, descomente abaixo para obter um certificado SSL gratuito
#LETSENCRYPT_ACCOUNT_EMAIL: me@example.com
## O endereço CDN http ou https para esta instância Discourse (configurado para puxar)
## veja https://meta.discourse.org/t/14857 para detalhes
#DISCOURSE_CDN_URL: https://discourse-cdn.example.com
DISCOURSE_LOAD_MINI_PROFILER: false
## O contêiner Docker é stateless; todos os dados são armazenados em /shared
volumes:
- volume:
host: /var/discourse/shared/standalone
guest: /shared
- volume:
host: /var/discourse/shared/standalone/log/var-log
guest: /var/log
- volume:
host: /var/discourse/shared/standalone/multisite
guest: /multisite
## Plugins vão aqui
## veja https://meta.discourse.org/t/19157 para detalhes
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
#- git clone https://github.com/discourse/discourse-spoiler-alert.git
#- git clone https://github.com/discourse/discourse-data-explorer.git
#- git clone https://github.com/discourse/discourse-staff-notes.git
#- git clone https://github.com/cpradio/discourse-plugin-checklist.git
#- git clone https://github.com/discourse/discourse-math.git
before_bundle_exec:
- exec: ln -s /multisite/multisite.yml $home/config/multisite.yml
after_bundle_exec:
- exec: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate
## Qualquer comando personalizado para executar após a construção
run:
- exec: echo "Início dos comandos personalizados"
## Se você quiser definir o endereço de e-mail 'De' para seu primeiro registro, descomente e altere:
## Após receber o e-mail de primeiro cadastro, re-comente a linha. Ela só precisa ser executada uma vez.
#- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
- exec: echo "Fim dos comandos personalizados"
Ficarei grato por qualquer conselho útil. Obrigado antecipadamente.
Edição: É uma instalação multisite.