Ho eseguito ./discourse-doctor e questo è stato il risultato
==================== DOCKER INFO ====================
VERSIONE DOCKER: Docker version 25.0.3, build 4debf41
PROCESSI DOCKER (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
==================== PROBLEMA GRAVE!!!! ====================
app non in esecuzione!
Tentativo di ricostruzione
==================== LOG RICOSTRUZIONE ====================
ATTENZIONE: Il supporto per aarch64 è attualmente sperimentale. Si prega di segnalare eventuali problemi a https://meta.discourse.org/tag/arm
ATTENZIONE: Stiamo per iniziare a scaricare l'immagine base di Discourse
Questo processo può richiedere da alcuni minuti a un'ora, a seconda della velocità della tua rete
Si prega di essere pazienti
aarch64: Pulling from discourse/base
Digest: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
Status: Image is up to date for discourse/base:aarch64
docker.io/discourse/base:aarch64
Verifica che launcher sia aggiornato
Launcher è aggiornato
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 -- : Lettura da stdin
I, [2024-02-23T01:03:10.172488 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2024-02-23T01:03:10.199783 #1] INFO -- : Generazione delle lingue (questo potrebbe richiedere un po' di tempo)...
Generazione completata.
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 già in esecuzione, arresta il contenitore ; 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 -- : Sostituzione di data_directory = '/var/lib/postgresql/13/main' con data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.904605 #1] INFO -- : Sostituzione di (?-mix:#?listen_addresses *=.*) con listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.905117 #1] INFO -- : Sostituzione di (?-mix:#?synchronous_commit *=.*) con synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.906308 #1] INFO -- : Sostituzione di (?-mix:#?shared_buffers *=.*) con shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.907539 #1] INFO -- : Sostituzione di (?-mix:#?work_mem *=.*) con work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.910822 #1] INFO -- : Sostituzione di (?-mix:#?default_text_search_config *=.*) con 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 -- : Sostituzione di (?-mix:#?checkpoint_segments *=.*) con checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.918530 #1] INFO -- : Sostituzione di (?-mix:#?logging_collector *=.*) con logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.920794 #1] INFO -- : Sostituzione di (?-mix:#?log_min_duration_statement *=.*) con 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 -- : Sostituzione di (?-mix:^#local +replication +postgres +peer$) con local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.925088 #1] INFO -- : Sostituzione di (?-mix:^host.*all.*all.*127.*$) con 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 -- : Sostituzione di (?-mix:^host.*all.*all.*::1\/128.*$) con 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: avvio di PostgreSQL 13.14 (Debian 13.14-1.pgdg110+2) su aarch64-unknown-linux-gnu, compilato da gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-02-23 01:03:16.993 UTC [42] LOG: in ascolto sull'indirizzo IPv4 "0.0.0.0", porta 5432
2024-02-23 01:03:16.993 UTC [42] LOG: in ascolto sull'indirizzo IPv6 "::", porta 5432
2024-02-23 01:03:17.004 UTC [42] LOG: in ascolto sul socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2024-02-23 01:03:17.022 UTC [45] LOG: il sistema del database è stato arrestato il 2024-02-23 01:01:24 UTC
2024-02-23 01:03:17.034 UTC [42] LOG: il sistema del database è pronto ad accettare connessioni
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: il database "discourse" esiste già
2024-02-23 01:03:22.019 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: errore: creazione del database fallita: ERROR: il database "discourse" esiste già
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: il ruolo "discourse" esiste già
2024-02-23 01:03:22.088 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: il ruolo "discourse" esiste già
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: l'estensione "hstore" esiste già, salto
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: l'estensione "pg_trgm" esiste già, salto
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: l'estensione "vector" esiste già, salto
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: l'estensione "hstore" esiste già, salto
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: l'estensione "pg_trgm" esiste già, salto
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: l'estensione "vector" esiste già, salto
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 -- : Sostituzione di daemonize yes con in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.544893 #1] INFO -- : Sostituzione di (?-mix:^pidfile.*$) con 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 -- : Sostituzione di (?-mix:^logfile.*$) con logfile "" in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.549358 #1] INFO -- : Sostituzione di (?-mix:^bind .*$) con in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.555255 #1] INFO -- : Sostituzione di (?-mix:^dir .*$) con dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.560533 #1] INFO -- : Sostituzione di (?-mix:^protected-mode yes) con protected-mode no in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.565383 #1] INFO -- : Sostituzione di # io-threads 4 con 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>: Dimensione pagina di sistema non supportata
<jemalloc>: Dimensione pagina di sistema non supportata
I, [2024-02-23T01:03:32.577625 #1] INFO -- :
I, [2024-02-23T01:03:32.578022 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-02-23T01:03:32.582200 #1] INFO -- : thpoff is installed!
I, [2024-02-23T01:03:32.582566 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [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 "Aborting! Domain is not configured!"; 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 "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; 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 -- : File > /etc/cron.d/anacron chmod: chown:
I, [2024-02-23T01:03:32.825589 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-02-23T01:03:32.829297 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2024-02-23T01:03:32.832905 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2024-02-23T01:03:32.836470 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-02-23T01:03:32.839930 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-02-23T01:03:32.840221 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /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>: Unsupported system page size
<jemalloc>: Dimensione pagina di sistema non supportata
Aggiornamento file: 100% (33860/33860), completato.
I, [2024-02-23T01:03:37.224372 #1] INFO -- : HEAD è ora a 31e44cfa8 DEV: Correzione test di sistema instabili "Cambio 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
'
Da https://github.com/discourse/discourse
- [eliminato] (nessuno) -> origin/bulk-select-dropdown-items
- [eliminato] (nessuno) -> origin/chat-composer-mobile
- [eliminato] (nessuno) -> origin/composer-space-mobile
- [eliminato] (nessuno) -> origin/fix-form-template
- [eliminato] (nessuno) -> origin/fix_uncategorized_category
- [eliminato] (nessuno) -> origin/glimmer-header-handle-overrides
- [eliminato] (nessuno) -> origin/poc/auto-after-before-plugin-outlets
- [eliminato] (nessuno) -> origin/translations-from-crowdin-stable
31e44cfa8..1ad8e85b3 main -> origin/main
* [nuovo ramo] add_debug_ar_connection_pool -> origin/add_debug_ar_connection_pool
* [nuovo ramo] app-events-desktop-notis -> origin/app-events-desktop-notis
* [nuovo ramo] chat-mobile-composer-followup-2 -> origin/chat-mobile-composer-followup-2
+ a465edbc1...111b47aec convert-header-to-glimmer -> origin/convert-header-to-glimmer (aggiornamento forzato)
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 (aggiornamento forzato)
* [nuovo ramo] 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 (aggiornamento forzato)
* [nuovo ramo] hot-fixes -> origin/hot-fixes
* [nuovo ramo] modal-class-cleanup -> origin/modal-class-cleanup
* [nuovo ramo] 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
'
Passato a un nuovo ramo 'tests-passed'
I, [2024-02-23T01:03:41.587550 #1] INFO -- : Ramo 'tests-passed' impostato per tracciare il ramo remoto 'tests-passed' da '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 -- : Sostituzione di # redis con sv start redis || exit 1 in /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
Clonazione in '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 -- : Sostituzione di pid /run/nginx.pid; con daemon off; in /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.639440 #1] INFO -- : Sostituzione di (?m-ix:upstream[^\}]+\}) con upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.639802 #1] INFO -- : Sostituzione di (?-mix:server_name.+$) con server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.640836 #1] INFO -- : Sostituzione di (?-mix:client_max_body_size.+$) con client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.647665 #1] INFO -- : Sostituzione di (?-mix:worker_connections.+$) con worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.647911 #1] INFO -- : > echo "configurazione web completata"
I, [2024-02-23T01:03:44.649326 #1] INFO -- : configurazione web completata
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" ha una dipendenza peer non soddisfatta "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" ha una dipendenza peer errata "typescript@^5.3.3".
warning " > @glint/environment-ember-loose@1.3.0" ha una dipendenza peer non soddisfatta "@glimmer/component@^1.1.2".
warning Il campo di risoluzione "unset-value@2.0.1" è incompatibile con la versione richiesta "unset-value@^1.0.0"
warning Il pattern ["wrap-ansi@^7.0.0"] sta cercando di decomprimere nella stessa destinazione "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" del pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. Questo potrebbe comportare un comportamento non deterministico, saltato.
warning " > discourse-markdown-it@1.0.0" ha una dipendenza peer non soddisfatta "xss@*".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3@3.0.6" ha una dipendenza peer errata "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3-multipart@3.1.3" ha una dipendenza peer errata "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/xhr-upload@3.1.1" ha una dipendenza peer errata "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > ember-router-service-refresh-polyfill@1.1.0" ha una dipendenza peer errata "ember-source@^3.4 || 4".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse-plugins > ember-this-fallback@0.4.0" ha una dipendenza peer non soddisfatta "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > admin > ember-source > router_js@8.0.3" ha una dipendenza peer non soddisfatta "rsvp@^4.8.5".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" ha una dipendenza peer errata "@uppy/core@^3.2.1".
I, [2024-02-23T01:05:49.643583 #1] INFO -- : yarn install v1.22.19
[1/5] Convalida package.json...
[2/5] Risoluzione pacchetti...
[3/5] Recupero pacchetti...
[4/5] Collegamento dipendenze...
[5/5] Creazione di pacchetti nuovi...
$ 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] Risoluzione pacchetti...
[2/4] Recupero pacchetti...
[3/4] Collegamento dipendenze...
[4/4] Creazione di pacchetti nuovi...
$ ./run-patch-package
patch-package 8.0.0
Applicazione patch...
@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 ✔
Fatto in 72.93s.
Fatto in 115.37s.
yarn cache v1.22.19
success Cache cancellata.
Fatto in 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 -- : Recupero metadati gem da https://rubygems.org/.........
Recupero https://github.com/rails/sprockets
Recupero rake 13.1.0
Installazione rake 13.1.0
Recupero concurrent-ruby 1.2.3
Recupero minitest 5.22.2
Recupero builder 3.2.4
Recupero erubi 1.12.0
Installazione concurrent-ruby 1.2.3
Recupero racc 1.7.3
Installazione minitest 5.22.2
Recupero crass 1.0.6
Installazione builder 3.2.4
Recupero rack 2.2.8.1
Installazione erubi 1.12.0
Recupero mini_mime 1.1.5
Installazione racc 1.7.3 con estensioni native
Installazione crass 1.0.6
Recupero date 3.3.4
Installazione rack 2.2.8.1
Recupero timeout 0.4.1
Installazione mini_mime 1.1.5
Recupero public_suffix 5.0.4
Installazione date 3.3.4 con estensioni native
Installazione timeout 0.4.1
Recupero aws-eventstream 1.3.0
Installazione public_suffix 5.0.4
Installazione aws-eventstream 1.3.0
Recupero aws-partitions 1.583.0
Recupero jmespath 1.6.2
Installazione aws-partitions 1.583.0
Recupero base64 0.2.0
Installazione jmespath 1.6.2
Recupero bigdecimal 3.1.6
Installazione base64 0.2.0
Recupero msgpack 1.7.2
Installazione bigdecimal 3.1.6 con estensioni native
Installazione msgpack 1.7.2 con estensioni native
Recupero byebug 11.1.3
Installazione byebug 11.1.3 con estensioni native
Recupero cbor 0.5.9.8
Installazione cbor 0.5.9.8 con estensioni native
Recupero cgi 0.4.1
Installazione cgi 0.4.1 con estensioni native
Recupero chunky_png 1.4.0
Installazione chunky_png 1.4.0
Recupero coderay 1.1.3
Installazione coderay 1.1.3
Recupero colored2 4.0.0
Installazione colored2 4.0.0
Recupero connection_pool 2.4.1
Installazione connection_pool 2.4.1
Recupero openssl 3.2.0
Installazione openssl 3.2.0 con estensioni native
Recupero cppjieba_rb 0.4.2
Installazione cppjieba_rb 0.4.2 con estensioni native
Recupero diffy 3.4.2
Installazione diffy 3.4.2
Recupero discourse-fonts 0.0.9
Recupero email_reply_trimmer 0.1.13
Installazione email_reply_trimmer 0.1.13
Recupero excon 0.109.0
Installazione excon 0.109.0
Recupero execjs 2.9.1
Installazione execjs 2.9.1
Recupero exifr 1.4.0
Installazione exifr 1.4.0
Installazione discourse-fonts 0.0.9
Recupero uri 0.13.0
Installazione uri 0.13.0
Recupero fast_blank 1.0.1
Installazione fast_blank 1.0.1 con estensioni native
Recupero fast_xs 0.8.0
Installazione fast_xs 0.8.0 con estensioni native
Recupero fastimage 2.3.0
Installazione fastimage 2.3.0
Recupero ffi 1.16.3
Installazione ffi 1.16.3 con estensioni native
Recupero fspath 3.1.2
Recupero gc_tracer 1.5.1
Installazione fspath 3.1.2
Recupero google-protobuf 3.25.3 (aarch64-linux)
Installazione gc_tracer 1.5.1 con estensioni native
Installazione google-protobuf 3.25.3 (aarch64-linux)
Recupero guess_html_encoding 0.0.11
Installazione guess_html_encoding 0.0.11
Recupero hana 1.3.7
Installazione hana 1.3.7
Recupero hashie 5.0.0
Installazione hashie 5.0.0
Recupero highline 3.0.1
Installazione highline 3.0.1
Recupero htmlentities 4.3.4
Installazione htmlentities 4.3.4
Recupero http_accept_language 2.1.1
Installazione http_accept_language 2.1.1
Recupero image_size 3.4.0
Installazione image_size 3.4.0
Recupero in_threads 1.6.0
Installazione in_threads 1.6.0
Recupero progress 3.6.0
Installazione progress 3.6.0
Recupero json 2.7.1
Installazione json 2.7.1 con estensioni native
Recupero regexp_parser 2.9.0
Installazione regexp_parser 2.9.0
Recupero unf_ext 0.0.9.1
Installazione unf_ext 0.0.9.1 con estensioni native
Recupero kgio 2.11.4
Installazione kgio 2.11.4 con estensioni native
Recupero libv8-node 18.16.0.0 (aarch64-linux)
Installazione libv8-node 18.16.0.0 (aarch64-linux)
Recupero method_source 1.0.0
Installazione method_source 1.0.0
Recupero thor 1.3.0
Installazione thor 1.3.0
Recupero zeitwerk 2.6.13
Installazione zeitwerk 2.6.13
Recupero logstash-event 1.2.02
Installazione logstash-event 1.2.02
Recupero logster 2.18.1
Installazione logster 2.18.1
Recupero lru_redux 1.1.0
Installazione lru_redux 1.1.0
Recupero lz4-ruby 0.3.3
Installazione lz4-ruby 0.3.3 con estensioni native
Recupero maxminddb 0.1.22
Installazione maxminddb 0.1.22
Recupero memory_profiler 1.0.1
Installazione memory_profiler 1.0.1
Recupero redis 4.8.1
Installazione redis 4.8.1
Recupero mini_sql 1.5.0
Installazione mini_sql 1.5.0
Recupero multi_json 1.15.0
Installazione multi_json 1.15.0
Recupero multi_xml 0.6.0
Installazione multi_xml 0.6.0
Recupero mustache 1.1.1
Installazione mustache 1.1.1
Recupero nio4r 2.7.0
Installazione nio4r 2.7.0 con estensioni native
Recupero version_gem 1.1.3
Installazione version_gem 1.1.3
Recupero optimist 3.1.0
Installazione optimist 3.1.0
Recupero pg 1.5.4
Installazione pg 1.5.4 con estensioni native
Recupero raindrops 0.20.1
Recupero rchardet 1.8.0
Installazione raindrops 0.20.1 con estensioni native
Installazione rchardet 1.8.0
Recupero rexml 3.2.6
Installazione rexml 3.2.6
Recupero rinku 2.0.6
Installazione rinku 2.0.6 con estensioni native
Recupero rotp 6.3.0
Installazione rotp 6.3.0
Recupero rqrcode_core 1.2.0
Installazione rqrcode_core 1.2.0
Recupero rubyzip 2.3.2
Installazione rubyzip 2.3.2
Recupero sshkey 3.0.0
Installazione sshkey 3.0.0
Recupero stackprof 0.2.26
Installazione stackprof 0.2.26 con estensioni native
Recupero i18n 1.14.1
Installazione i18n 1.14.1
Recupero tzinfo 2.0.6
Installazione tzinfo 2.0.6
Recupero rack-test 2.1.0
Installazione rack-test 2.1.0
Recupero request_store 1.6.0
Installazione request_store 1.6.0
Recupero message_bus 4.3.8
Installazione message_bus 4.3.8
Recupero rack-mini-profiler 3.3.1
Installazione rack-mini-profiler 3.3.1
Recupero net-protocol 0.2.2
Installazione net-protocol 0.2.2
Recupero aws-sigv4 1.5.0
Installazione aws-sigv4 1.5.0
Recupero addressable 2.8.6
Installazione addressable 2.8.6
Recupero jwt 2.8.0
Installazione jwt 2.8.0
Recupero rack-protection 3.2.0
Installazione rack-protection 3.2.0
Recupero nokogiri 1.16.2 (aarch64-linux)
Installazione nokogiri 1.16.2 (aarch64-linux)
Recupero bootsnap 1.18.3
Installazione bootsnap 1.18.3 con estensioni native
Recupero oj 3.16.3
Installazione oj 3.16.3 con estensioni native
Recupero uglifier 4.2.0
Installazione uglifier 4.2.0
Recupero net-http 0.4.1
Installazione net-http 0.4.1
Recupero sass-embedded 1.71.1 (aarch64-linux-gnu)
Installazione sass-embedded 1.71.1 (aarch64-linux-gnu)
Recupero omniauth 1.9.2
Installazione omniauth 1.9.2
Recupero image_optim 0.31.3
Installazione image_optim 0.31.3
Recupero unf 0.1.4
Installazione unf 0.1.4
Recupero mini_suffix 0.3.3
Installazione mini_suffix 0.3.3
Recupero pry 0.14.2
Installazione pry 0.14.2
Recupero logstash-logger 0.26.1
Installazione logstash-logger 0.26.1
Recupero mini_racer 0.8.0
Recupero sidekiq 6.5.12
Installazione sidekiq 6.5.12
Recupero redis-namespace 1.11.0
Installazione redis-namespace 1.11.0
Recupero oauth-tty 1.0.5
Installazione oauth-tty 1.0.5
Recupero snaky_hash 2.0.1
Installazione snaky_hash 2.0.1
Recupero rbtrace 0.5.1
Installazione rbtrace 0.5.1 con estensioni native
Installazione mini_racer 0.8.0 con estensioni native
Recupero puma 6.4.2
Installazione puma 6.4.2 con estensioni native
Recupero rss 0.3.0
Installazione rss 0.3.0
Recupero rqrcode 2.2.0
Installazione rqrcode 2.2.0
Recupero activesupport 7.0.8
Installazione activesupport 7.0.8
Recupero tzinfo-data 1.2024.1
Installazione tzinfo-data 1.2024.1
Recupero net-imap 0.4.10
Installazione net-imap 0.4.10
Recupero net-pop 0.1.2
Installazione net-pop 0.1.2
Recupero net-smtp 0.4.0.1
Installazione net-smtp 0.4.0.1
Recupero aws-sdk-core 3.130.2
Installazione aws-sdk-core 3.130.2
Recupero css_parser 1.16.0
Installazione css_parser 1.16.0
Recupero loofah 2.22.0
Installazione loofah 2.22.0
Recupero ruby-readability 0.7.0
Installazione ruby-readability 0.7.0
Recupero sanitize 6.1.0
Installazione sanitize 6.1.0
Recupero unicorn 6.1.0
Installazione unicorn 6.1.0 con estensioni native
Recupero faraday-net_http 3.1.0
Installazione faraday-net_http 3.1.0
Recupero sassc-embedded 1.70.0
Installazione sassc-embedded 1.70.0
Recupero simpleidn 0.2.1
Installazione simpleidn 0.2.1
Recupero pry-byebug 3.10.1
Installazione pry-byebug 3.10.1
Recupero pry-rails 0.3.9
Installazione pry-rails 0.3.9
Recupero mini_scheduler 0.16.0
Installazione mini_scheduler 0.16.0
Recupero oauth 1.1.0
Installazione oauth 1.1.0
Recupero rtlcss 0.2.1
Installazione rtlcss 0.2.1
Recupero rails-dom-testing 2.2.0
Installazione rails-dom-testing 2.2.0
Recupero globalid 1.2.1
Installazione globalid 1.2.1
Recupero activemodel 7.0.8
Installazione activemodel 7.0.8
Recupero mail 2.8.1
Installazione mail 2.8.1
Recupero aws-sdk-kms 1.56.0
Installazione aws-sdk-kms 1.56.0
Recupero aws-sdk-sns 1.53.0
Installazione aws-sdk-sns 1.53.0
Recupero rails-html-sanitizer 1.6.0
Installazione rails-html-sanitizer 1.6.0
Recupero openssl-signature_algorithm 1.3.0
Installazione openssl-signature_algorithm 1.3.0
Recupero web-push 3.0.1
Installazione web-push 3.0.1
Recupero faraday 2.9.0
Installazione faraday 2.9.0
Recupero json_schemer 2.1.1
Installazione json_schemer 2.1.1
Recupero omniauth-oauth 1.2.0
Installazione omniauth-oauth 1.2.0
Recupero activejob 7.0.8
Installazione activejob 7.0.8
Recupero active_model_serializers 0.8.4
Installazione active_model_serializers 0.8.4
Recupero activerecord 7.0.8
Installazione activerecord 7.0.8
Recupero aws-sdk-s3 1.114.0
Installazione aws-sdk-s3 1.114.0
Recupero actionview 7.0.8
Installazione actionview 7.0.8
Recupero cose 1.3.0
Installazione cose 1.3.0
Recupero faraday-retry 2.2.0
Installazione faraday-retry 2.2.0
Recupero oauth2 1.4.11
Installazione oauth2 1.4.11
Recupero omniauth-twitter 1.4.0
Installazione omniauth-twitter 1.4.0
Recupero discourse-seed-fu 2.3.12
Installazione discourse-seed-fu 2.3.12
Recupero actionpack 7.0.8
Installazione actionpack 7.0.8
Recupero actionview_precompiler 0.3.0
Installazione actionview_precompiler 0.3.0
Recupero omniauth-oauth2 1.7.3
Installazione omniauth-oauth2 1.7.3
Recupero actionmailer 7.0.8
Installazione actionmailer 7.0.8
Recupero railties 7.0.8
Installazione railties 7.0.8
Recupero sprockets-rails 3.4.2
Installazione sprockets-rails 3.4.2
Recupero omniauth-facebook 9.0.0
Installazione omniauth-facebook 9.0.0
Recupero omniauth-github 1.4.0
Installazione omniauth-github 1.4.0
Recupero omniauth-google-oauth2 0.8.2
Installazione omniauth-google-oauth2 0.8.2
Recupero lograge 0.14.0
Installazione lograge 0.14.0
Recupero rails_failover 2.0.1
Installazione rails_failover 2.0.1
Recupero rails_multisite 5.0.0
Installazione rails_multisite 5.0.0
Bundle completato! 138 dipendenze Gemfile, 170 gem installate.
Le gem nei gruppi 'development' e 'test' non sono state installate.
Le gem bundled sono installate in `./vendor/bundle`
Messaggio post-installazione da image_optim:
L'ottimizzazione delle risorse immagine di Rails è stata estratta nella gem image_optim_rails
Puoi rimuovere in sicurezza `config.assets.image_optim = false` se non intendi usare quella gem
Messaggio post-installazione da oauth:
Hai installato la versione 1.1.0 di oauth, congratulazioni!
Il supporto non commerciale per la serie 1.x terminerà entro aprile 2025. Predisponi un piano per aggiornare alla versione successiva prima di quella data.
L'unica modifica breaking sarà l'abbandono del supporto per Ruby 2.7 e qualsiasi altra versione che avrà raggiunto la fine del ciclo di vita (EOL) entro quella data.
Si prega di consultare:
• https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md
Nota inoltre che io, e questo progetto, siamo in fase di abbandono di Github.
Ho scritto alcune delle ragioni qui:
• https://dev.to/galtzo/im-leaving-github-50ba
Se sei un essere umano, considera una donazione mentre mi muovo verso il sostegno del mio lavoro con Open Source:
• https://liberapay.com/pboling
• https://ko-fi.com/pboling
• https://patreon.com/galtzo
Se sei un'azienda, considera il supporto a questo progetto, e al lavoro open source in generale, con un abbonamento TideLift.
• https://tidelift.com/funding/github/rubygems/oauth
• Oppure assumimi. Sto cercando un lavoro!
Segnala problemi e supporta il progetto!
Grazie, |7eter l-|. l3oling
Messaggio post-installazione da oauth2:
Hai installato la versione 1.4.11 di oauth2, che è EOL.
Non è previsto ulteriore supporto per la serie 1.4.x.
La versione 2 di OAuth2 è stata rilasciata.
Ci sono modifiche BREAKING, ma la maggior parte non le incontrerà e l'aggiornamento dovrebbe essere semplice!
Abbiamo effettuato due altre migrazioni principali:
1. Il ramo master è stato rinominato in main
2. Github è stato sostituito con Gitlab
Si prega di consultare:
• 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
Si prega di aggiornare, segnalare problemi e supportare il progetto! Grazie, |7eter l-|. l3oling
Messaggio post-installazione da rubyzip:
RubyZip 3.0 è in arrivo!
**********************
L'API pubblica di alcune classi Rubyzip è stata modernizzata per utilizzare parametri nominati per gli argomenti opzionali. Si prega di verificare l'utilizzo delle seguenti classi:
* `Zip::File`
* `Zip::Entry`
* `Zip::InputStream`
* `Zip::OutputStream`
Assicurati che i tuoi Gemfile e .gemspec siano sufficientemente restrittivi per evitare una rottura inaspettata quando verrà rilasciata la 3.0 (es. ~> 2.3.0).
Vedi https://github.com/rubyzip/rubyzip per i dettagli. Il Changelog elenca anche altri miglioramenti e correzioni di bug implementati dalla versione 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 è già all'ultima versione compatibile
I, [2024-02-23T01:07:39.726341 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Impossibile connettersi a Redis
rake interrotto!
Redis::CannotConnectError: Errore di connessione a Redis su 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>'
Causato da:
Errno::EADDRNOTAVAIL: Impossibile assegnare l'indirizzo richiesto - connect(2) per [::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>'
Task: TOP => db:migrate => db:load_config => environment
(Vedi il tracciato completo eseguendo il task con --trace)
I, [2024-02-23T01:07:41.816270 #1] INFO -- :
I, [2024-02-23T01:07:41.816794 #1] INFO -- : Terminazione dei processi asincroni
I, [2024-02-23T01:07:41.816848 #1] INFO -- : Invio di INT a 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: ricevuta richiesta di arresto rapido
2024-02-23 01:07:41.855 UTC [42] LOG: annullamento di eventuali transazioni attive
2024-02-23 01:07:41.857 UTC [42] LOG: worker di background "logical replication launcher" (PID 51) terminato con codice di uscita 1
2024-02-23 01:07:41.857 UTC [46] LOG: arresto in corso
2024-02-23 01:07:41.919 UTC [42] LOG: sistema database arrestato
NON RIUSCITO
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' non è riuscito con ritorno #<Process::Status: pid 5756 exit 1>
Posizione del fallimento: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec non è riuscito con i parametri {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap non è riuscito con codice di uscita 1
** BOOTSTRAP NON RIUSCITO ** scorri verso l'alto e cerca messaggi di errore precedenti, potrebbero essercene più di uno.
./discourse-doctor può aiutare a diagnosticare il problema.
e37edc0df10c0f119a1e34028c2b58b518cd7b788fa5cb564f0f370eb3bdfaad
==================== FINE LOG RICOSTRUZIONE ====================