Houve um erro na minha atualização
==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 25.0.3, build 4debf41
DOCKER PROCESSES (docker ps -a)
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fef23c0f89aa hello-world "/hello" 28 minutes ago Exited (0) 28 minutes ago recursing_pike
==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
WARNING: Support for aarch64 is experimental at the moment. Please report any problems at https://meta.discourse.org/tag/arm
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
aarch64: Pulling from discourse/base
Digest: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
Status: Image is up to date for discourse/base:aarch64
docker.io/discourse/base:aarch64
Ensuring launcher is up to date
Launcher is up-to-date
aarch64: Pulling from discourse/base
Digest: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
Status: Image is up to date for discourse/base:aarch64
docker.io/discourse/base:aarch64
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-02-23T01:03:10.167764 #1] INFO -- : Reading from stdin
I, [2024-02-23T01:03:10.172488 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2024-02-23T01:03:10.199783 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2024-02-23T01:03:10.200117 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2024-02-23T01:03:10.201991 #1] INFO -- :
I, [2024-02-23T01:03:10.202285 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2024-02-23T01:03:10.203892 #1] INFO -- :
I, [2024-02-23T01:03:10.204071 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2024-02-23T01:03:10.205460 #1] INFO -- :
I, [2024-02-23T01:03:10.205632 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2024-02-23T01:03:10.207229 #1] INFO -- :
I, [2024-02-23T01:03:10.207407 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2024-02-23T01:03:10.208914 #1] INFO -- :
I, [2024-02-23T01:03:10.209094 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2024/02/23 01:03:10 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2024-02-23T01:03:10.215205 #1] INFO -- :
I, [2024-02-23T01:03:10.215455 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2024-02-23T01:03:10.217342 #1] INFO -- :
I, [2024-02-23T01:03:10.217505 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2024-02-23T01:03:10.219429 #1] INFO -- :
I, [2024-02-23T01:03:10.219597 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-23T01:03:10.221317 #1] INFO -- :
I, [2024-02-23T01:03:10.221506 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-23T01:03:10.223045 #1] INFO -- :
I, [2024-02-23T01:03:10.226471 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-02-23T01:03:10.229662 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-02-23T01:03:10.232973 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-02-23T01:03:10.236173 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-02-23T01:03:10.236479 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2024-02-23T01:03:16.883260 #1] INFO -- :
I, [2024-02-23T01:03:16.883427 #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, [2024-02-23T01:03:16.885354 #1] INFO -- :
I, [2024-02-23T01:03:16.885535 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2024-02-23T01:03:16.892646 #1] INFO -- :
I, [2024-02-23T01:03:16.892979 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2024-02-23T01:03:16.895281 #1] INFO -- :
I, [2024-02-23T01:03:16.895655 #1] INFO -- : > /root/upgrade_postgres
I, [2024-02-23T01:03:16.899953 #1] INFO -- :
I, [2024-02-23T01:03:16.900342 #1] INFO -- : > rm /root/upgrade_postgres
I, [2024-02-23T01:03:16.902421 #1] INFO -- :
I, [2024-02-23T01:03:16.903785 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.904605 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.905117 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.906308 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.907539 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.910822 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.914320 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2024-02-23T01:03:16.917362 #1] INFO -- :
I, [2024-02-23T01:03:16.917888 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.918530 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.920794 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.924634 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.925088 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.925531 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.928005 #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, [2024-02-23T01:03:16.929697 #1] INFO -- : > sleep 5
2024-02-23 01:03:16.993 UTC [42] LOG: starting PostgreSQL 13.14 (Debian 13.14-1.pgdg110+2) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-02-23 01:03:16.993 UTC [42] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-02-23 01:03:16.993 UTC [42] LOG: listening on IPv6 address "::", port 5432
2024-02-23 01:03:17.004 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-02-23 01:03:17.022 UTC [45] LOG: database system was shut down at 2024-02-23 01:01:24 UTC
2024-02-23 01:03:17.034 UTC [42] LOG: database system is ready to accept connections
I, [2024-02-23T01:03:21.932176 #1] INFO -- :
I, [2024-02-23T01:03:21.932729 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2024-02-23 01:03:22.019 UTC [55] postgres@postgres ERROR: database "discourse" already exists
2024-02-23 01:03:22.019 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2024-02-23T01:03:22.022134 #1] INFO -- :
I, [2024-02-23T01:03:22.022590 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2024-02-23 01:03:22.088 UTC [59] postgres@discourse ERROR: role "discourse" already exists
2024-02-23 01:03:22.088 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2024-02-23T01:03:22.090283 #1] INFO -- :
I, [2024-02-23T01:03:22.090691 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2024-02-23T01:03:22.140709 #1] INFO -- : GRANT
I, [2024-02-23T01:03:22.141235 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2024-02-23T01:03:22.191857 #1] INFO -- : ALTER SCHEMA
I, [2024-02-23T01:03:22.192292 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2024-02-23T01:03:22.241814 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.242144 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2024-02-23T01:03:22.293697 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.294020 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists vector;"'
NOTICE: extension "vector" already exists, skipping
I, [2024-02-23T01:03:22.335599 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.335921 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2024-02-23T01:03:22.377961 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.378282 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2024-02-23T01:03:22.420317 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.420636 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists vector;"'
NOTICE: extension "vector" already exists, skipping
I, [2024-02-23T01:03:22.462540 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.462995 #1] INFO -- : > sudo -u postgres psql discourse
I, [2024-02-23T01:03:22.464304 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2024-02-23T01:03:22.527295 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-02-23T01:03:22.529673 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-02-23T01:03:22.529877 #1] INFO -- : > echo postgres installed!
I, [2024-02-23T01:03:22.531495 #1] INFO -- : postgres installed!
I, [2024-02-23T01:03:22.534999 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2024-02-23T01:03:22.538499 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2024-02-23T01:03:22.541956 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-02-23T01:03:22.544283 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.544893 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.545349 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-02-23T01:03:22.547470 #1] INFO -- :
I, [2024-02-23T01:03:22.547931 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.549358 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.555255 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.560533 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.565383 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.569420 #1] INFO -- : > echo redis installed
I, [2024-02-23T01:03:22.571057 #1] INFO -- : redis installed
I, [2024-02-23T01:03:22.571386 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-02-23T01:03:22.573952 #1] INFO -- : logfile ""
I, [2024-02-23T01:03:22.574263 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-23T01:03:22.575657 #1] INFO -- : > sleep 10
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
I, [2024-02-23T01:03:32.577625 #1] INFO -- :
I, [2024-02-23T01:03:32.578022 #1] INFO -- : > thpoff echo "thpoff está instalado!"
I, [2024-02-23T01:03:32.582200 #1] INFO -- : thpoff está instalado!
I, [2024-02-23T01:03:32.582566 #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, [2024-02-23T01:03:32.680445 #1] INFO -- :
I, [2024-02-23T01:03:32.680727 #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, [2024-02-23T01:03:32.749149 #1] INFO -- :
I, [2024-02-23T01:03:32.749427 #1] INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Abortando! O CDN deve ter um protocolo especificado. Após corrigir, você deve rebakear suas postagens agora para corrigir todas as postagens."; exit 1; end'
I, [2024-02-23T01:03:32.817524 #1] INFO -- :
I, [2024-02-23T01:03:32.817855 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-02-23T01:03:32.819660 #1] INFO -- :
I, [2024-02-23T01:03:32.821935 #1] INFO -- : Arquivo > /etc/cron.d/anacron chmod: chown:
I, [2024-02-23T01:03:32.825589 #1] INFO -- : Arquivo > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-02-23T01:03:32.829297 #1] INFO -- : Arquivo > /etc/service/unicorn/run chmod: +x chown:
I, [2024-02-23T01:03:32.832905 #1] INFO -- : Arquivo > /etc/service/nginx/run chmod: +x chown:
I, [2024-02-23T01:03:32.836470 #1] INFO -- : Arquivo > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-02-23T01:03:32.839930 #1] INFO -- : Arquivo > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-02-23T01:03:32.840221 #1] INFO -- : Substituindo # postgres por sv start postgres || exit 1 em /etc/service/unicorn/run
I, [2024-02-23T01:03:32.840600 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-23T01:03:32.842522 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
<jemalloc>: Tamanho de página do sistema não suportado
<jemalloc>: Tamanho de página do sistema não suportado
Atualizando arquivos: 100% (33860/33860), concluído.
I, [2024-02-23T01:03:37.224372 #1] INFO -- : HEAD está agora em 31e44cfa8 DEV: Correção de testes de sistema instáveis "Alterando email" (#25805)
I, [2024-02-23T01:03:37.224638 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-02-23T01:03:37.347254 #1] INFO -- :
I, [2024-02-23T01:03:37.347519 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
set -o errexit
if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
git remote set-branches --add origin main
git remote set-branches origin tests-passed
git fetch --depth 1 origin tests-passed
else
git fetch --tags --prune-tags --prune --force origin
fi
'
De https://github.com/discourse/discourse
- [deletado] (nenhum) -> origin/bulk-select-dropdown-items
- [deletado] (nenhum) -> origin/chat-composer-mobile
- [deletado] (nenhum) -> origin/composer-space-mobile
- [deletado] (nenhum) -> origin/fix-form-template
- [deletado] (nenhum) -> origin/fix_uncategorized_category
- [deletado] (nenhum) -> origin/glimmer-header-handle-overrides
- [deletado] (nenhum) -> origin/poc/auto-after-before-plugin-outlets
- [deletado] (nenhum) -> origin/translations-from-crowdin-stable
31e44cfa8..1ad8e85b3 main -> origin/main
* [nova branch] add_debug_ar_connection_pool -> origin/add_debug_ar_connection_pool
* [nova branch] app-events-desktop-notis -> origin/app-events-desktop-notis
* [nova branch] chat-mobile-composer-followup-2 -> origin/chat-mobile-composer-followup-2
+ a465edbc1...111b47aec convert-header-to-glimmer -> origin/convert-header-to-glimmer (atualização forçada)
51d6e3130..8c2fdd356 dev/problem-checks-api -> origin/dev/problem-checks-api
+ d6ff2b49e...bc3d69f8c dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic (atualização forçada)
* [nova branch] enable_retry_on_main_branch -> origin/enable_retry_on_main_branch
+ 684ac0225...0aad80d92 feature/schema-theme-setting-input-fields -> origin/feature/schema-theme-setting-input-fields (atualização forçada)
* [nova branch] hot-fixes -> origin/hot-fixes
* [nova branch] modal-class-cleanup -> origin/modal-class-cleanup
* [nova branch] see_if_yarn_cache_is_working -> origin/see_if_yarn_cache_is_working
d85414f88..e049f8268 stable -> origin/stable
31e44cfa8..1ad8e85b3 tests-passed -> origin/tests-passed
I, [2024-02-23T01:03:39.237956 #1] INFO -- :
I, [2024-02-23T01:03:39.238303 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
set -o errexit
if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
git pull
else
git -c advice.detachedHead=false checkout tests-passed
fi
'
Mudado para uma nova branch 'tests-passed'
I, [2024-02-23T01:03:41.587550 #1] INFO -- : Branch 'tests-passed' configurado para rastrear a branch remota 'tests-passed' de 'origin'.
I, [2024-02-23T01:03:41.587786 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-02-23T01:03:41.658919 #1] INFO -- :
I, [2024-02-23T01:03:41.659153 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-02-23T01:03:41.661685 #1] INFO -- :
I, [2024-02-23T01:03:41.661804 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-02-23T01:03:41.664120 #1] INFO -- :
I, [2024-02-23T01:03:41.664224 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-02-23T01:03:41.666639 #1] INFO -- :
I, [2024-02-23T01:03:41.666743 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-02-23T01:03:41.669270 #1] INFO -- :
I, [2024-02-23T01:03:41.669371 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-02-23T01:03:41.672499 #1] INFO -- :
I, [2024-02-23T01:03:41.672611 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-02-23T01:03:41.674996 #1] INFO -- :
I, [2024-02-23T01:03:41.675119 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-02-23T01:03:41.678344 #1] INFO -- :
I, [2024-02-23T01:03:41.678556 #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, [2024-02-23T01:03:41.681835 #1] INFO -- :
I, [2024-02-23T01:03:41.682048 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-02-23T01:03:41.685493 #1] INFO -- :
I, [2024-02-23T01:03:41.685698 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-02-23T01:03:41.688984 #1] INFO -- :
I, [2024-02-23T01:03:41.689191 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-02-23T01:03:41.692769 #1] INFO -- :
I, [2024-02-23T01:03:41.692977 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-02-23T01:03:41.696291 #1] INFO -- :
I, [2024-02-23T01:03:41.696497 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-02-23T01:03:41.698848 #1] INFO -- :
I, [2024-02-23T01:03:41.699056 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-02-23T01:03:41.700571 #1] INFO -- :
I, [2024-02-23T01:03:41.700819 #1] INFO -- : Substituindo # redis por sv start redis || exit 1 em /etc/service/unicorn/run
I, [2024-02-23T01:03:41.701209 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonando em 'docker_manager'...
I, [2024-02-23T01:03:44.630284 #1] INFO -- :
I, [2024-02-23T01:03:44.630764 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.634075 #1] INFO -- :
I, [2024-02-23T01:03:44.634306 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-02-23T01:03:44.636021 #1] INFO -- :
I, [2024-02-23T01:03:44.636225 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-02-23T01:03:44.638094 #1] INFO -- :
I, [2024-02-23T01:03:44.639062 #1] INFO -- : Substituindo pid /run/nginx.pid; por daemon off; em /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.639440 #1] INFO -- : Substituindo (?m-ix:upstream[^\}]+\}) por upstream discourse { server 127.0.0.1:3000; } em /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.639802 #1] INFO -- : Substituindo (?-mix:server_name.+$) por server_name _ ; em /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.640836 #1] INFO -- : Substituindo (?-mix:client_max_body_size.+$) por client_max_body_size $upload_size ; em /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.647665 #1] INFO -- : Substituindo (?-mix:worker_connections.+$) por worker_connections $nginx_worker_connections ; em /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.647911 #1] INFO -- : > echo "configuração da web concluída"
I, [2024-02-23T01:03:44.649326 #1] INFO -- : configuração da web concluída
I, [2024-02-23T01:03:44.649627 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-02-23T01:03:44.843343 #1] INFO -- :
I, [2024-02-23T01:03:44.843476 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-02-23T01:03:45.001607 #1] INFO -- :
I, [2024-02-23T01:03:45.001962 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
I, [2024-02-23T01:03:45.003483 #1] INFO -- :
I, [2024-02-23T01:03:45.003589 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" tem dependência peer não atendida "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" tem dependência peer incorreta "typescript@^5.3.3".
warning " > @glint/environment-ember-loose@1.3.0" tem dependência peer não atendida "@glimmer/component@^1.1.2".
warning O campo de resolução "unset-value@2.0.1" é incompatível com a versão solicitada "unset-value@^1.0.0"
warning O padrão ["wrap-ansi@^7.0.0"] está tentando descompactar no mesmo destino "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" que o padrão ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. Isso pode resultar em comportamento não determinístico, ignorando.
warning " > discourse-markdown-it@1.0.0" tem dependência peer não atendida "xss@*".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3@3.0.6" tem dependência peer incorreta "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3-multipart@3.1.3" tem dependência peer incorreta "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/xhr-upload@3.1.1" tem dependência peer incorreta "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > ember-router-service-refresh-polyfill@1.1.0" tem dependência peer incorreta "ember-source@^3.4 || 4".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse-plugins > ember-this-fallback@0.4.0" tem dependência peer não atendida "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > admin > ember-source > router_js@8.0.3" tem dependência peer não atendida "rsvp@^4.8.5".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" tem dependência peer incorreta "@uppy/core@^3.2.1".
I, [2024-02-23T01:05:49.643583 #1] INFO -- : yarn install v1.22.19
[1/5] Validando package.json...
[2/5] Resolvendo pacotes...
[3/5] Buscando pacotes...
[4/5] Vinculando dependências...
[5/5] Compilando pacotes novos...
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
yarn install v1.22.19
[1/4] Resolvendo pacotes...
[2/4] Buscando pacotes...
[3/4] Vinculando dependências...
[4/4] Compilando pacotes novos...
$ ./run-patch-package
patch-package 8.0.0
Aplicando patches...
@ember/test-helpers@2.9.4 ✔
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
ember-cli@5.0.0 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Concluído em 72.93s.
Concluído em 115.37s.
yarn cache v1.22.19
success Cache limpo.
Concluído em 8.72s.
I, [2024-02-23T01:05:49.644371 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-02-23T01:05:49.863693 #1] INFO -- :
I, [2024-02-23T01:05:49.864005 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-02-23T01:05:50.022423 #1] INFO -- :
I, [2024-02-23T01:05:50.022715 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-02-23T01:07:36.737768 #1] INFO -- : Buscando metadados do gem em https://rubygems.org/.........
Buscando https://github.com/rails/sprockets
Buscando rake 13.1.0
Instalando rake 13.1.0
Buscando concurrent-ruby 1.2.3
Buscando minitest 5.22.2
Buscando builder 3.2.4
Buscando erubi 1.12.0
Instalando concurrent-ruby 1.2.3
Buscando racc 1.7.3
Instalando minitest 5.22.2
Buscando crass 1.0.6
Instalando builder 3.2.4
Buscando rack 2.2.8.1
Instalando erubi 1.12.0
Buscando mini_mime 1.1.5
Instalando racc 1.7.3 com extensões nativas
Instalando crass 1.0.6
Buscando date 3.3.4
Instalando rack 2.2.8.1
Buscando timeout 0.4.1
Instalando mini_mime 1.1.5
Buscando public_suffix 5.0.4
Instalando date 3.3.4 com extensões nativas
Instalando timeout 0.4.1
Buscando aws-eventstream 1.3.0
Instalando public_suffix 5.0.4
Instalando aws-eventstream 1.3.0
Buscando aws-partitions 1.583.0
Buscando jmespath 1.6.2
Instalando aws-partitions 1.583.0
Buscando base64 0.2.0
Instalando jmespath 1.6.2
Buscando bigdecimal 3.1.6
Instalando base64 0.2.0
Buscando msgpack 1.7.2
Instalando bigdecimal 3.1.6 com extensões nativas
Instalando msgpack 1.7.2 com extensões nativas
Buscando byebug 11.1.3
Instalando byebug 11.1.3 com extensões nativas
Buscando cbor 0.5.9.8
Instalando cbor 0.5.9.8 com extensões nativas
Buscando cgi 0.4.1
Instalando cgi 0.4.1 com extensões nativas
Buscando chunky_png 1.4.0
Instalando chunky_png 1.4.0
Buscando coderay 1.1.3
Instalando coderay 1.1.3
Buscando colored2 4.0.0
Instalando colored2 4.0.0
Buscando connection_pool 2.4.1
Instalando connection_pool 2.4.1
Buscando openssl 3.2.0
Instalando openssl 3.2.0 com extensões nativas
Buscando cppjieba_rb 0.4.2
Instalando cppjieba_rb 0.4.2 com extensões nativas
Buscando diffy 3.4.2
Instalando diffy 3.4.2
Buscando discourse-fonts 0.0.9
Buscando email_reply_trimmer 0.1.13
Instalando email_reply_trimmer 0.1.13
Buscando excon 0.109.0
Instalando excon 0.109.0
Buscando execjs 2.9.1
Instalando execjs 2.9.1
Buscando exifr 1.4.0
Instalando exifr 1.4.0
Instalando discourse-fonts 0.0.9
Buscando uri 0.13.0
Instalando uri 0.13.0
Buscando fast_blank 1.0.1
Instalando fast_blank 1.0.1 com extensões nativas
Buscando fast_xs 0.8.0
Instalando fast_xs 0.8.0 com extensões nativas
Buscando fastimage 2.3.0
Instalando fastimage 2.3.0
Buscando ffi 1.16.3
Instalando ffi 1.16.3 com extensões nativas
Buscando fspath 3.1.2
Buscando gc_tracer 1.5.1
Instalando fspath 3.1.2
Buscando google-protobuf 3.25.3 (aarch64-linux)
Instalando gc_tracer 1.5.1 com extensões nativas
Instalando google-protobuf 3.25.3 (aarch64-linux)
Buscando guess_html_encoding 0.0.11
Instalando guess_html_encoding 0.0.11
Buscando hana 1.3.7
Instalando hana 1.3.7
Buscando hashie 5.0.0
Instalando hashie 5.0.0
Buscando highline 3.0.1
Instalando highline 3.0.1
Buscando htmlentities 4.3.4
Instalando htmlentities 4.3.4
Buscando http_accept_language 2.1.1
Instalando http_accept_language 2.1.1
Buscando image_size 3.4.0
Instalando image_size 3.4.0
Buscando in_threads 1.6.0
Instalando in_threads 1.6.0
Buscando progress 3.6.0
Instalando progress 3.6.0
Buscando json 2.7.1
Instalando json 2.7.1 com extensões nativas
Buscando regexp_parser 2.9.0
Instalando regexp_parser 2.9.0
Buscando unf_ext 0.0.9.1
Instalando unf_ext 0.0.9.1 com extensões nativas
Buscando kgio 2.11.4
Instalando kgio 2.11.4 com extensões nativas
Buscando libv8-node 18.16.0.0 (aarch64-linux)
Instalando libv8-node 18.16.0.0 (aarch64-linux)
Buscando method_source 1.0.0
Instalando method_source 1.0.0
Buscando thor 1.3.0
Instalando thor 1.3.0
Buscando zeitwerk 2.6.13
Instalando zeitwerk 2.6.13
Buscando logstash-event 1.2.02
Instalando logstash-event 1.2.02
Buscando logster 2.18.1
Instalando logster 2.18.1
Buscando lru_redux 1.1.0
Instalando lru_redux 1.1.0
Buscando lz4-ruby 0.3.3
Instalando lz4-ruby 0.3.3 com extensões nativas
Buscando maxminddb 0.1.22
Instalando maxminddb 0.1.22
Buscando memory_profiler 1.0.1
Instalando memory_profiler 1.0.1
Buscando redis 4.8.1
Instalando redis 4.8.1
Buscando mini_sql 1.5.0
Instalando mini_sql 1.5.0
Buscando multi_json 1.15.0
Instalando multi_json 1.15.0
Buscando multi_xml 0.6.0
Instalando multi_xml 0.6.0
Buscando mustache 1.1.1
Instalando mustache 1.1.1
Buscando nio4r 2.7.0
Instalando nio4r 2.7.0 com extensões nativas
Buscando version_gem 1.1.3
Instalando version_gem 1.1.3
Buscando optimist 3.1.0
Instalando optimist 3.1.0
Buscando pg 1.5.4
Instalando pg 1.5.4 com extensões nativas
Buscando raindrops 0.20.1
Buscando rchardet 1.8.0
Instalando raindrops 0.20.1 com extensões nativas
Instalando rchardet 1.8.0
Buscando rexml 3.2.6
Instalando rexml 3.2.6
Buscando rinku 2.0.6
Instalando rinku 2.0.6 com extensões nativas
Buscando rotp 6.3.0
Instalando rotp 6.3.0
Buscando rqrcode_core 1.2.0
Instalando rqrcode_core 1.2.0
Buscando rubyzip 2.3.2
Instalando rubyzip 2.3.2
Buscando sshkey 3.0.0
Instalando sshkey 3.0.0
Buscando stackprof 0.2.26
Instalando stackprof 0.2.26 com extensões nativas
Buscando i18n 1.14.1
Instalando i18n 1.14.1
Buscando tzinfo 2.0.6
Instalando tzinfo 2.0.6
Buscando rack-test 2.1.0
Instalando rack-test 2.1.0
Buscando request_store 1.6.0
Instalando request_store 1.6.0
Buscando message_bus 4.3.8
Instalando message_bus 4.3.8
Buscando rack-mini-profiler 3.3.1
Instalando rack-mini-profiler 3.3.1
Buscando net-protocol 0.2.2
Instalando net-protocol 0.2.2
Buscando aws-sigv4 1.5.0
Instalando aws-sigv4 1.5.0
Buscando addressable 2.8.6
Instalando addressable 2.8.6
Buscando jwt 2.8.0
Instalando jwt 2.8.0
Buscando rack-protection 3.2.0
Instalando rack-protection 3.2.0
Buscando nokogiri 1.16.2 (aarch64-linux)
Instalando nokogiri 1.16.2 (aarch64-linux)
Buscando bootsnap 1.18.3
Instalando bootsnap 1.18.3 com extensões nativas
Buscando oj 3.16.3
Instalando oj 3.16.3 com extensões nativas
Buscando uglifier 4.2.0
Instalando uglifier 4.2.0
Buscando net-http 0.4.1
Instalando net-http 0.4.1
Buscando sass-embedded 1.71.1 (aarch64-linux-gnu)
Instalando sass-embedded 1.71.1 (aarch64-linux-gnu)
Buscando omniauth 1.9.2
Instalando omniauth 1.9.2
Buscando image_optim 0.31.3
Instalando image_optim 0.31.3
Buscando unf 0.1.4
Instalando unf 0.1.4
Buscando mini_suffix 0.3.3
Instalando mini_suffix 0.3.3
Buscando pry 0.14.2
Instalando pry 0.14.2
Buscando logstash-logger 0.26.1
Instalando logstash-logger 0.26.1
Buscando mini_racer 0.8.0
Buscando sidekiq 6.5.12
Instalando sidekiq 6.5.12
Buscando redis-namespace 1.11.0
Instalando redis-namespace 1.11.0
Buscando oauth-tty 1.0.5
Instalando oauth-tty 1.0.5
Buscando snaky_hash 2.0.1
Instalando snaky_hash 2.0.1
Buscando rbtrace 0.5.1
Instalando rbtrace 0.5.1 com extensões nativas
Instalando mini_racer 0.8.0 com extensões nativas
Buscando puma 6.4.2
Instalando puma 6.4.2 com extensões nativas
Buscando rss 0.3.0
Instalando rss 0.3.0
Buscando rqrcode 2.2.0
Instalando rqrcode 2.2.0
Buscando activesupport 7.0.8
Instalando activesupport 7.0.8
Buscando tzinfo-data 1.2024.1
Instalando tzinfo-data 1.2024.1
Buscando net-imap 0.4.10
Instalando net-imap 0.4.10
Buscando net-pop 0.1.2
Instalando net-pop 0.1.2
Buscando net-smtp 0.4.0.1
Instalando net-smtp 0.4.0.1
Buscando aws-sdk-core 3.130.2
Instalando aws-sdk-core 3.130.2
Buscando css_parser 1.16.0
Instalando css_parser 1.16.0
Buscando loofah 2.22.0
Instalando loofah 2.22.0
Buscando ruby-readability 0.7.0
Instalando ruby-readability 0.7.0
Buscando sanitize 6.1.0
Instalando sanitize 6.1.0
Buscando unicorn 6.1.0
Instalando unicorn 6.1.0 com extensões nativas
Buscando faraday-net_http 3.1.0
Instalando faraday-net_http 3.1.0
Buscando sassc-embedded 1.70.0
Instalando sassc-embedded 1.70.0
Buscando simpleidn 0.2.1
Instalando simpleidn 0.2.1
Buscando pry-byebug 3.10.1
Instalando pry-byebug 3.10.1
Buscando pry-rails 0.3.9
Instalando pry-rails 0.3.9
Buscando mini_scheduler 0.16.0
Instalando mini_scheduler 0.16.0
Buscando oauth 1.1.0
Instalando oauth 1.1.0
Buscando rtlcss 0.2.1
Instalando rtlcss 0.2.1
Buscando rails-dom-testing 2.2.0
Instalando rails-dom-testing 2.2.0
Buscando globalid 1.2.1
Instalando globalid 1.2.1
Buscando activemodel 7.0.8
Instalando activemodel 7.0.8
Buscando mail 2.8.1
Instalando mail 2.8.1
Buscando aws-sdk-kms 1.56.0
Instalando aws-sdk-kms 1.56.0
Buscando aws-sdk-sns 1.53.0
Instalando aws-sdk-sns 1.53.0
Buscando rails-html-sanitizer 1.6.0
Instalando rails-html-sanitizer 1.6.0
Buscando openssl-signature_algorithm 1.3.0
Instalando openssl-signature_algorithm 1.3.0
Buscando web-push 3.0.1
Instalando web-push 3.0.1
Buscando faraday 2.9.0
Instalando faraday 2.9.0
Buscando json_schemer 2.1.1
Instalando json_schemer 2.1.1
Buscando omniauth-oauth 1.2.0
Instalando omniauth-oauth 1.2.0
Buscando activejob 7.0.8
Instalando activejob 7.0.8
Buscando active_model_serializers 0.8.4
Instalando active_model_serializers 0.8.4
Buscando activerecord 7.0.8
Instalando activerecord 7.0.8
Buscando aws-sdk-s3 1.114.0
Instalando aws-sdk-s3 1.114.0
Buscando actionview 7.0.8
Instalando actionview 7.0.8
Buscando cose 1.3.0
Instalando cose 1.3.0
Buscando faraday-retry 2.2.0
Instalando faraday-retry 2.2.0
Buscando oauth2 1.4.11
Instalando oauth2 1.4.11
Buscando omniauth-twitter 1.4.0
Instalando omniauth-twitter 1.4.0
Buscando discourse-seed-fu 2.3.12
Instalando discourse-seed-fu 2.3.12
Buscando actionpack 7.0.8
Instalando actionpack 7.0.8
Buscando actionview_precompiler 0.3.0
Instalando actionview_precompiler 0.3.0
Buscando omniauth-oauth2 1.7.3
Instalando omniauth-oauth2 1.7.3
Buscando actionmailer 7.0.8
Instalando actionmailer 7.0.8
Buscando railties 7.0.8
Instalando railties 7.0.8
Buscando sprockets-rails 3.4.2
Instalando sprockets-rails 3.4.2
Buscando omniauth-facebook 9.0.0
Instalando omniauth-facebook 9.0.0
Buscando omniauth-github 1.4.0
Instalando omniauth-github 1.4.0
Buscando omniauth-google-oauth2 0.8.2
Instalando omniauth-google-oauth2 0.8.2
Buscando lograge 0.14.0
Instalando lograge 0.14.0
Buscando rails_failover 2.0.1
Instalando rails_failover 2.0.1
Buscando rails_multisite 5.0.0
Instalando rails_multisite 5.0.0
Bundle completo! 138 dependências do Gemfile, 170 gems instalados agora.
Gems nos grupos 'development' e 'test' não foram instalados.
Gems do bundle estão instalados em `./vendor/bundle`
Mensagem pós-instalação de image_optim:
A otimização de ativos de imagem do Rails foi extraída para a gem image_optim_rails
Você pode remover com segurança `config.assets.image_optim = false` se não for usar essa gem
Mensagem pós-instalação de oauth:
Você instalou a versão 1.1.0 do oauth, parabéns!
O suporte não comercial para a série 1.x terminará em abril de 2025. Por favor, planeje uma atualização para a próxima versão antes dessa data.
A única mudança disruptiva será o suporte removido para Ruby 2.7 e quaisquer outras versões que também tenham atingido o fim do suporte (EOL) até então.
Por favor, consulte:
• https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md
Note também que eu, e este projeto, estamos no processo de sair do Github.
Escrevi sobre algumas das razões aqui:
• https://dev.to/galtzo/im-leaving-github-50ba
Se você é uma pessoa, por favor considere uma doação enquanto eu me movo para me sustentar com trabalho de Código Aberto:
• https://liberapay.com/pboling
• https://ko-fi.com/pboling
• https://patreon.com/galtzo
Se você é uma corporação, por favor considere apoiar este projeto, e trabalho de código aberto em geral, com uma assinatura TideLift.
• https://tidelift.com/funding/github/rubygems/oauth
• Ou me contrate. Estou procurando emprego!
Por favor, reporte problemas e apoie o projeto!
Obrigado, |7eter l-|. l3oling
Mensagem pós-instalação de oauth2:
Você instalou a versão 1.4.11 do oauth2, que está com fim do suporte (EOL).
Nenhum suporte adicional é esperado para a série 1.4.x.
A versão 2 do OAuth2 foi lançada.
Há mudanças disruptivas, mas a maioria não as encontrará, e a atualização deve ser fácil!
Fizemos duas outras migrações importantes:
1. A branch master foi renomeada para main
2. O Github foi substituído pelo Gitlab
Por favor, consulte:
• https://gitlab.com/oauth-xx/oauth2#what-is-new-for-v20
• https://gitlab.com/oauth-xx/oauth2/-/blob/main/CHANGELOG.md
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE
Por favor, atualize, reporte problemas e apoie o projeto! Obrigado, |7eter l-|. l3oling
Mensagem pós-instalação de rubyzip:
O RubyZip 3.0 está chegando!
**********************
A API pública de algumas classes do Rubyzip foi modernizada para usar parâmetros nomeados para argumentos opcionais. Por favor, verifique o uso das seguintes classes:
* `Zip::File`
* `Zip::Entry`
* `Zip::InputStream`
* `Zip::OutputStream`
Por favor, certifique-se de que seus Gemfiles e .gemspecs sejam suficientemente restritivos para evitar uma quebra inesperada quando a versão 3.0 for lançada (ex. ~> 2.3.0).
Veja https://github.com/rubyzip/rubyzip para detalhes. O Changelog também lista outros aprimoramentos e correções de bugs implementados desde a versão 2.3.0.
I, [2024-02-23T01:07:36.738151 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-02-23T01:07:39.725809 #1] INFO -- : docker_manager já está na versão compatível mais recente
I, [2024-02-23T01:07:39.726341 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Não foi possível conectar ao Redis
rake abortado!
Redis::CannotConnectError: Erro ao conectar ao Redis em localhost:6379 (Errno::EADDRNOTAVAIL) (Redis::CannotConnectError)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:398:in `rescue in establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:379:in `establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:115:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:344:in `with_reconnect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:114:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:409:in `ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:269:in `block in process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:356:in `logging'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:268:in `process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:161:in `call'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:270:in `block in send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/commands/strings.rb:191:in `get'
/var/www/discourse/app/models/global_setting.rb:37:in `safe_secret_key_base'
/var/www/discourse/config/initializers/100-secret_token.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:208:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:666:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:506:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Causado por:
Errno::EADDRNOTAVAIL: Não é possível atribuir o endereço solicitado - connect(2) para [::1]:6379 (Errno::EADDRNOTAVAIL)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:158:in `connect_addrinfo'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:196:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `each_with_index'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:308:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:385:in `establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:115:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:344:in `with_reconnect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:114:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:409:in `ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:269:in `block in process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:356:in `logging'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:268:in `process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:161:in `call'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:270:in `block in send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/commands/strings.rb:191:in `get'
/var/www/discourse/app/models/global_setting.rb:37:in `safe_secret_key_base'
/var/www/discourse/config/initializers/100-secret_token.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:208:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:666:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:506:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tarefas: TOP => db:migrate => db:load_config => environment
(Veja o rastreamento completo executando a tarefa com --trace)
I, [2024-02-23T01:07:41.816270 #1] INFO -- :
I, [2024-02-23T01:07:41.816794 #1] INFO -- : Terminando processos assíncronos
I, [2024-02-23T01:07:41.816848 #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: 42
2024-02-23 01:07:41.817 UTC [42] LOG: recebido pedido de desligamento rápido
2024-02-23 01:07:41.855 UTC [42] LOG: abortando transações ativas
2024-02-23 01:07:41.857 UTC [42] LOG: worker em segundo plano "logical replication launcher" (PID 51) saiu com código de saída 1
2024-02-23 01:07:41.857 UTC [46] LOG: desligando
2024-02-23 01:07:41.919 UTC [42] LOG: sistema de banco de dados desligado
FALHOU
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' falhou com retorno #<Process::Status: pid 5756 exit 1>
Local do erro: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec falhou com os parâmetros {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap falhou com código de saída 1
** FALHA NO BOOTSTRAP ** role para cima e procure por mensagens de erro anteriores, pode haver mais de uma.
./discourse-doctor pode ajudar a diagnosticar o problema.
e37edc0df10c0f119a1e34028c2b58b518cd7b788fa5cb564f0f370eb3bdfaad
==================== FIM DO LOG DE RECONSTRUÇÃO ====================