La mise à jour de 2.9.0beta1 vers beta4 a échoué

Je ne cherche vraiment pas à être un connard. Nous utilisons votre logiciel depuis longtemps et j’ai fait tout ce qui était en mon pouvoir pour rendre à cette communauté alors que nous continuons à mettre à jour et à faire des mises à niveau. Ce 9.6 est un nom de conteneur Docker par opposition à notre version PostgreSQL réelle. Et, merci beaucoup pour ce projet excellent.

Nous sommes sur PG 13.6 et voici les résultats de `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
Architecture x86_64 détectée.
Vérification que le launcher est à jour
Récupération de l’origine
Le launcher est à jour
Arrêt de l’ancien conteneur

  • /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 – : Lecture depuis l’entrée standard
    I, [2022-04-19T23:09:14.762156 #1] INFO – : > locale-gen $LANG && update-locale
    I, [2022-04-19T23:09:14.833118 #1] INFO – : Génération des locales (cela peut prendre un moment)…
    Génération terminée.

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): Aucun fichier ou dossier de ce type
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 – : Remplacement de data_directory = ‘/var/lib/postgresql/13/main’ par data_directory = ‘/shared/postgres_data’ dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.186490 #1] INFO – : Remplacement de (?-mix:#?listen_addresses =.) par listen_addresses = '
’ dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.189161 #1] INFO – : Remplacement de (?-mix:#?synchronous_commit =.) par synchronous_commit = $db_synchronous_commit dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.190509 #1] INFO – : Remplacement de (?-mix:#?shared_buffers =.) par shared_buffers = $db_shared_buffers dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.200340 #1] INFO – : Remplacement de (?-mix:#?work_mem =.) par work_mem = $db_work_mem dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.203104 #1] INFO – : Remplacement de (?-mix:#?default_text_search_config =.) par default_text_search_config = ‘$db_default_text_search_config’ dans /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 – : Remplacement de (?-mix:#?checkpoint_segments =.) par checkpoint_segments = $db_checkpoint_segments dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.212437 #1] INFO – : Remplacement de (?-mix:#?logging_collector =.) par logging_collector = $db_logging_collector dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.213045 #1] INFO – : Remplacement de (?-mix:#?log_min_duration_statement =.) par log_min_duration_statement = $db_log_min_duration_statement dans /etc/postgresql/13/main/postgresql.conf
I, [2022-04-19T23:09:17.214926 #1] INFO – : Remplacement de (?-mix:^#local +replication +postgres +peer$) par local replication postgres peer dans /etc/postgresql/13/main/pg_hba.conf
I, [2022-04-19T23:09:17.219445 #1] INFO – : Remplacement de (?-mix:^host.*all.*all.127.$) par host all all 0.0.0.0/0 md5 dans /etc/postgresql/13/main/pg_hba.conf
I, [2022-04-19T23:09:17.221806 #1] INFO – : Remplacement de (?-mix:^host.all.all.::1/128.$) par host all all ::/0 md5 dans /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: démarrage de PostgreSQL 13.6 (Debian 13.6-1.pgdg110+1) sur x86_64-pc-linux-gnu, compilé par gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-04-19 23:09:17.444 UTC [41] LOG: écoute sur l’adresse IPv4 “0.0.0.0”, port 5432
2022-04-19 23:09:17.444 UTC [41] LOG: écoute sur l’adresse IPv6 “::”, port 5432
2022-04-19 23:09:17.447 UTC [41] LOG: écoute sur le socket Unix “/var/run/postgresql/.s.PGSQL.5432”
2022-04-19 23:09:17.461 UTC [44] LOG: le système de bases de données a été arrêté le 2022-04-19 23:00:55 UTC
2022-04-19 23:09:17.475 UTC [41] LOG: le système de bases de données est prêt à accepter les connexions
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: la base de données « discourse » existe déjà
2022-04-19 23:09:22.339 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: erreur: la création de la base de données a échoué : ERROR: la base de données « discourse » existe déjà
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: le rôle « discourse » existe déjà
2022-04-19 23:09:22.433 UTC [58] postgres@discourse STATEMENT: create user discourse;
ERROR: le rôle « discourse » existe déjà
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: l’extension « hstore » existe déjà, saut
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: l’extension « pg_trgm » existe déjà, saut
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: l’extension « hstore » existe déjà, saut
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: l’extension « pg_trgm » existe déjà, saut
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 – : Remplacement de daemonize yes par dans /etc/redis/redis.conf
I, [2022-04-19T23:09:23.206423 #1] INFO – : Remplacement de (?-mix:^pidfile.$) par dans /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 – : Remplacement de (?-mix:^logfile.
$) par logfile “” dans /etc/redis/redis.conf
I, [2022-04-19T23:09:23.217825 #1] INFO – : Remplacement de (?-mix:^bind .$) par dans /etc/redis/redis.conf
I, [2022-04-19T23:09:23.219452 #1] INFO – : Remplacement de (?-mix:^dir .
$) par dir /shared/redis_data dans /etc/redis/redis.conf
I, [2022-04-19T23:09:23.220594 #1] INFO – : Remplacement de (?-mix:^protected-mode yes) par protected-mode no dans /etc/redis/redis.conf
I, [2022-04-19T23:09:23.221542 #1] INFO – : Remplacement de # io-threads 4 par io-threads $redis_io_threads dans /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 avr. 2022 23:09:23.279 # oO0OoO0OoO0Oo Redis démarre oO0OoO0OoO0Oo
102:C 19 avr. 2022 23:09:23.279 # Version Redis=6.2.6, bits=64, commit=00000000, modified=0, pid=102, juste démarré
102:C 19 avr. 2022 23:09:23.279 # Configuration chargée
102:M 19 avr. 2022 23:09:23.280 * horloge monotone : POSIX clock_gettime
102:M 19 avr. 2022 23:09:23.280 * Mode d’exécution=standalone, port=6379.
102:M 19 avr. 2022 23:09:23.281 # ATTENTION: Le paramètre TCP backlog de 511 ne peut pas être appliqué car /proc/sys/net/core/somaxconn est défini sur la valeur inférieure de 128.
102:M 19 avr. 2022 23:09:23.281 # Serveur initialisé
102:M 19 avr. 2022 23:09:23.281 * Chargement du RDB produit par la version 6.2.6
102:M 19 avr. 2022 23:09:23.281 * Âge du RDB 508 secondes
102:M 19 avr. 2022 23:09:23.281 * Utilisation mémoire RDB lors de la création 0.91 Mo
102:M 19 avr. 2022 23:09:23.286 # Chargement RDB terminé, clés chargées : 93, clés expirées : 0.
102:M 19 avr. 2022 23:09:23.286 * BD chargée depuis le disque : 0.005 secondes
102:M 19 avr. 2022 23:09:23.286 * Prêt à accepter les connexions
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 – : Remplacement de # postgres par sv start postgres || exit 1 dans /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 avr. 2022 23:09:33.892 # oO0OoO0OoO0Oo Redis démarre oO0OoO0OoO0Oo
132:C 19 avr. 2022 23:09:33.892 # Version Redis=6.2.6, bits=64, commit=00000000, modified=0, pid=132, juste démarré
132:C 19 avr. 2022 23:09:33.892 # Configuration chargée
132:M 19 avr. 2022 23:09:33.892 * horloge monotone : POSIX clock_gettime
132:M 19 avr. 2022 23:09:33.893 # Attention : Impossible de créer le socket d’écoute TCP du serveur *:6379 : bind : Adresse déjà utilisée
132:M 19 avr. 2022 23:09:33.893 # Échec de l’écoute sur le port 6379 (TCP), abandon.
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]
Récupération de 9,160 ko en 3s (2,706 ko/s)
Lecture des listes de paquets…

I, [2022-04-19T23:09:38.585572 #1] INFO – : > apt-get install -y libsodium-dev
debconf: report de la configuration des paquets en attente, car apt-utils n’est pas installé
I, [2022-04-19T23:09:43.938282 #1] INFO – : Lecture des listes de paquets…
Construction de l’arbre des dépendances…
Lecture des informations d’état…
Les paquets supplémentaires suivants seront installés :
libsodium23
Les NOUVEAUX paquets suivants seront installés :
libsodium-dev libsodium23
0 mis à jour, 2 nouvellement installés, 0 à enlever et 4 non mis à jour.
Il est nécessaire de prendre 341 ko dans les archives.
Après cette opération, 1,251 ko d’espace disque supplémentaires seront utilisés.
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]
Récupération de 341 ko en 0s (5,815 ko/s)
Sélection du paquet libsodium23:amd64 précédemment désélectionné.
(Lecture de la base de données… 38888 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de …/libsodium23_1.0.18-1_amd64.deb …
Dépaquetage de libsodium23:amd64 (1.0.18-1) …
Sélection du paquet libsodium-dev:amd64 précédemment désélectionné.
Préparation du dépaquetage de …/libsodium-dev_1.0.18-1_amd64.deb …
Dépaquetage de libsodium-dev:amd64 (1.0.18-1) …
Configuration de libsodium23:amd64 (1.0.18-1) …
Configuration de libsodium-dev:amd64 (1.0.18-1) …
Traitement des actions différées (« triggers ») pour libc-bin (2.31-13+deb11u3) …

I, [2022-04-19T23:09:43.951785 #1] INFO – : > cd /var/www/discourse && git reset --hard
Mise à jour des fichiers : 100% (31051/31051), terminé.
I, [2022-04-19T23:09:49.696390 #1] INFO – : HEAD est maintenant à 6fc52d95 DEV: Suppression de l’avertissement d’ordre scoped dans 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
    Passage à une nouvelle branche ‘tests-passed’
    I, [2022-04-19T23:09:53.283527 #1] INFO – : La branche ‘tests-passed’ est configurée pour suivre la branche distante ‘tests-passed’ de ‘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 – : Remplacement de # redis par sv start redis || exit 1 dans /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
Clonage dans ‘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
Clonage dans ‘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
Clonage dans ‘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
Clonage dans ‘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
Clonage dans ‘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
Clonage dans ‘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 – : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2022-04-19T23:09:59.299309 #1] INFO – : Remplacement de (?m-ix:upstream[^}]+}) par upstream discourse { server 127.0.0.1:3000; } dans /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.299973 #1] INFO – : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.300501 #1] INFO – : Remplacement de (?-mix:client_max_body_size.+$) par client_max_body_size $upload_size ; dans /etc/nginx/conf.d/discourse.conf
I, [2022-04-19T23:09:59.300945 #1] INFO – : Remplacement de (?-mix:worker_connections.+$) par worker_connections $nginx_worker_connections ; dans /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 – : Installation réussie de bundler-2.3.5
1 gem installé

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’
[OBSOLÈTE] L’option --deployment est obsolète car elle dépend du fait qu’elle soit mémorisée entre les invocations de Bundler, ce que Bundler ne fera plus dans les futures versions. Veuillez plutôt utiliser bundle config set --local deployment 'true' et arrêter d’utiliser cette option
[OBSOLÈTE] L’option --without est obsolète car elle dépend du fait qu’elle soit mémorisée entre les invocations de Bundler, ce que Bundler ne fera plus dans les futures versions