./launcher rebuild app
x86_64 arch detected.
Verifica che il launcher sia aggiornato
Recupero dell'origine
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Total 5 (delta 2), reused 5 (delta 2), pack-reused 0
Unpacking objects: 100% (5/5), 1.64 KiB | 420.00 KiB/s, done.
From https://github.com/discourse/discourse_docker
* [new branch] build-27 -> origin/build-27
Launcher è aggiornato
Arresto del vecchio container
+ /usr/bin/docker stop -t 60 app
app
2.0.20221221-0050: Pulling from discourse/base
Digest: sha256:7ac6489e34a0f40f32457bffaa331940a98447b46451a6a1279a79868ee5420b
Status: L'immagine è aggiornata per discourse/base:2.0.20221221-0050
docker.io/discourse/base:2.0.20221221-0050
/usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-01-06T09:56:37.862822 #1] INFO -- : Lettura da stdin
I, [2023-01-06T09:56:37.873432 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2023-01-06T09:56:37.916480 #1] INFO -- : Generazione delle impostazioni locali (questo potrebbe richiedere un po' di tempo)...
Generazione completata.
I, [2023-01-06T09:56:37.916796 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2023-01-06T09:56:37.920730 #1] INFO -- :
I, [2023-01-06T09:56:37.921489 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-01-06T09:56:37.925468 #1] INFO -- :
I, [2023-01-06T09:56:37.925768 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2023-01-06T09:56:37.929274 #1] INFO -- :
I, [2023-01-06T09:56:37.929503 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2023-01-06T09:56:37.936629 #1] INFO -- :
I, [2023-01-06T09:56:37.936917 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-01-06T09:56:37.942210 #1] INFO -- :
I, [2023-01-06T09:56:37.942617 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres già in esecuzione, arrestare il container ; exit 1
2023/01/06 09:56:37 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-01-06T09:56:37.955798 #1] INFO -- :
I, [2023-01-06T09:56:37.956293 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-01-06T09:56:37.961528 #1] INFO -- :
I, [2023-01-06T09:56:37.962113 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-01-06T09:56:37.967246 #1] INFO -- :
I, [2023-01-06T09:56:37.967766 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-01-06T09:56:37.972186 #1] INFO -- :
I, [2023-01-06T09:56:37.972821 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-01-06T09:56:37.976397 #1] INFO -- :
I, [2023-01-06T09:56:37.984067 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2023-01-06T09:56:37.992449 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2023-01-06T09:56:37.999761 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2023-01-06T09:56:38.008435 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2023-01-06T09:56:38.009072 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-01-06T09:56:39.996250 #1] INFO -- :
I, [2023-01-06T09:56:39.996944 #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, [2023-01-06T09:56:40.001030 #1] INFO -- :
I, [2023-01-06T09:56:40.001279 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-01-06T09:56:40.028125 #1] INFO -- :
I, [2023-01-06T09:56:40.028920 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-01-06T09:56:40.032896 #1] INFO -- :
I, [2023-01-06T09:56:40.033431 #1] INFO -- : > /root/upgrade_postgres
I, [2023-01-06T09:56:40.040148 #1] INFO -- :
I, [2023-01-06T09:56:40.040814 #1] INFO -- : > rm /root/upgrade_postgres
I, [2023-01-06T09:56:40.044602 #1] INFO -- :
I, [2023-01-06T09:56:40.046108 #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, [2023-01-06T09:56:40.047133 #1] INFO -- : Sostituzione di (?-mix:#?listen_addresses *=.*) con listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.048699 #1] INFO -- : Sostituzione di (?-mix:#?synchronous_commit *=.*) con synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.049489 #1] INFO -- : Sostituzione di (?-mix:#?shared_buffers *=.*) con shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.051460 #1] INFO -- : Sostituzione di (?-mix:#?work_mem *=.*) con work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.052387 #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, [2023-01-06T09:56:40.053139 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-01-06T09:56:40.060323 #1] INFO -- :
I, [2023-01-06T09:56:40.061251 #1] INFO -- : Sostituzione di (?-mix:#?checkpoint_segments *=.*) con checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.062204 #1] INFO -- : Sostituzione di (?-mix:#?logging_collector *=.*) con logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.063149 #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, [2023-01-06T09:56:40.064554 #1] INFO -- : Sostituzione di (?-mix:^#local +replication +postgres +peer$) con local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-01-06T09:56:40.065507 #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, [2023-01-06T09:56:40.066299 #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, [2023-01-06T09:56:40.067025 #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, [2023-01-06T09:56:40.070647 #1] INFO -- : > sleep 5
2023-01-06 09:56:40.147 UTC [42] LOG: avvio di PostgreSQL 13.9 (Debian 13.9-1.pgdg110+1) su x86_64-pc-linux-gnu, compilato da gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-01-06 09:56:40.148 UTC [42] LOG: in ascolto sull'indirizzo IPv4 "0.0.0.0", porta 5432
2023-01-06 09:56:40.148 UTC [42] LOG: in ascolto sull'indirizzo IPv6 "::", porta 5432
2023-01-06 09:56:40.150 UTC [42] LOG: in ascolto sul socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2023-01-06 09:56:40.156 UTC [45] LOG: il sistema del database è stato arrestato il 2023-01-06 09:56:28 UTC
2023-01-06 09:56:40.166 UTC [42] LOG: il sistema del database è pronto ad accettare connessioni
I, [2023-01-06T09:56:45.073997 #1] INFO -- :
I, [2023-01-06T09:56:45.074652 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-01-06 09:56:45.185 UTC [55] postgres@postgres ERROR: il database "discourse" esiste già
2023-01-06 09:56:45.185 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: errore: creazione del database fallita: ERROR: il database "discourse" esiste già
I, [2023-01-06T09:56:45.188022 #1] INFO -- :
I, [2023-01-06T09:56:45.188495 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-01-06 09:56:45.267 UTC [59] postgres@discourse ERROR: il ruolo "discourse" esiste già
2023-01-06 09:56:45.267 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: il ruolo "discourse" esiste già
I, [2023-01-06T09:56:45.271387 #1] INFO -- :
I, [2023-01-06T09:56:45.272002 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-01-06T09:56:45.334691 #1] INFO -- : GRANT
I, [2023-01-06T09:56:45.335171 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-01-06T09:56:45.396533 #1] INFO -- : ALTER SCHEMA
I, [2023-01-06T09:56:45.396999 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: l'estensione "hstore" esiste già, saltata
I, [2023-01-06T09:56:45.475854 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.476288 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: l'estensione "pg_trgm" esiste già, saltata
I, [2023-01-06T09:56:45.540930 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.541321 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: l'estensione "hstore" esiste già, saltata
I, [2023-01-06T09:56:45.604694 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.605659 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: l'estensione "pg_trgm" esiste già, saltata
I, [2023-01-06T09:56:45.684519 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.685169 #1] INFO -- : > sudo -u postgres psql discourse
I, [2023-01-06T09:56:45.689551 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2023-01-06T09:56:45.773054 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2023-01-06T09:56:45.777722 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2023-01-06T09:56:45.778143 #1] INFO -- : > echo postgres installato!
I, [2023-01-06T09:56:45.780994 #1] INFO -- : postgres installato!
I, [2023-01-06T09:56:45.787429 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2023-01-06T09:56:45.793509 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2023-01-06T09:56:45.800521 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2023-01-06T09:56:45.802279 #1] INFO -- : Sostituzione di daemonize yes con in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.803245 #1] INFO -- : Sostituzione di (?-mix:^pidfile.*$) con in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.803992 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-01-06T09:56:45.808325 #1] INFO -- :
I, [2023-01-06T09:56:45.809392 #1] INFO -- : Sostituzione di (?-mix:^logfile.*$) con logfile "" in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.810316 #1] INFO -- : Sostituzione di (?-mix:^bind .*$) con in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.811139 #1] INFO -- : Sostituzione di (?-mix:^dir .*$) con dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.812249 #1] INFO -- : Sostituzione di (?-mix:^protected-mode yes) con protected-mode no in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.817079 #1] INFO -- : Sostituzione di # io-threads 4 con io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.817912 #1] INFO -- : > echo redis installato
I, [2023-01-06T09:56:45.821678 #1] INFO -- : redis installato
I, [2023-01-06T09:56:45.822096 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-01-06T09:56:45.827204 #1] INFO -- : logfile ""
I, [2023-01-06T09:56:45.827701 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.confI, [2023-01-06T09:56:45.829988 #1] INFO -- : > sleep 10
103:C 06 Jan 2023 09:56:45.837 # oO0OoO0OoO0Oo Redis sta avviando oO0OoO0OoO0Oo
103:C 06 Jan 2023 09:56:45.837 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=103, appena avviato
103:C 06 Jan 2023 09:56:45.837 # Configurazione caricata
103:M 06 Jan 2023 09:56:45.838 * clock monotonic: POSIX clock_gettime
103:M 06 Jan 2023 09:56:45.839 * Modalità di esecuzione=standalone, porta=6379.
103:M 06 Jan 2023 09:56:45.839 # Server inizializzato
103:M 06 Jan 2023 09:56:45.840 # ATTENZIONE: deve essere abilitato l'overcommit della memoria! Senza di esso, un salvataggio in background o una replicazione potrebbero fallire in condizioni di memoria bassa. Se disabilitato, può anche causare fallimenti senza condizioni di memoria bassa, vedi https://github.com/jemalloc/jemalloc/issues/1328. Per risolvere questo problema aggiungi 'vm.overcommit_memory = 1' a /etc/sysctl.conf e poi riavvia o esegui il comando 'sysctl vm.overcommit_memory=1' per renderlo effettivo.
103:M 06 Jan 2023 09:56:45.840 * Caricamento RDB prodotto dalla versione 7.0.7
103:M 06 Jan 2023 09:56:45.840 * Età RDB 18 secondi
103:M 06 Jan 2023 09:56:45.840 * Utilizzo memoria RDB alla creazione 62.75 Mb
103:M 06 Jan 2023 09:56:46.126 * Caricamento RDB completato, chiavi caricate: 42875, chiavi scadute: 25.
103:M 06 Jan 2023 09:56:46.126 * DB caricato dal disco: 0.285 secondi
103:M 06 Jan 2023 09:56:46.126 * Pronto ad accettare connessioni
I, [2023-01-06T09:56:55.833137 #1] INFO -- :
I, [2023-01-06T09:56:55.833631 #1] INFO -- : > thpoff echo "thpoff è installato!"
I, [2023-01-06T09:56:55.838644 #1] INFO -- : thpoff è installato!
I, [2023-01-06T09:56:55.839000 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Interruzione! La mail non è configurata!"; exit 1; end'
I, [2023-01-06T09:56:55.937009 #1] INFO -- :
I, [2023-01-06T09:56:55.937523 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Interruzione! Il dominio non è configurato!"; exit 1; end'
I, [2023-01-06T09:56:56.055190 #1] INFO -- :
I, [2023-01-06T09:56:56.056052 #1] INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Interruzione! Il CDN deve avere un protocollo specificato. Una volta corretto, dovresti ricompilare i tuoi post ora per correggere tutti i post."; exit 1; end'
I, [2023-01-06T09:56:56.165960 #1] INFO -- :
I, [2023-01-06T09:56:56.166528 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-01-06T09:56:56.170055 #1] INFO -- :
I, [2023-01-06T09:56:56.173793 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2023-01-06T09:56:56.179969 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2023-01-06T09:56:56.186007 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2023-01-06T09:56:56.191686 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2023-01-06T09:56:56.197830 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2023-01-06T09:56:56.204069 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2023-01-06T09:56:56.204477 #1] INFO -- : Sostituzione di # postgres con sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-01-06T09:56:56.204950 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.confI, [2023-01-06T09:56:56.208008 #1] INFO -- : > cd /var/www/discourse && git reset --hard
130:C 06 Jan 2023 09:56:56.214 # oO0OoO0OoO0Oo Redis sta avviando oO0OoO0OoO0Oo
130:C 06 Jan 2023 09:56:56.214 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=130, appena avviato
130:C 06 Jan 2023 09:56:56.214 # Configurazione caricata
130:M 06 Jan 2023 09:56:56.215 * clock monotonic: POSIX clock_gettime
130:M 06 Jan 2023 09:56:56.216 # Attenzione: impossibile creare il socket TCP di ascolto del server *:6379: bind: Indirizzo già in uso
130:M 06 Jan 2023 09:56:56.216 # Impossibile ascoltare sulla porta 6379 (TCP), interruzione.
Aggiornamento file: 100% (32637/32637), completato.
I, [2023-01-06T09:57:00.148769 #1] INFO -- : HEAD è ora su e775ed1c DEV: Inclusione corretta degli esempi spec (#19532)
I, [2023-01-06T09:57:00.148996 #1] INFO -- : > cd /var/www/discourse && git clean -f
I, [2023-01-06T09:57:00.298213 #1] INFO -- :
I, [2023-01-06T09:57:00.298417 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2023-01-06T09:57:00.303868 #1] INFO -- :
I, [2023-01-06T09:57:00.304305 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2023-01-06T09:57:00.308952 #1] INFO -- :
I, [2023-01-06T09:57:00.309534 #1] INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
From https://github.com/discourse/discourse
* branch tests-passed -> FETCH_HEAD
* [new branch] tests-passed -> origin/tests-passed
I, [2023-01-06T09:57:02.291480 #1] INFO -- :
I, [2023-01-06T09:57:02.292020 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Passaggio a un nuovo branch 'tests-passed'
I, [2023-01-06T09:57:02.778403 #1] INFO -- : Il branch 'tests-passed' è impostato per tracciare il branch remoto 'tests-passed' da 'origin'.
I, [2023-01-06T09:57:02.778757 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-01-06T09:57:02.783573 #1] INFO -- :
I, [2023-01-06T09:57:02.783852 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-01-06T09:57:02.788155 #1] INFO -- :
I, [2023-01-06T09:57:02.788374 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-01-06T09:57:02.793490 #1] INFO -- :
I, [2023-01-06T09:57:02.793745 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-01-06T09:57:02.798955 #1] INFO -- :
I, [2023-01-06T09:57:02.799276 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-01-06T09:57:02.804037 #1] INFO -- :
I, [2023-01-06T09:57:02.804158 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-01-06T09:57:02.809532 #1] INFO -- :
I, [2023-01-06T09:57:02.810042 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-01-06T09:57:02.816507 #1] INFO -- :
I, [2023-01-06T09:57:02.817103 #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, [2023-01-06T09:57:02.823217 #1] INFO -- :
I, [2023-01-06T09:57:02.823371 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2023-01-06T09:57:02.830664 #1] INFO -- :
I, [2023-01-06T09:57:02.831217 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-01-06T09:57:02.838035 #1] INFO -- :
I, [2023-01-06T09:57:02.838188 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2023-01-06T09:57:02.845017 #1] INFO -- :
I, [2023-01-06T09:57:02.845161 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-01-06T09:57:02.852142 #1] INFO -- :
I, [2023-01-06T09:57:02.852719 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-01-06T09:57:03.088067 #1] INFO -- :
I, [2023-01-06T09:57:03.088676 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-01-06T09:57:03.096456 #1] INFO -- :
I, [2023-01-06T09:57:03.097157 #1] INFO -- : Sostituzione di # redis con sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-01-06T09:57:03.098182 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonazione in 'docker_manager'...
I, [2023-01-06T09:57:04.007060 #1] INFO -- :
I, [2023-01-06T09:57:04.007276 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Clonazione in 'discourse-whos-online'...
I, [2023-01-06T09:57:04.533307 #1] INFO -- :
I, [2023-01-06T09:57:04.533437 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/tarck-bike/discourse-poster-location.git
Clonazione in 'discourse-poster-location'...
I, [2023-01-06T09:57:04.827646 #1] INFO -- :
I, [2023-01-06T09:57:04.827830 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/tarck-bike/discourse-word-replace.git
Clonazione in 'discourse-word-replace'...
I, [2023-01-06T09:57:05.157347 #1] INFO -- :
I, [2023-01-06T09:57:05.157476 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Clonazione in 'discourse-reactions'...
I, [2023-01-06T09:57:06.028406 #1] INFO -- :
I, [2023-01-06T09:57:06.029058 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-prometheus.git
Clonazione in 'discourse-prometheus'...
I, [2023-01-06T09:57:06.487202 #1] INFO -- :
I, [2023-01-06T09:57:06.487327 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification.git
Clonazione in 'discourse-gamification'...
I, [2023-01-06T09:57:06.937075 #1] INFO -- :
I, [2023-01-06T09:57:06.938007 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.943289 #1] INFO -- :
I, [2023-01-06T09:57:06.944013 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-01-06T09:57:06.947967 #1] INFO -- :
I, [2023-01-06T09:57:06.948611 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2023-01-06T09:57:06.952672 #1] INFO -- :
I, [2023-01-06T09:57:06.953780 #1] INFO -- : Sostituzione di pid /run/nginx.pid; con daemon off; in /etc/nginx/nginx.conf
I, [2023-01-06T09:57:06.954545 #1] INFO -- : Sostituzione di (?m-ix:upstream[^\}]+\}) con upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.955128 #1] INFO -- : Sostituzione di (?-mix:server_name.+$) con server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.955894 #1] INFO -- : Sostituzione di (?-mix:client_max_body_size.+$) con client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.956428 #1] INFO -- : Sostituzione di (?-mix:worker_connections.+$) con worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-01-06T09:57:06.956934 #1] INFO -- : > echo "configurazione web completata"
I, [2023-01-06T09:57:06.960192 #1] INFO -- : configurazione web completata
I, [2023-01-06T09:57:06.960696 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-01-06T09:57:07.752125 #1] INFO -- : Installazione con successo di bundler-2.4.1
1 gem installata
I, [2023-01-06T09:57:07.752250 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-01-06T09:57:18.492684 #1] INFO -- :
I, [2023-01-06T09:57:18.493382 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --production --frozen-lockfile && yarn cache clean'
warning " > @mixer/parallel-prettier@2.0.3" ha una dipendenza peer non soddisfatta "prettier@^2.0.0".
warning "eslint-config-discourse > eslint-plugin-lodash@7.1.0" ha una dipendenza peer non soddisfatta "lodash@>=4".
I, [2023-01-06T09:58:36.178866 #1] INFO -- : yarn install v1.22.19
[1/5] Validazione di package.json...
[2/5] Risoluzione dei pacchetti...
[3/5] Recupero dei pacchetti...
[4/5] Collegamento delle dipendenze...
[5/5] Costruzione di pacchetti freschi...
$ yarn --cwd app/assets/javascripts/discourse $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')
yarn install v1.22.19
[1/4] Risoluzione dei pacchetti...
[2/4] Recupero dei pacchetti...
[3/4] Collegamento delle dipendenze...
[4/4] Costruzione di pacchetti freschi...
Completato in 43.67s.
Completato in 70.48s.
yarn cache v1.22.19
success Cache cancellata.
Completato in 6.41s.
I, [2023-01-06T09:58:36.179801 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[DEPRECATED] Il flag `--deployment` è deprecato perché si affida alla memorizzazione tra le invocazioni di bundler, che bundler non farà più nelle versioni future. Invece usa `bundle config set --local deployment 'true'`, e smetti di usare questo flag
[DEPRECATED] Il flag `--without` è deprecato perché si affida alla memorizzazione tra le invocazioni di bundler, che bundler non farà più nelle versioni future. Invece usa `bundle config set --local without 'test development'`, e smetti di usare questo flag
Bundler::PathError: Il percorso `/var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/web-push-369df8f475a4` non esiste.
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/path.rb:209:in `load_spec_files'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/git.rb:205:in `load_spec_files'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/path.rb:107:in `local_specs'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/git.rb:172:in `specs'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/lazy_specification.rb:86:in `materialize_for_installation'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:195:in `map!'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:195:in `specs_for_dependency'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:33:in `block in for'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:22:in `loop'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:22:in `for'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:79:in `materialize'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/definition.rb:198:in `missing_specs'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/definition.rb:202:in `missing_specs?'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:253:in `resolve_if_needed'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:82:in `block in run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/process_lock.rb:12:in `block in lock'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/process_lock.rb:9:in `open'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/process_lock.rb:9:in `lock'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:71:in `run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:23:in `install'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/install.rb:62:in `run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:260:in `block in install'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/settings.rb:131:in `temporary'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:259:in `install'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:28:in `start'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
I, [2023-01-06T09:59:30.411465 #1] INFO -- : Esecuzione di `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` con bundler 2.4.1
Congelato, utilizzo della risoluzione dal lockfile
La definizione ha dipendenze mancanti, impossibile risolvere e materializzare localmenteSi è verificato un errore nel mio aggiornamento
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Per favore aiutami a correggerlo..
2: cgi (0.3.6) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cgi-0.3.6.gemspec
Utilizzo rbtrace 0.4.14
2: rbtrace (0.4.14) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rbtrace-0.4.14.gemspec
Utilizzo redis-namespace 1.9.0
2: redis-namespace (1.9.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/redis-namespace-1.9.0.gemspec
Utilizzo rqrcode 2.1.2
2: rqrcode (2.1.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode-2.1.2.gemspec
Utilizzo rss 0.2.9
2: rss (0.2.9) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rss-0.2.9.gemspec
Utilizzo unf 0.1.4
2: unf (0.1.4) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf-0.1.4.gemspec
Utilizzo unicorn 6.1.0
2: unicorn (6.1.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unicorn-6.1.0.gemspec
Utilizzo activesupport 7.0.3.1
2: activesupport (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activesupport-7.0.3.1.gemspec
Utilizzo net-imap 0.3.1
2: net-imap (0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-imap-0.3.1.gemspec
Utilizzo net-pop 0.1.2
2: net-pop (0.1.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-pop-0.1.2.gemspec
Utilizzo net-smtp 0.3.3
2: net-smtp (0.3.3) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-smtp-0.3.3.gemspec
Recupero css_parser 1.13.0
Installazione css_parser 1.13.0
2: css_parser (1.13.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/css_parser-1.13.0.gemspec
Utilizzo aws-sdk-core 3.130.2
2: aws-sdk-core (3.130.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-core-3.130.2.gemspec
Utilizzo json_schemer 0.2.23
2: json_schemer (0.2.23) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/json_schemer-0.2.23.gemspec
Utilizzo faraday-retry 2.0.0
2: faraday-retry (2.0.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/faraday-retry-2.0.0.gemspec
Utilizzo oauth2 1.4.11
2: oauth2 (1.4.11) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth2-1.4.11.gemspec
Utilizzo mini_scheduler 0.15.0
2: mini_scheduler (0.15.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_scheduler-0.15.0.gemspec
Utilizzo oauth 1.1.0
2: oauth (1.1.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth-1.1.0.gemspec
Utilizzo pry-byebug 3.10.1
2: pry-byebug (3.10.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-byebug-3.10.1.gemspec
Utilizzo pry-rails 0.3.9
2: pry-rails (0.3.9) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-rails-0.3.9.gemspec
Utilizzo globalid 1.0.0
2: globalid (1.0.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/globalid-1.0.0.gemspec
Utilizzo activemodel 7.0.3.1
2: activemodel (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activemodel-7.0.3.1.gemspec
Utilizzo aws-sdk-kms 1.56.0
2: aws-sdk-kms (1.56.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-kms-1.56.0.gemspec
Utilizzo aws-sdk-sns 1.53.0
2: aws-sdk-sns (1.53.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-sns-1.53.0.gemspec
Utilizzo omniauth-oauth2 1.7.3
2: omniauth-oauth2 (1.7.3) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth2-1.7.3.gemspec
Utilizzo omniauth-oauth 1.2.0
2: omniauth-oauth (1.2.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth-1.2.0.gemspec
Utilizzo activejob 7.0.3.1
2: activejob (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activejob-7.0.3.1.gemspec
Utilizzo active_model_serializers 0.8.4
2: active_model_serializers (0.8.4) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/active_model_serializers-0.8.4.gemspec
Utilizzo activerecord 7.0.3.1
2: activerecord (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activerecord-7.0.3.1.gemspec
Utilizzo aws-sdk-s3 1.114.0
2: aws-sdk-s3 (1.114.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-s3-1.114.0.gemspec
Utilizzo omniauth-facebook 9.0.0
2: omniauth-facebook (9.0.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-facebook-9.0.0.gemspec
Utilizzo omniauth-github 1.4.0
2: omniauth-github (1.4.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-github-1.4.0.gemspec
Utilizzo omniauth-google-oauth2 0.8.2
2: omniauth-google-oauth2 (0.8.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Utilizzo omniauth-twitter 1.4.0
2: omniauth-twitter (1.4.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-twitter-1.4.0.gemspec
Utilizzo discourse-seed-fu 2.3.12
2: discourse-seed-fu (2.3.12) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/discourse-seed-fu-2.3.12.gemspec
1: racc (1.6.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/racc-1.6.2.gemspec
Utilizzo nokogiri 1.13.10 (x86_64-linux)
2: nokogiri (1.13.10) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/nokogiri-1.13.10-x86_64-linux.gemspec
Utilizzo loofah 2.19.1
2: loofah (2.19.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/loofah-2.19.1.gemspec
Utilizzo rails-dom-testing 2.0.3
1: rails-dom-testing (2.0.3) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-dom-testing-2.0.3.gemspec
Utilizzo ruby-readability 0.7.0
2: ruby-readability (0.7.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ruby-readability-0.7.0.gemspec
Utilizzo sanitize 6.0.0
Utilizzo rails-html-sanitizer 1.4.4
2: rails-html-sanitizer (1.4.4) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-html-sanitizer-1.4.4.gemspec
1: sanitize (6.0.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sanitize-6.0.0.gemspec
Utilizzo actionview 7.0.3.1
1: actionview (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview-7.0.3.1.gemspec
Utilizzo actionview_precompiler 0.2.3
2: actionview_precompiler (0.2.3) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview_precompiler-0.2.3.gemspec
Utilizzo actionpack 7.0.3.1
1: actionpack (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionpack-7.0.3.1.gemspec
Utilizzo railties 7.0.3.1
2: railties (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/railties-7.0.3.1.gemspec
Utilizzo actionmailer 7.0.3.1
1: actionmailer (7.0.3.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionmailer-7.0.3.1.gemspec
Utilizzo sprockets-rails 3.4.2
2: sprockets-rails (3.4.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sprockets-rails-3.4.2.gemspec
Utilizzo lograge 0.12.0
1: lograge (0.12.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/lograge-0.12.0.gemspec
Utilizzo rails_failover 0.8.1
2: rails_failover (0.8.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_failover-0.8.1.gemspec
Utilizzo rails_multisite 4.0.1
1: rails_multisite (4.0.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_multisite-4.0.1.gemspec
Utilizzo sassc-rails 2.1.2
1: sassc-rails (2.1.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-rails-2.1.2.gemspec
3: puma (6.0.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/puma-6.0.2.gemspec
0: openssl (3.0.2) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-3.0.2.gemspec
Utilizzo web-push 2.1.0 da GitHub - xfalcox/web-push: Web Push library for Ruby (RFC8030) - A fork of zaru/webpush actively maintained by Pushpad with many improvements, bug fixes and frequent updates. · GitHub (at openssl-3-compat@369df8f)
Utilizzo openssl-signature_algorithm 1.2.1
1: web-push (2.1.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/web-push-369df8f475a4/web-push.gemspec
2: openssl-signature_algorithm (1.2.1) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-signature_algorithm-1.2.1.gemspec
Utilizzo cose 1.3.0
3: cose (1.3.0) da /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cose-1.3.0.gemspec
Bundle completo! 133 dipendenze del Gemfile, 171 gem installate.
Le gem nei gruppi ‘test’ e ‘development’ non sono state installate.
Le gem bundled sono installate in ./vendor/bundle