Mi ci è voluto un po’ per trovare un server economico, e quando l’ho trovato, durante l’installazione, non si installa: impiega molto tempo e poi si disconnette, non capisco il motivo
File di configurazione in containers/app.yml aggiornato con successo!
Aggiornamenti riusciti. Ricostruzione in 5 secondi.
Costruzione dell'app
Architettura x86_64 rilevata.
Verifica che il launcher sia aggiornato
Recupero dell'origine
Il launcher è aggiornato
2.0.20230711-0100: Pulling from discourse/base
Digest: sha256:9c1157d9e106f7c891648fea201cb10ac40b374925bf6b26f5bfa549e2c10f4c
Stato: L'immagine è aggiornata per discourse/base:2.0.20230711-0100
docker.io/discourse/base:2.0.20230711-0100
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-07-18T07:20:31.767084 #1] INFO -- : Lettura da stdin
I, [2023-07-18T07:20:31.793958 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2023-07-18T07:20:32.019517 #1] INFO -- : Generazione delle localizzazioni (potrebbe richiedere un po' di tempo)...
Generazione completata.
I, [2023-07-18T07:20:32.020652 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2023-07-18T07:20:32.030245 #1] INFO -- :
I, [2023-07-18T07:20:32.031381 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-07-18T07:20:32.040590 #1] INFO -- :
I, [2023-07-18T07:20:32.042002 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2023-07-18T07:20:32.047709 #1] INFO -- :
I, [2023-07-18T07:20:32.049046 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2023-07-18T07:20:32.065284 #1] INFO -- :
I, [2023-07-18T07:20:32.067750 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-07-18T07:20:32.077791 #1] INFO -- :
I, [2023-07-18T07:20:32.079627 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres già in esecuzione, arresta il container ; exit 1
2023/07/18 07:20:32 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): Nessun file o directory
I, [2023-07-18T07:20:32.106475 #1] INFO -- :
I, [2023-07-18T07:20:32.107379 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-07-18T07:20:32.119624 #1] INFO -- :
I, [2023-07-18T07:20:32.120153 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-07-18T07:20:32.132718 #1] INFO -- :
I, [2023-07-18T07:20:32.133565 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-07-18T07:20:32.139615 #1] INFO -- :
I, [2023-07-18T07:20:32.140993 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-07-18T07:20:32.151587 #1] INFO -- :
I, [2023-07-18T07:20:32.168249 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2023-07-18T07:20:32.181857 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2023-07-18T07:20:32.195468 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2023-07-18T07:20:32.204314 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2023-07-18T07:20:32.205247 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-07-18T07:20:35.544754 #1] INFO -- :
I, [2023-07-18T07:20:35.545754 #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-07-18T07:20:35.551542 #1] INFO -- :
I, [2023-07-18T07:20:35.552298 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-07-18T07:20:35.644962 #1] INFO -- :
I, [2023-07-18T07:20:35.646393 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-07-18T07:20:35.656200 #1] INFO -- :
I, [2023-07-18T07:20:35.657734 #1] INFO -- : > /root/upgrade_postgres
I, [2023-07-18T07:20:35.683335 #1] INFO -- :
I, [2023-07-18T07:20:35.684776 #1] INFO -- : > rm /root/upgrade_postgres
I, [2023-07-18T07:20:35.695826 #1] INFO -- :
I, [2023-07-18T07:20:35.703076 #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-07-18T07:20:35.705066 #1] INFO -- : Sostituzione di (?-mix:#?listen_addresses *=.*) con listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-07-18T07:20:35.706158 #1] INFO -- : Sostituzione di (?-mix:#?synchronous_commit *=.*) con synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-07-18T07:20:35.707013 #1] INFO -- : Sostituzione di (?-mix:#?shared_buffers *=.*) con shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-07-18T07:20:35.707926 #1] INFO -- : Sostituzione di (?-mix:#?work_mem *=.*) con work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-07-18T07:20:35.708906 #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-07-18T07:20:35.710022 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-07-18T07:20:35.720021 #1] INFO -- :
I, [2023-07-18T07:20:35.723036 #1] INFO -- : Sostituzione di (?-mix:#?checkpoint_segments *=.*) con checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-07-18T07:20:35.724284 #1] INFO -- : Sostituzione di (?-mix:#?logging_collector *=.*) con logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-07-18T07:20:35.725498 #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-07-18T07:20:35.727899 #1] INFO -- : Sostituzione di (?-mix:^#local +replication +postgres +peer$) con local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-07-18T07:20:35.729886 #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-07-18T07:20:35.731825 #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-07-18T07:20:35.732577 #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-07-18T07:20:35.737408 #1] INFO -- : > sleep 5
2023-07-18 07:20:35.956 UTC [42] LOG: avvio di PostgreSQL 13.11 (Debian 13.11-1.pgdg110+1) su x86_64-pc-linux-gnu, compilato da gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-07-18 07:20:35.959 UTC [42] LOG: in ascolto sull'indirizzo IPv4 "0.0.0.0", porta 5432
2023-07-18 07:20:35.959 UTC [42] LOG: in ascolto sull'indirizzo IPv6 "::", porta 5432
2023-07-18 07:20:35.964 UTC [42] LOG: in ascolto sul socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2023-07-18 07:20:35.979 UTC [45] LOG: il sistema database è stato arrestato il 2023-07-18 07:19:20 UTC
2023-07-18 07:20:35.990 UTC [42] LOG: il sistema database è pronto ad accettare connessioni
I, [2023-07-18T07:20:40.747110 #1] INFO -- :
I, [2023-07-18T07:20:40.747982 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-07-18 07:20:41.178 UTC [55] postgres@postgres ERROR: il database "discourse" esiste già
2023-07-18 07:20:41.178 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: errore: creazione del database fallita: ERROR: il database "discourse" esiste già
I, [2023-07-18T07:20:41.183941 #1] INFO -- :
I, [2023-07-18T07:20:41.184403 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-07-18 07:20:41.411 UTC [59] postgres@discourse ERROR: il ruolo "discourse" esiste già
2023-07-18 07:20:41.411 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: il ruolo "discourse" esiste già
I, [2023-07-18T07:20:41.419164 #1] INFO -- :
I, [2023-07-18T07:20:41.420200 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-07-18T07:20:41.515696 #1] INFO -- : GRANT
I, [2023-07-18T07:20:41.516557 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-07-18T07:20:41.691035 #1] INFO -- : ALTER SCHEMA
I, [2023-07-18T07:20:41.691603 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: l'estensione "hstore" esiste già, salto
I, [2023-07-18T07:20:41.903095 #1] INFO -- : CREATE EXTENSION
I, [2023-07-18T07:20:41.904320 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: l'estensione "pg_trgm" esiste già, salto
I, [2023-07-18T07:20:42.063447 #1] INFO -- : CREATE EXTENSION
I, [2023-07-18T07:20:42.065027 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists vector;"'
NOTICE: l'estensione "vector" esiste già, salto
I, [2023-07-18T07:20:42.207308 #1] INFO -- : CREATE EXTENSION
I, [2023-07-18T07:20:42.209331 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: l'estensione "hstore" esiste già, salto
I, [2023-07-18T07:20:42.319538 #1] INFO -- : CREATE EXTENSION
I, [2023-07-18T07:20:42.321631 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: l'estensione "pg_trgm" esiste già, salto
I, [2023-07-18T07:20:42.455895 #1] INFO -- : CREATE EXTENSION
I, [2023-07-18T07:20:42.456795 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists vector;"'
NOTICE: l'estensione "vector" esiste già, salto
I, [2023-07-18T07:20:42.645308 #1] INFO -- : CREATE EXTENSION
I, [2023-07-18T07:20:42.646875 #1] INFO -- : > sudo -u postgres psql discourse
I, [2023-07-18T07:20:42.653227 #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-07-18T07:20:42.967449 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2023-07-18T07:20:42.980161 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2023-07-18T07:20:42.981146 #1] INFO -- : > echo postgres installed!
I, [2023-07-18T07:20:42.992907 #1] INFO -- : postgres installed!
I, [2023-07-18T07:20:43.015614 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2023-07-18T07:20:43.034164 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2023-07-18T07:20:43.053622 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2023-07-18T07:20:43.055079 #1] INFO -- : Sostituzione di daemonize yes con in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.057030 #1] INFO -- : Sostituzione di (?-mix:^pidfile.*$) con in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.058579 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-07-18T07:20:43.065729 #1] INFO -- :
I, [2023-07-18T07:20:43.066932 #1] INFO -- : Sostituzione di (?-mix:^logfile.*$) con logfile "" in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.068198 #1] INFO -- : Sostituzione di (?-mix:^bind .*$) con in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.069206 #1] INFO -- : Sostituzione di (?-mix:^dir .*$) con dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.070149 #1] INFO -- : Sostituzione di (?-mix:^protected-mode yes) con protected-mode no in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.071046 #1] INFO -- : Sostituzione di # io-threads 4 con io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-07-18T07:20:43.072023 #1] INFO -- : > echo redis installed
I, [2023-07-18T07:20:43.076436 #1] INFO -- : redis installed
I, [2023-07-18T07:20:43.077243 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-07-18T07:20:43.084825 #1] INFO -- : logfile ""
I, [2023-07-18T07:20:43.085568 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-07-18T07:20:43.088373 #1] INFO -- : > sleep 10
111:C 18 Jul 2023 07:20:43.106 # oO0OoO0OoO0Oo Redis è in avvio oO0OoO0OoO0Oo
111:C 18 Jul 2023 07:20:43.106 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=111, appena avviato
111:C 18 Jul 2023 07:20:43.106 # Configurazione caricata
111:M 18 Jul 2023 07:20:43.108 * monotonic clock: POSIX clock_gettime
111:M 18 Jul 2023 07:20:43.109 * Modalità di esecuzione=standalone, porta=6379.
111:M 18 Jul 2023 07:20:43.109 # Server inizializzato
111:M 18 Jul 2023 07:20:43.110 # ATTENZIONE: deve essere abilitato l'overcommit della memoria! Senza di esso, un salvataggio in background o la 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' affinché abbia effetto.
111:M 18 Jul 2023 07:20:43.110 * Caricamento RDB prodotto dalla versione 7.0.7
111:M 18 Jul 2023 07:20:43.110 * Età RDB 83 secondi
111:M 18 Jul 2023 07:20:43.111 * Utilizzo memoria RDB al momento della creazione 1.43 Mb
111:M 18 Jul 2023 07:20:43.112 * Caricamento RDB completato, chiavi caricate: 32, chiavi scadute: 0.
111:M 18 Jul 2023 07:20:43.112 * DB caricato dal disco: 0.002 secondi
111:M 18 Jul 2023 07:20:43.112 * Pronto ad accettare connessioni
I, [2023-07-18T07:20:53.097394 #1] INFO -- :
I, [2023-07-18T07:20:53.098363 #1] INFO -- : > thpoff echo "thpoff è installato!"
I, [2023-07-18T07:20:53.110927 #1] INFO -- : thpoff è installato!
I, [2023-07-18T07:20:53.112864 #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-07-18T07:20:53.370880 #1] INFO -- :
I, [2023-07-18T07:20:53.373398 #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-07-18T07:20:53.582231 #1] INFO -- :
I, [2023-07-18T07:20:53.582730 #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 ribakare i tuoi post ora per correggere tutti i post."; exit 1; end'
I, [2023-07-18T07:20:53.696659 #1] INFO -- :
I, [2023-07-18T07:20:53.697305 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-07-18T07:20:53.703640 #1] INFO -- :
I, [2023-07-18T07:20:53.708923 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2023-07-18T07:20:53.718910 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2023-07-18T07:20:53.727068 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2023-07-18T07:20:53.734174 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2023-07-18T07:20:53.747905 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2023-07-18T07:20:53.763210 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2023-07-18T07:20:53.764279 #1] INFO -- : Sostituzione di # postgres con sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-07-18T07:20:53.765392 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-07-18T07:20:53.779798 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
138:C 18 Jul 2023 07:20:53.810 # oO0OoO0OoO0Oo Redis è in avvio oO0OoO0OoO0Oo
138:C 18 Jul 2023 07:20:53.811 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=138, appena avviato
138:C 18 Jul 2023 07:20:53.812 # Configurazione caricata
138:M 18 Jul 2023 07:20:53.817 * monotonic clock: POSIX clock_gettime
138:M 18 Jul 2023 07:20:53.818 # Attenzione: Impossibile creare il socket TCP di ascolto del server *:6379: bind: Indirizzo già in uso
138:M 18 Jul 2023 07:20:53.820 # Impossibile ascoltare sulla porta 6379 (TCP), arresto.
Aggiornamento file: 100% (33425/33425), fatto.
I, [2023-07-18T07:21:07.274920 #1] INFO -- : HEAD è ora su 3140a4b2c DEV: invert pretty-text build logic (#22524)
I, [2023-07-18T07:21:07.275550 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-07-18T07:21:07.628163 #1] INFO -- :
I, [2023-07-18T07:21:07.628510 #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/avatar-utils
- [eliminato] (nessuno) -> origin/capabilities-outside-service
- [eliminato] (nessuno) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.4.1
- [eliminato] (nessuno) -> origin/dev/add-last-message-id-to-chat-channel-and-thread
- [eliminato] (nessuno) -> origin/dev/make-sure-we-stream-data-to-csv-files-when-running-exports
- [eliminato] (nessuno) -> origin/dev/make-sure-we-stream-data-to-csv-files-when-running-exports-2
- [eliminato] (nessuno) -> origin/feature/status-on-mentions-on-updated-chat-messages
- [eliminato] (nessuno) -> origin/feature/tracking-unread-thread-in-sidebar
- [eliminato] (nessuno) -> origin/fix/hide-alternate-email-button
- [eliminato] (nessuno) -> origin/update-history-modal
- [eliminato] (nessuno) -> origin/upgrade-group-default-notifcations-modal
- [eliminato] (nessuno) -> origin/ux_user_tips
3140a4b2c..f76a9aab2 main -> origin/main
a18f9e59c..a879fdf8a 0-bulk -> origin/0-bulk
* [nuovo ramo] 0-fast-edit -> origin/0-fast-edit
* [nuovo ramo] beta-version-bump -> origin/beta-version-bump
* [nuovo ramo] dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.5.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.5.0
* [nuovo ramo] dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.4.1 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.4.1
+ d06ce80d6...c742e6722 dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.3.1 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.3.1 (aggiornamento forzato)
* [nuovo ramo] dev/add-chrome-options-system-specs -> origin/dev/add-chrome-options-system-specs
* [nuovo ramo] dev/generate-random-actions -> origin/dev/generate-random-actions
6bb18917d..7b01b9b6b dev/minio-s3-system-specs -> origin/dev/minio-s3-system-specs
* [nuovo ramo] dev/no-need-to-wrap-export-methods-into-enumerator-anymore -> origin/dev/no-need-to-wrap-export-methods-into-enumerator-anymore
bc08b4040..e097c1ad7 dev/user-that-cant-chat-shouldnt-be-able-to-join-channel -> origin/dev/user-that-cant-chat-shouldnt-be-able-to-join-channel
* [nuovo ramo] dev/using-find-each-in-csv-exports -> origin/dev/using-find-each-in-csv-exports
* [nuovo ramo] discovery-named-outlets -> origin/discovery-named-outlets
* [nuovo ramo] edition-octane -> origin/edition-octane
* [nuovo ramo] ember-5x-transition-to-route-on-controller -> origin/ember-5x-transition-to-route-on-controller
* [nuovo ramo] ember-5x-update-replace-with -> origin/ember-5x-update-replace-with
* [nuovo ramo] ember-5x-update-transition-to -> origin/ember-5x-update-transition-to
* [nuovo ramo] ember-5x-upgrade-replace-route-on-controller -> origin/ember-5x-upgrade-replace-route-on-controller
+ e0d06354e...190f80e7c feature/resolve-outdated-translation -> origin/feature/resolve-outdated-translation (aggiornamento forzato)
2be34487f..f16c32353 feature/show-status-on-mentions-when-user-havent-used-autocomplete -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
d9a139fe0..af4da6e18 glimmer-lightbox -> origin/glimmer-lightbox
* [nuovo ramo] issue/bookmark-no-method-disabled-error -> origin/issue/bookmark-no-method-disabled-error
* [nuovo ramo] issue/double-ups-thread-list -> origin/issue/double-ups-thread-list
+ 6c044ab81...414ae2fdc loic-migrate-chat-message-creator-to-a-service -> origin/loic-migrate-chat-message-creator-to-a-service (aggiornamento forzato)
* [nuovo ramo] onebox-srcset -> origin/onebox-srcset
* [nuovo ramo] pr-to-discourse-4115 -> origin/pr-to-discourse-4115
* [nuovo ramo] pr/22593 -> origin/pr/22593
cec7c05da..461966e02 stable -> origin/stable
3140a4b2c..f76a9aab2 tests-passed -> origin/tests-passed
* [nuovo ramo] unsilence-modal-deprecation -> origin/unsilence-modal-deprecation
* [nuovo ramo] upgrade-create-invite-bulk-modal -> origin/upgrade-create-invite-bulk-modal
t [aggiornamento tag] beta -> beta
t [aggiornamento tag] latest-release -> latest-release
* [nuovo tag] v3.0.5 -> v3.0.5
* [nuovo tag] v3.1.0.beta6 -> v3.1.0.beta6
I, [2023-07-18T07:21:09.606648 #1] INFO -- :
I, [2023-07-18T07:21:09.606965 #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, [2023-07-18T07:21:16.184613 #1] INFO -- : Ramo 'tests-passed' impostato per tracciare il ramo remoto 'tests-passed' da 'origin'.
I, [2023-07-18T07:21:16.187511 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2023-07-18T07:21:16.212351 #1] INFO -- :
I, [2023-07-18T07:21:16.213268 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-07-18T07:21:16.222197 #1] INFO -- :
I, [2023-07-18T07:21:16.223313 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-07-18T07:21:16.233253 #1] INFO -- :
I, [2023-07-18T07:21:16.233945 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-07-18T07:21:16.242401 #1] INFO -- :
I, [2023-07-18T07:21:16.243169 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-07-18T07:21:16.249820 #1] INFO -- :
I, [2023-07-18T07:21:16.250358 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-07-18T07:21:16.258656 #1] INFO -- :
I, [2023-07-18T07:21:16.259512 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-07-18T07:21:16.268451 #1] INFO -- :
I, [2023-07-18T07:21:16.269195 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-07-18T07:21:16.281321 #1] INFO -- :
I, [2023-07-18T07:21:16.281832 #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-07-18T07:21:16.297333 #1] INFO -- :
I, [2023-07-18T07:21:16.298037 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2023-07-18T07:21:16.307057 #1] INFO -- :
I, [2023-07-18T07:21:16.307285 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-07-18T07:21:16.314905 #1] INFO -- :
I, [2023-07-18T07:21:16.315207 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2023-07-18T07:21:16.327453 #1] INFO -- :
I, [2023-07-18T07:21:16.327923 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-07-18T07:21:16.337563 #1] INFO -- :
I, [2023-07-18T07:21:16.338041 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-07-18T07:21:16.361820 #1] INFO -- :
I, [2023-07-18T07:21:16.362419 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-07-18T07:21:16.368095 #1] INFO -- :
I, [2023-07-18T07:21:16.385351 #1] INFO -- : Sostituzione di # redis con sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-07-18T07:21:16.386357 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonazione in 'docker_manager'...
I, [2023-07-18T07:21:17.897337 #1] INFO -- :
I, [2023-07-18T07:21:17.898152 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-07-18T07:21:17.912590 #1] INFO -- :
I, [2023-07-18T07:21:17.919972 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-07-18T07:21:17.936043 #1] INFO -- :
I, [2023-07-18T07:21:17.936400 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2023-07-18T07:21:17.944092 #1] INFO -- :
I, [2023-07-18T07:21:17.945746 #1] INFO -- : Sostituzione di pid /run/nginx.pid; con daemon off; in /etc/nginx/nginx.conf
I, [2023-07-18T07:21:17.947171 #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-07-18T07:21:17.948443 #1] INFO -- : Sostituzione di (?-mix:server_name.+$) con server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-07-18T07:21:17.949618 #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-07-18T07:21:17.950700 #1] INFO -- : Sostituzione di (?-mix:worker_connections.+$) con worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-07-18T07:21:17.951540 #1] INFO -- : > echo "configurazione web completata"
I, [2023-07-18T07:21:17.957300 #1] INFO -- : configurazione web completata
I, [2023-07-18T07:21:17.958285 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-07-18T07:21:20.144662 #1] INFO -- : Installato con successo bundler-2.4.13
1 gem installato
I, [2023-07-18T07:21:20.144850 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-07-18T07:21:39.950404 #1] INFO -- :
I, [2023-07-18T07:21:39.951223 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
I, [2023-07-18T07:21:39.957453 #1] INFO -- :
I, [2023-07-18T07:21:39.957605 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning " > @mixer/parallel-prettier@2.0.3" ha una dipendenza peer non soddisfatta "prettier@^2.0.0".
warning Il campo di risoluzione "babel-plugin-ember-template-compilation@2.0.0" è incompatibile con la versione richiesta "babel-plugin-ember-template-compilation@^2.0.1"
warning Il campo di risoluzione "unset-value@2.0.1" è incompatibile con la versione richiesta "unset-value@^1.0.0"
2023-07-18 07:24:36.093 UTC [42] LOG: il file di blocco "postmaster.pid" contiene un PID errato: 2953 invece di 42
2023-07-18 07:24:36.093 UTC [42] LOG: esecuzione dell'arresto immediato perché il file di blocco della directory dati non è valido
2023-07-18 07:24:36.093 UTC [42] LOG: ricevuta richiesta di arresto immediato
2023-07-18 07:24:36.156 UTC [49] WARNING: terminazione della connessione a causa del crash di un altro processo server
2023-07-18 07:24:36.156 UTC [49] DETAIL: Il postmaster ha ordinato a questo processo server di rollback della transazione corrente e di uscire, perché un altro processo server è uscito in modo anomalo e ha possibilmente corrotto la memoria condivisa.
2023-07-18 07:24:36.156 UTC [49] HINT: Tra un momento dovresti essere in grado di riconnetterti al database e ripetere il tuo comando.
2023-07-18 07:24:36.160 UTC [369] WARNING: terminazione della connessione a causa del crash di un altro processo server
2023-07-18 07:24:36.160 UTC [369] DETAIL: Il postmaster ha ordinato a questo processo server di rollback della transazione corrente e di uscire, perché un altro processo server è uscito in modo anomalo e ha possibilmente corrotto la memoria condivisa.
2023-07-18 07:24:36.160 UTC [369] HINT: Tra un momento dovresti essere in grado di riconnetterti al database e ripetere il tuo comando.
2023-07-18 07:24:36.187 UTC [42] LOG: il sistema database è arrestato
warning " > babel-plugin-debug-macros@0.4.0-pre1" ha una dipendenza peer non soddisfatta "@babel/core@^7.0.0".
warning "workspace-aggregator-1d4e40b4-d39e-4d17-9c25-b2c1596e5705 > discourse > @uppy/aws-s3@3.0.6" ha una dipendenza peer errata "@uppy/core@^3.1.2".
warning "workspace-aggregator-1d4e40b4-d39e-4d17-9c25-b2c1596e5705 > discourse > @uppy/aws-s3-multipart@3.1.3" ha una dipendenza peer errata "@uppy/core@^3.1.2".
warning "workspace-aggregator-1d4e40b4-d39e-4d17-9c25-b2c1596e5705 > discourse > @uppy/xhr-upload@3.1.1" ha una dipendenza peer errata "@uppy/core@^3.1.2".
warning "workspace-aggregator-1d4e40b4-d39e-4d17-9c25-b2c1596e5705 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" ha una dipendenza peer errata "@uppy/core@^3.2.1".
I, [2023-07-18T07:26:44.621322 #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 nuovi...
$ yarn --cwd app/assets/javascripts $(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...
info Sembra ci siano problemi con la tua connessione di rete. Riprovo...
[3/4] Collegamento delle dipendenze...
[4/4] Costruzione di pacchetti nuovi...
$ patch-package
patch-package 7.0.2
Applicazione delle patch...
@ember/jquery@2.0.0 ✔
ember-source@3.28.12 ✔
virtual-dom@2.1.1 ✔
Fatto in 122.73s.
Fatto in 265.36s.
yarn cache v1.22.19
success Cache svuotata.
Fatto in 37.30s.
I, [2023-07-18T07:26:44.629706 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2023-07-18T07:26:45.991719 #1] INFO -- :
I, [2023-07-18T07:26:45.992992 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2023-07-18T07:26:46.363234 #1] INFO -- : Stai sostituendo il valore locale corrente di without, che è attualmente "test:development"
Si è verificato un errore durante l'aggiornamento
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Per favore aiutami a risolverlo.




