Aggiornamento da 2.9.0beta1 a beta4 fallito

Onestamente non sto cercando di fare il coglione. Utilizziamo il vostro software da molto tempo e ho fatto del mio meglio per ricambiare a questa comunità mentre continuiamo ad aggiornare e migliorare. Quel 9.6 è il nome di un container Docker, a differenza della nostra versione effettiva di PostgreSQL. E, grazie mille per questo eccellente progetto.

Siamo alla PG 13.6 e questi sono i risultati di `launcher rebuild data`

$ sudo ./launcher rebuild data
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container

  • /usr/bin/docker stop -t 60 data
    data
    /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups.rb
    /usr/local/bin/pups --stdin
    I, [2022-04-19T23:05:49.939135 #1] INFO – : Reading from stdin
    I, [2022-04-19T23:05:49.948158 #1] INFO – : Skipped missing before_code hook
    I, [2022-04-19T23:05:49.948280 #1] INFO – : Skipped missing after_code hook
    I, [2022-04-19T23:05:49.948425 #1] INFO – : > locale-gen $LANG && update-locale
    I, [2022-04-19T23:05:50.011782 #1] INFO – : Generating locales (this might take a while)…
    Generation complete.

I, [2022-04-19T23:05:50.012198 #1] INFO – : > mkdir -p /shared/postgres_run
I, [2022-04-19T23:05:50.018535 #1] INFO – :
I, [2022-04-19T23:05:50.018853 #1] INFO – : > chown postgres:postgres /shared/postgres_run
I, [2022-04-19T23:05:50.023347 #1] INFO – :
I, [2022-04-19T23:05:50.024050 #1] INFO – : > chmod 775 /shared/postgres_run
I, [2022-04-19T23:05:50.027462 #1] INFO – :
I, [2022-04-19T23:05:50.027728 #1] INFO – : > rm -fr /var/run/postgresql
I, [2022-04-19T23:05:50.032251 #1] INFO – :
I, [2022-04-19T23:05:50.032742 #1] INFO – : > ln -s /shared/postgres_run /var/run/postgresql
I, [2022-04-19T23:05:50.038854 #1] INFO – :
I, [2022-04-19T23:05:50.039431 #1] INFO – : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2022/04/19 23:05:50 socat[18] E connect(6, AF=1 “/shared/postgres_run/.s.PGSQL.5432”, 36): No such file or directory
I, [2022-04-19T23:05:50.052053 #1] INFO – :
I, [2022-04-19T23:05:50.052416 #1] INFO – : > rm -fr /shared/postgres_run/.s*
I, [2022-04-19T23:05:50.058351 #1] INFO – :
I, [2022-04-19T23:05:50.058586 #1] INFO – : > rm -fr /shared/postgres_run/.pid
I, [2022-04-19T23:05:50.063687 #1] INFO – :
I, [2022-04-19T23:05:50.064096 #1] INFO – : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2022-04-19T23:05:50.069438 #1] INFO – :
I, [2022-04-19T23:05:50.069870 #1] INFO – : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2022-04-19T23:05:50.074492 #1] INFO – :
I, [2022-04-19T23:05:50.083895 #1] INFO – : File > /etc/service/postgres/run chmod: +x chown:
I, [2022-04-19T23:05:50.092669 #1] INFO – : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2022-04-19T23:05:50.099785 #1] INFO – : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2022-04-19T23:05:50.107866 #1] INFO – : File > /root/upgrade_postgres chmod: +x chown:
I, [2022-04-19T23:05:50.108104 #1] INFO – : > chown -R root /var/lib/postgresql/13/main
I, [2022-04-19T23:05:51.927082 #1] INFO – :
I, [2022-04-19T23:05:51.927295 #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, [2022-04-19T23:05:51.935650 #1] INFO – :
I, [2022-04-19T23:05:51.935955 #1] INFO – : > chown -R postgres:postgres /shared/postgres_data
I, [2022-04-19T23:05:51.978547 #1] INFO – :
I, [2022-04-19T23:05:51.979163 #1] INFO – : > chown -R postgres:postgres /var/run/postgresql
I, [2022-04-19T23:05:51.983406 #1] INFO – :
I, [2022-04-19T23:05:51.983834 #1] INFO – : > /root/upgrade_postgres
I, [2022-04-19T23:05:51.990945 #1] INFO – :
I, [2022-04-19T23:05:51.991186 #1] INFO – : > rm /root/upgrade_postgres
I, [2022-04-19T23:05:51.995130 #1] INFO – :
I, [2022-04-19T23:05:51.995659 #1] INFO – : Replacing data_directory = ‘/var/lib/postgresql/13/main’ with data_directory = ‘/shared/postgres_data’ in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:51.996467 #1] INFO – : Replacing (?-mix:#?listen_addresses =.) with listen_addresses = '
’ in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:51.997768 #1] INFO – : Replacing (?-mix:#?synchronous_commit =.) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:51.998608 #1] INFO – : Replacing (?-mix:#?shared_buffers =.) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:51.999592 #1] INFO – : Replacing (?-mix:#?work_mem =.) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:52.007053 #1] INFO – : Replacing (?-mix:#?default_text_search_config =.) with default_text_search_config = ‘$db_default_text_search_config’ in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:52.008272 #1] INFO – : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2022-04-19T23:05:52.013712 #1] INFO – :
I, [2022-04-19T23:05:52.014540 #1] INFO – : Replacing (?-mix:#?checkpoint_segments =.) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:52.015029 #1] INFO – : Replacing (?-mix:#?logging_collector =.) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:52.018628 #1] INFO – : Replacing (?-mix:#?log_min_duration_statement =.) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:05:52.019785 #1] INFO – : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2022-04-19T23:05:52.020520 #1] INFO – : Replacing (?-mix:^host.*all.*all.127.$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2022-04-19T23:05:52.022308 #1] INFO – : Replacing (?-mix:^host.all.all.::1/128.$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2022-04-19T23:05:52.024429 #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, [2022-04-19T23:05:52.034450 #1] INFO – : > sleep 5
2022-04-19 23:05:52.106 UTC [41] LOG: starting PostgreSQL 13.6 (Debian 13.6-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-04-19 23:05:52.107 UTC [41] LOG: listening on IPv4 address “0.0.0.0”, port 5432
2022-04-19 23:05:52.107 UTC [41] LOG: listening on IPv6 address “::”, port 5432
2022-04-19 23:05:52.109 UTC [41] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
2022-04-19 23:05:52.122 UTC [44] LOG: database system was shut down at 2022-04-19 23:05:31 UTC
2022-04-19 23:05:52.170 UTC [41] LOG: database system is ready to accept connections
I, [2022-04-19T23:05:57.075413 #1] INFO – :
I, [2022-04-19T23:05:57.080612 #1] INFO – : > su postgres -c ‘createdb discourse’ || true
2022-04-19 23:05:57.180 UTC [54] postgres@postgres ERROR: database “discourse” already exists
2022-04-19 23:05:57.180 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database “discourse” already exists
I, [2022-04-19T23:05:57.190929 #1] INFO – :
I, [2022-04-19T23:05:57.192044 #1] INFO – : > su postgres -c ‘psql discourse -c “create user discourse;”’ || true
2022-04-19 23:05:57.284 UTC [58] postgres@discourse ERROR: role “discourse” already exists
2022-04-19 23:05:57.284 UTC [58] postgres@discourse STATEMENT: create user discourse;
ERROR: role “discourse” already exists
I, [2022-04-19T23:05:57.287964 #1] INFO – :
I, [2022-04-19T23:05:57.288587 #1] INFO – : > su postgres -c ‘psql discourse -c “grant all privileges on database discourse to discourse;”’ || true
I, [2022-04-19T23:05:57.371963 #1] INFO – : GRANT

I, [2022-04-19T23:05:57.372379 #1] INFO – : > su postgres -c ‘psql discourse -c “alter schema public owner to discourse;”’
I, [2022-04-19T23:05:57.451876 #1] INFO – : ALTER SCHEMA

I, [2022-04-19T23:05:57.452862 #1] INFO – : > su postgres -c ‘psql template1 -c “create extension if not exists hstore;”’
NOTICE: extension “hstore” already exists, skipping
I, [2022-04-19T23:05:57.551888 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:05:57.552265 #1] INFO – : > su postgres -c ‘psql template1 -c “create extension if not exists pg_trgm;”’
NOTICE: extension “pg_trgm” already exists, skipping
I, [2022-04-19T23:05:57.700188 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:05:57.700635 #1] INFO – : > su postgres -c ‘psql discourse -c “create extension if not exists hstore;”’
NOTICE: extension “hstore” already exists, skipping
I, [2022-04-19T23:05:57.793811 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:05:57.794182 #1] INFO – : > su postgres -c ‘psql discourse -c “create extension if not exists pg_trgm;”’
NOTICE: extension “pg_trgm” already exists, skipping
I, [2022-04-19T23:05:57.873928 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:05:57.874368 #1] INFO – : > sudo -u postgres psql discourse
I, [2022-04-19T23:05:57.876873 #1] INFO – : update pg_database set encoding = pg_char_to_encoding(‘UTF8’) where datname = ‘discourse’ AND encoding = pg_char_to_encoding(‘SQL_ASCII’);

I, [2022-04-19T23:05:57.980229 #1] INFO – : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2022-04-19T23:05:57.984526 #1] INFO – : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2022-04-19T23:05:57.984735 #1] INFO – : > echo postgres installed!
I, [2022-04-19T23:05:57.987905 #1] INFO – : postgres installed!

I, [2022-04-19T23:05:57.988304 #1] INFO – : > su - postgres -c ‘psql discourse’
I, [2022-04-19T23:05:57.990101 #1] INFO – : alter user discourse with password ‘discourse’;

Broken pipe
I, [2022-04-19T23:05:58.080139 #1] INFO – : File > /etc/service/redis/run chmod: +x chown:
I, [2022-04-19T23:05:58.087463 #1] INFO – : File > /etc/service/redis/log/run chmod: +x chown:
I, [2022-04-19T23:05:58.093976 #1] INFO – : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2022-04-19T23:05:58.094802 #1] INFO – : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.096334 #1] INFO – : Replacing (?-mix:^pidfile.$) with in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.099100 #1] INFO – : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2022-04-19T23:05:58.104098 #1] INFO – :
I, [2022-04-19T23:05:58.104954 #1] INFO – : Replacing (?-mix:^logfile.
$) with logfile “” in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.105904 #1] INFO – : Replacing (?-mix:^bind .$) with in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.107749 #1] INFO – : Replacing (?-mix:^dir .
$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.109695 #1] INFO – : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.111059 #1] INFO – : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2022-04-19T23:05:58.116609 #1] INFO – : > echo redis installed
I, [2022-04-19T23:05:58.121378 #1] INFO – : redis installed

I, [2022-04-19T23:05:58.121692 #1] INFO – : > cat /etc/redis/redis.conf | grep logfile
I, [2022-04-19T23:05:58.127344 #1] INFO – : logfile “”

I, [2022-04-19T23:05:58.127729 #1] INFO – : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2022-04-19T23:05:58.130617 #1] INFO – : > sleep 10
107:C 19 Apr 2022 23:05:58.140 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
107:C 19 Apr 2022 23:05:58.140 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=107, just started
107:C 19 Apr 2022 23:05:58.140 # Configuration loaded
107:M 19 Apr 2022 23:05:58.141 * monotonic clock: POSIX clock_gettime
107:M 19 Apr 2022 23:05:58.142 * Running mode=standalone, port=6379.
107:M 19 Apr 2022 23:05:58.142 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
107:M 19 Apr 2022 23:05:58.142 # Server initialized
107:M 19 Apr 2022 23:05:58.143 * Loading RDB produced by version 6.2.6
107:M 19 Apr 2022 23:05:58.143 * RDB age 27 seconds
107:M 19 Apr 2022 23:05:58.143 * RDB memory usage when created 0.77 Mb
107:M 19 Apr 2022 23:05:58.143 # Done loading RDB, keys loaded: 0, keys expired: 0.
107:M 19 Apr 2022 23:05:58.143 * DB loaded from disk: 0.000 seconds
107:M 19 Apr 2022 23:05:58.143 * Ready to accept connections
I, [2022-04-19T23:06:08.135058 #1] INFO – :
I, [2022-04-19T23:06:08.142271 #1] INFO – : Terminating async processes
I, [2022-04-19T23:06:08.142417 #1] INFO – : Sending INT to 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: 41
I, [2022-04-19T23:06:08.142709 #1] INFO – : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 107
107:signal-handler (1650409568) Received SIGTERM scheduling shutdown…
2022-04-19 23:06:08.149 UTC [41] LOG: received fast shutdown request
2022-04-19 23:06:08.173 UTC [41] LOG: aborting any active transactions
2022-04-19 23:06:08.184 UTC [41] LOG: background worker “logical replication launcher” (PID 50) exited with exit code 1
2022-04-19 23:06:08.185 UTC [45] LOG: shutting down
107:M 19 Apr 2022 23:06:08.201 # User requested shutdown…
107:M 19 Apr 2022 23:06:08.201 * Saving the final RDB snapshot before exiting.
107:M 19 Apr 2022 23:06:08.206 * DB saved on disk
107:M 19 Apr 2022 23:06:08.206 # Redis is now ready to exit, bye bye…
2022-04-19 23:06:08.361 UTC [41] LOG: database system is shut down
sha256:894cee1a046c4d3e12247afd21cb66c4c943bd727d762bd3f76b609c19b57176
506aaa81e7dd352de8ccbd281cc64f53a6bcde6bcbbc943f85aa4b6ae40c9c65
Removing old container

  • /usr/bin/docker rm data
    data

  • /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -h ssdnodes-05208-data -e DOCKER_HOST_IP=172.17.0.1 --name data -t -v /var/discourse/shared/data:/shared -v /var/discourse/shared/data/log/var-log:/var/log --mac-address 02:f4:d7:c6:0e:eb local_discourse/data /sbin/boot
    0a20f14678531374d667418f626a370ff5d658a68ec9ba33d6a1fc4f7f488920

[details=“./launcher rebuild app”]
$ sudo ./launcher rebuild app
Architettura x86_64 rilevata.
Verifica che il launcher sia aggiornato
Recupero dell’origine
Il launcher è aggiornato
Arresto del vecchio container

  • /usr/bin/docker stop -t 60 app
    app
    /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups.rb
    /usr/local/bin/pups --stdin
    I, [2022-04-19T23:09:14.748407 #1] INFO – : Lettura da stdin
    I, [2022-04-19T23:09:14.762156 #1] INFO – : > locale-gen $LANG && update-locale
    I, [2022-04-19T23:09:14.833118 #1] INFO – : Generazione delle localizzazioni (questo potrebbe richiedere un po’ di tempo)…
    Generazione completata.

I, [2022-04-19T23:09:14.834029 #1] INFO – : > mkdir -p /shared/postgres_run
I, [2022-04-19T23:09:14.858534 #1] INFO – :
I, [2022-04-19T23:09:14.859286 #1] INFO – : > chown postgres:postgres /shared/postgres_run
I, [2022-04-19T23:09:14.872026 #1] INFO – :
I, [2022-04-19T23:09:14.872361 #1] INFO – : > chmod 775 /shared/postgres_run
I, [2022-04-19T23:09:14.878948 #1] INFO – :
I, [2022-04-19T23:09:14.879314 #1] INFO – : > rm -fr /var/run/postgresql
I, [2022-04-19T23:09:14.890627 #1] INFO – :
I, [2022-04-19T23:09:14.890913 #1] INFO – : > ln -s /shared/postgres_run /var/run/postgresql
I, [2022-04-19T23:09:14.899597 #1] INFO – :
I, [2022-04-19T23:09:14.899834 #1] INFO – : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2022/04/19 23:09:14 socat[18] E connect(6, AF=1 “/shared/postgres_run/.s.PGSQL.5432”, 36): No such file or directory
I, [2022-04-19T23:09:14.909393 #1] INFO – :
I, [2022-04-19T23:09:14.909767 #1] INFO – : > rm -fr /shared/postgres_run/.s*
I, [2022-04-19T23:09:14.916015 #1] INFO – :
I, [2022-04-19T23:09:14.916502 #1] INFO – : > rm -fr /shared/postgres_run/.pid
I, [2022-04-19T23:09:14.922573 #1] INFO – :
I, [2022-04-19T23:09:14.923062 #1] INFO – : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2022-04-19T23:09:14.929065 #1] INFO – :
I, [2022-04-19T23:09:14.931643 #1] INFO – : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2022-04-19T23:09:14.939550 #1] INFO – :
I, [2022-04-19T23:09:14.952747 #1] INFO – : File > /etc/service/postgres/run chmod: +x chown:
I, [2022-04-19T23:09:14.966423 #1] INFO – : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2022-04-19T23:09:14.981160 #1] INFO – : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2022-04-19T23:09:14.998133 #1] INFO – : File > /root/upgrade_postgres chmod: +x chown:
I, [2022-04-19T23:09:14.999420 #1] INFO – : > chown -R root /var/lib/postgresql/13/main
I, [2022-04-19T23:09:17.118500 #1] INFO – :
I, [2022-04-19T23:09:17.118636 #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, [2022-04-19T23:09:17.124662 #1] INFO – :
I, [2022-04-19T23:09:17.124803 #1] INFO – : > chown -R postgres:postgres /shared/postgres_data
I, [2022-04-19T23:09:17.152295 #1] INFO – :
I, [2022-04-19T23:09:17.152979 #1] INFO – : > chown -R postgres:postgres /var/run/postgresql
I, [2022-04-19T23:09:17.159662 #1] INFO – :
I, [2022-04-19T23:09:17.160031 #1] INFO – : > /root/upgrade_postgres
I, [2022-04-19T23:09:17.176523 #1] INFO – :
I, [2022-04-19T23:09:17.176860 #1] INFO – : > rm /root/upgrade_postgres
I, [2022-04-19T23:09:17.183846 #1] INFO – :
I, [2022-04-19T23:09:17.184821 #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, [2022-04-19T23:09:17.186490 #1] INFO – : Sostituzione di (?-mix:#?listen_addresses =.) con listen_addresses = '
’ in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.189161 #1] INFO – : Sostituzione di (?-mix:#?synchronous_commit =.) con synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.190509 #1] INFO – : Sostituzione di (?-mix:#?shared_buffers =.) con shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.200340 #1] INFO – : Sostituzione di (?-mix:#?work_mem =.) con work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.203104 #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, [2022-04-19T23:09:17.204168 #1] INFO – : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2022-04-19T23:09:17.211155 #1] INFO – :
I, [2022-04-19T23:09:17.211780 #1] INFO – : Sostituzione di (?-mix:#?checkpoint_segments =.) con checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.212437 #1] INFO – : Sostituzione di (?-mix:#?logging_collector =.) con logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.213045 #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, [2022-04-19T23:09:17.214926 #1] INFO – : Sostituzione di (?-mix:^#local +replication +postgres +peer$) con local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2022-04-19T23:09:17.219445 #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, [2022-04-19T23:09:17.221806 #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, [2022-04-19T23:09:17.222831 #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, [2022-04-19T23:09:17.228626 #1] INFO – : > sleep 5
2022-04-19 23:09:17.443 UTC [41] LOG: avvio di PostgreSQL 13.6 (Debian 13.6-1.pgdg110+1) su x86_64-pc-linux-gnu, compilato da gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-04-19 23:09:17.444 UTC [41] LOG: in ascolto sull’indirizzo IPv4 “0.0.0.0”, porta 5432
2022-04-19 23:09:17.444 UTC [41] LOG: in ascolto sull’indirizzo IPv6 “::”, porta 5432
2022-04-19 23:09:17.447 UTC [41] LOG: in ascolto sulla socket Unix “/var/run/postgresql/.s.PGSQL.5432”
2022-04-19 23:09:17.461 UTC [44] LOG: il sistema del database è stato arrestato il 2022-04-19 23:00:55 UTC
2022-04-19 23:09:17.475 UTC [41] LOG: il sistema del database è pronto ad accettare connessioni
I, [2022-04-19T23:09:22.245676 #1] INFO – :
I, [2022-04-19T23:09:22.246608 #1] INFO – : > su postgres -c ‘createdb discourse’ || true
2022-04-19 23:09:22.339 UTC [54] postgres@postgres ERROR: database “discourse” already exists
2022-04-19 23:09:22.339 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database “discourse” already exists
I, [2022-04-19T23:09:22.343640 #1] INFO – :
I, [2022-04-19T23:09:22.344029 #1] INFO – : > su postgres -c ‘psql discourse -c “create user discourse;”’ || true
2022-04-19 23:09:22.433 UTC [58] postgres@discourse ERROR: role “discourse” already exists
2022-04-19 23:09:22.433 UTC [58] postgres@discourse STATEMENT: create user discourse;
ERROR: role “discourse” already exists
I, [2022-04-19T23:09:22.445197 #1] INFO – :
I, [2022-04-19T23:09:22.445730 #1] INFO – : > su postgres -c ‘psql discourse -c “grant all privileges on database discourse to discourse;”’ || true
I, [2022-04-19T23:09:22.561941 #1] INFO – : GRANT

I, [2022-04-19T23:09:22.562419 #1] INFO – : > su postgres -c ‘psql discourse -c “alter schema public owner to discourse;”’
I, [2022-04-19T23:09:22.650463 #1] INFO – : ALTER SCHEMA

I, [2022-04-19T23:09:22.650721 #1] INFO – : > su postgres -c ‘psql template1 -c “create extension if not exists hstore;”’
NOTICE: extension “hstore” already exists, skipping
I, [2022-04-19T23:09:22.743327 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:09:22.743912 #1] INFO – : > su postgres -c ‘psql template1 -c “create extension if not exists pg_trgm;”’
NOTICE: extension “pg_trgm” already exists, skipping
I, [2022-04-19T23:09:22.846861 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:09:22.847512 #1] INFO – : > su postgres -c ‘psql discourse -c “create extension if not exists hstore;”’
NOTICE: extension “hstore” already exists, skipping
I, [2022-04-19T23:09:22.926852 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:09:22.927590 #1] INFO – : > su postgres -c ‘psql discourse -c “create extension if not exists pg_trgm;”’
NOTICE: extension “pg_trgm” already exists, skipping
I, [2022-04-19T23:09:23.023790 #1] INFO – : CREATE EXTENSION

I, [2022-04-19T23:09:23.024554 #1] INFO – : > sudo -u postgres psql discourse
I, [2022-04-19T23:09:23.030892 #1] INFO – : update pg_database set encoding = pg_char_to_encoding(‘UTF8’) where datname = ‘discourse’ AND encoding = pg_char_to_encoding(‘SQL_ASCII’);

I, [2022-04-19T23:09:23.139105 #1] INFO – : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2022-04-19T23:09:23.147551 #1] INFO – : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2022-04-19T23:09:23.148233 #1] INFO – : > echo postgres installed!
I, [2022-04-19T23:09:23.155768 #1] INFO – : postgres installed!

I, [2022-04-19T23:09:23.176509 #1] INFO – : File > /etc/service/redis/run chmod: +x chown:
I, [2022-04-19T23:09:23.190399 #1] INFO – : File > /etc/service/redis/log/run chmod: +x chown:
I, [2022-04-19T23:09:23.204437 #1] INFO – : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2022-04-19T23:09:23.205205 #1] INFO – : Sostituzione di daemonize yes con in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.206423 #1] INFO – : Sostituzione di (?-mix:^pidfile.$) con in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.207996 #1] INFO – : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2022-04-19T23:09:23.215513 #1] INFO – :
I, [2022-04-19T23:09:23.216652 #1] INFO – : Sostituzione di (?-mix:^logfile.
$) con logfile “” in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.217825 #1] INFO – : Sostituzione di (?-mix:^bind .$) con in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.219452 #1] INFO – : Sostituzione di (?-mix:^dir .
$) con dir /shared/redis_data in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.220594 #1] INFO – : Sostituzione di (?-mix:^protected-mode yes) con protected-mode no in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.221542 #1] INFO – : Sostituzione di # io-threads 4 con io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2022-04-19T23:09:23.222547 #1] INFO – : > echo redis installed
I, [2022-04-19T23:09:23.230041 #1] INFO – : redis installed

I, [2022-04-19T23:09:23.234467 #1] INFO – : > cat /etc/redis/redis.conf | grep logfile
I, [2022-04-19T23:09:23.256662 #1] INFO – : logfile “”

I, [2022-04-19T23:09:23.257770 #1] INFO – : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2022-04-19T23:09:23.265439 #1] INFO – : > sleep 10
102:C 19 Apr 2022 23:09:23.279 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
102:C 19 Apr 2022 23:09:23.279 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=102, just started
102:C 19 Apr 2022 23:09:23.279 # Configuration loaded
102:M 19 Apr 2022 23:09:23.280 * monotonic clock: POSIX clock_gettime
102:M 19 Apr 2022 23:09:23.280 * Running mode=standalone, port=6379.
102:M 19 Apr 2022 23:09:23.281 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
102:M 19 Apr 2022 23:09:23.281 # Server initialized
102:M 19 Apr 2022 23:09:23.281 * Loading RDB produced by version 6.2.6
102:M 19 Apr 2022 23:09:23.281 * RDB age 508 seconds
102:M 19 Apr 2022 23:09:23.281 * RDB memory usage when created 0.91 Mb
102:M 19 Apr 2022 23:09:23.286 # Done loading RDB, keys loaded: 93, keys expired: 0.
102:M 19 Apr 2022 23:09:23.286 * DB loaded from disk: 0.005 seconds
102:M 19 Apr 2022 23:09:23.286 * Ready to accept connections
I, [2022-04-19T23:09:33.274738 #1] INFO – :
I, [2022-04-19T23:09:33.275851 #1] INFO – : > thpoff echo “thpoff is installed!”
I, [2022-04-19T23:09:33.296308 #1] INFO – : thpoff is installed!

I, [2022-04-19T23:09:33.297412 #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, [2022-04-19T23:09:33.468720 #1] INFO – :
I, [2022-04-19T23:09:33.469606 #1] INFO – : > /usr/local/bin/ruby -e ‘if ENV[“DISCOURSE_HOSTNAME”] == “discourse.example.com”; puts “Aborting! Domain is not configured!”; exit 1; end’
I, [2022-04-19T23:09:33.608169 #1] INFO – :
I, [2022-04-19T23:09:33.608831 #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, [2022-04-19T23:09:33.710987 #1] INFO – :
I, [2022-04-19T23:09:33.711537 #1] INFO – : > rm -f /etc/cron.d/anacron
I, [2022-04-19T23:09:33.716967 #1] INFO – :
I, [2022-04-19T23:09:33.724680 #1] INFO – : File > /etc/cron.d/anacron chmod: chown:
I, [2022-04-19T23:09:33.758483 #1] INFO – : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2022-04-19T23:09:33.791004 #1] INFO – : File > /etc/service/unicorn/run chmod: +x chown:
I, [2022-04-19T23:09:33.806004 #1] INFO – : File > /etc/service/nginx/run chmod: +x chown:
I, [2022-04-19T23:09:33.825208 #1] INFO – : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2022-04-19T23:09:33.861523 #1] INFO – : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2022-04-19T23:09:33.871454 #1] INFO – : Sostituzione di # postgres con sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2022-04-19T23:09:33.872104 #1] INFO – : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2022-04-19T23:09:33.882458 #1] INFO – : > apt-get update
132:C 19 Apr 2022 23:09:33.892 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
132:C 19 Apr 2022 23:09:33.892 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=132, just started
132:C 19 Apr 2022 23:09:33.892 # Configuration loaded
132:M 19 Apr 2022 23:09:33.892 * monotonic clock: POSIX clock_gettime
132:M 19 Apr 2022 23:09:33.893 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
132:M 19 Apr 2022 23:09:33.893 # Failed listening on port 6379 (TCP), aborting.
I, [2022-04-19T23:09:38.585297 #1] INFO – : Get:1 Index of /debian-security bullseye-security InRelease [44.1 kB]
Get:2 Index of /debian bullseye InRelease [116 kB]
Get:3 Index of /debian bullseye-updates InRelease [39.4 kB]
Get:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4,586 B]
Get:5 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:6 Index of /debian bullseye-backports InRelease [44.2 kB]
Get:7 Index of /pub/repos/apt/ bullseye-pgdg InRelease [86.7 kB]
Get:8 Index of /debian-security bullseye-security/main amd64 Packages [126 kB]
Get:9 Index of /debian bullseye/main amd64 Packages [8,182 kB]
Get:10 Index of /debian bullseye-updates/main amd64 Packages [2,596 B]
Get:11 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages [770 B]
Get:12 https://dl.yarnpkg.com/debian stable/main all Packages [10.6 kB]
Get:13 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.6 kB]
Get:14 Index of /debian bullseye-backports/main amd64 Packages [236 kB]
Get:15 Index of /pub/repos/apt/ bullseye-pgdg/main amd64 Packages [240 kB]
Fetched 9,160 kB in 3s (2,706 kB/s)
Reading package lists…

I, [2022-04-19T23:09:38.585572 #1] INFO – : > apt-get install -y libsodium-dev
debconf: delaying package configuration, since apt-utils is not installed
I, [2022-04-19T23:09:43.938282 #1] INFO – : Reading package lists…
Building dependency tree…
Reading state information…
The following additional packages will be installed:
libsodium23
The following NEW packages will be installed:
libsodium-dev libsodium23
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 341 kB of archives.
After this operation, 1,251 kB of additional disk space will be used.
Get:1 Index of /debian bullseye/main amd64 libsodium23 amd64 1.0.18-1 [161 kB]
Get:2 Index of /debian bullseye/main amd64 libsodium-dev amd64 1.0.18-1 [180 kB]
Fetched 341 kB in 0s (5,815 kB/s)
Selecting previously unselected package libsodium23:amd64.
(Reading database … 38888 files and directories currently installed.)
Preparing to unpack …/libsodium23_1.0.18-1_amd64.deb …
Unpacking libsodium23:amd64 (1.0.18-1) …
Selecting previously unselected package libsodium-dev:amd64.
Preparing to unpack …/libsodium-dev_1.0.18-1_amd64.deb …
Unpacking libsodium-dev:amd64 (1.0.18-1) …
Setting up libsodium23:amd64 (1.0.18-1) …
Setting up libsodium-dev:amd64 (1.0.18-1) …
Processing triggers for libc-bin (2.31-13+deb11u3) …

I, [2022-04-19T23:09:43.951785 #1] INFO – : > cd /var/www/discourse && git reset --hard
Updating files: 100% (31051/31051), done.
I, [2022-04-19T23:09:49.696390 #1] INFO – : HEAD is now at 6fc52d95 DEV: Remove scoped order warning in PostDestroyer.

I, [2022-04-19T23:09:49.696554 #1] INFO – : > cd /var/www/discourse && git clean -f
I, [2022-04-19T23:09:49.949792 #1] INFO – :
I, [2022-04-19T23:09:49.949997 #1] INFO – : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2022-04-19T23:09:49.966373 #1] INFO – :
I, [2022-04-19T23:09:49.966535 #1] INFO – : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2022-04-19T23:09:49.998061 #1] INFO – :
I, [2022-04-19T23:09:49.998437 #1] INFO – : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
From GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. · GitHub

  • branch tests-passed → FETCH_HEAD
  • [new branch] tests-passed → origin/tests-passed
    I, [2022-04-19T23:09:52.213928 #1] INFO – :
    I, [2022-04-19T23:09:52.214109 #1] INFO – : > cd /var/www/discourse && git checkout tests-passed
    Switched to a new branch ‘tests-passed’
    I, [2022-04-19T23:09:53.283527 #1] INFO – : Branch ‘tests-passed’ set up to track remote branch ‘tests-passed’ from ‘origin’.

I, [2022-04-19T23:09:53.283816 #1] INFO – : > cd /var/www/discourse && mkdir -p tmp
I, [2022-04-19T23:09:53.313196 #1] INFO – :
I, [2022-04-19T23:09:53.313429 #1] INFO – : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2022-04-19T23:09:53.331201 #1] INFO – :
I, [2022-04-19T23:09:53.331422 #1] INFO – : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2022-04-19T23:09:53.369708 #1] INFO – :
I, [2022-04-19T23:09:53.370010 #1] INFO – : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2022-04-19T23:09:53.417540 #1] INFO – :
I, [2022-04-19T23:09:53.417779 #1] INFO – : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2022-04-19T23:09:53.446494 #1] INFO – :
I, [2022-04-19T23:09:53.446728 #1] INFO – : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2022-04-19T23:09:53.456060 #1] INFO – :
I, [2022-04-19T23:09:53.456451 #1] INFO – : > cd /var/www/discourse && bash -c “touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log”
I, [2022-04-19T23:09:53.469509 #1] INFO – :
I, [2022-04-19T23:09:53.469744 #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, [2022-04-19T23:09:53.488351 #1] INFO – :
I, [2022-04-19T23:09:53.488605 #1] INFO – : > cd /var/www/discourse && bash -c “mkdir -p /shared/{uploads,backups}”
I, [2022-04-19T23:09:53.521729 #1] INFO – :
I, [2022-04-19T23:09:53.521909 #1] INFO – : > cd /var/www/discourse && bash -c “ln -s /shared/{uploads,backups} /var/www/discourse/public”
I, [2022-04-19T23:09:53.540557 #1] INFO – :
I, [2022-04-19T23:09:53.540802 #1] INFO – : > cd /var/www/discourse && bash -c “mkdir -p /shared/tmp/{backups,restores}”
I, [2022-04-19T23:09:53.554704 #1] INFO – :
I, [2022-04-19T23:09:53.555027 #1] INFO – : > cd /var/www/discourse && bash -c “ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp”
I, [2022-04-19T23:09:53.566666 #1] INFO – :
I, [2022-04-19T23:09:53.566827 #1] INFO – : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2022-04-19T23:09:53.683888 #1] INFO – :
I, [2022-04-19T23:09:53.684214 #1] INFO – : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2022-04-19T23:09:53.696166 #1] INFO – :
I, [2022-04-19T23:09:53.696669 #1] INFO – : Sostituzione di # redis con sv start redis || exit 1 in /etc/service/unicorn/run
I, [2022-04-19T23:09:53.697990 #1] INFO – : > cd /var/www/discourse/plugins && git clone GitHub - discourse/docker_manager: Plugin for use with discourse docker image · GitHub
Cloning into ‘docker_manager’…
I, [2022-04-19T23:09:55.263862 #1] INFO – :
I, [2022-04-19T23:09:55.264619 #1] INFO – : > cd /var/www/discourse/plugins && git clone GitHub - discourse/discourse-chat-integration · GitHub
Cloning into ‘discourse-chat-integration’…
I, [2022-04-19T23:09:56.213927 #1] INFO – :
I, [2022-04-19T23:09:56.214117 #1] INFO – : > cd /var/www/discourse/plugins && git clone GitHub - discourse/discourse-whos-online: A plugin for Discourse which uses the messagebus to display a live list of active users · GitHub
Cloning into ‘discourse-whos-online’…
I, [2022-04-19T23:09:56.982420 #1] INFO – :
I, [2022-04-19T23:09:56.982668 #1] INFO – : > cd /var/www/discourse/plugins && git clone GitHub - gdpelican/retort: A reactions plugin for Discourse · GitHub
Cloning into ‘retort’…
I, [2022-04-19T23:09:57.638463 #1] INFO – :
I, [2022-04-19T23:09:57.638646 #1] INFO – : > cd /var/www/discourse/plugins && git clone GitHub - discourse/discourse-solved: Allow accepted answers on topics · GitHub
Cloning into ‘discourse-solved’…
I, [2022-04-19T23:09:58.576646 #1] INFO – :
I, [2022-04-19T23:09:58.576861 #1] INFO – : > cd /var/www/discourse/plugins && git clone GitHub - discourse/discourse-patreon: Enable syncronization between Discourse Groups and Patreon rewards · GitHub
Cloning into ‘discourse-patreon’…
I, [2022-04-19T23:09:59.276014 #1] INFO – :
I, [2022-04-19T23:09:59.276931 #1] INFO – : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.284192 #1] INFO – :
I, [2022-04-19T23:09:59.284934 #1] INFO – : > rm /etc/nginx/sites-enabled/default
I, [2022-04-19T23:09:59.290704 #1] INFO – :
I, [2022-04-19T23:09:59.290902 #1] INFO – : > mkdir -p /var/nginx/cache
I, [2022-04-19T23:09:59.297697 #1] INFO – :
I, [2022-04-19T23:09:59.298563 #1] INFO – : Sostituzione di pid /run/nginx.pid; con daemon off; in /etc/nginx/nginx.conf
I, [2022-04-19T23:09:59.299309 #1] INFO – : Sostituzione di (?m-ix:upstream[^}]+}) con upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.299973 #1] INFO – : Sostituzione di (?-mix:server_name.+$) con server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.300501 #1] INFO – : Sostituzione di (?-mix:client_max_body_size.+$) con client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.300945 #1] INFO – : Sostituzione di (?-mix:worker_connections.+$) con worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2022-04-19T23:09:59.301405 #1] INFO – : > echo “done configuring web”
I, [2022-04-19T23:09:59.307512 #1] INFO – : done configuring web

I, [2022-04-19T23:09:59.308351 #1] INFO – : > cd /var/www/discourse && gem install bundler --conservative -v $(awk ‘/BUNDLED WITH/ { getline; gsub(/ /,“”); print $0 }’ Gemfile.lock)
I, [2022-04-19T23:10:00.205048 #1] INFO – : Successfully installed bundler-2.3.5
1 gem installed

I, [2022-04-19T23:10:00.205276 #1] INFO – : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} +
I, [2022-04-19T23:10:13.626217 #1] INFO – :
I, [2022-04-19T23:10:13.626756 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle install --deployment --retry 3 --jobs 4 --verbose --without test development’
[DEPRECATA] Il flag --deployment è deprecato perché si basa sulla necessità di essere ricordato tra diverse invocazioni di bundler, cosa che bundler non farà più nelle versioni future. Invece, usa bundle config set --local deployment 'true' e smetti di usare questo flag
[DEPRECATA] Il flag --without è deprecato perché si basa sulla necessità di essere ricordato tra diverse invocazioni di bundler, cosa che bundler non farà più nelle versioni future