Bootstrap a échoué avec exit code 1 sur Raspberry Pi 5

Salut,

J’essaie d’installer sur mon Raspberry Pi en suivant ce guide Install Discourse on a residential internet with Cloudflare Tunnel

Nouvelle installation de PiOS Lite et j’obtiens l’erreur suivante.

FAILED

--------------------

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 5756 exit 1>

Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'

exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}

bootstrap failed with exit code 1

** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

J’ai essayé plusieurs fois, mais je ne suis pas vraiment sûr de ce que je fais de mal.

Toute aide serait fantastique !

Veuillez faire ce que l’erreur a dit et :

Alternativement, collez le journal entier ici.

J’ai exécuté ./discourse-doctor et voici le résultat

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 25.0.3, build 4debf41

DOCKER PROCESSES (docker ps -a)

CONTAINER ID   IMAGE         COMMAND    CREATED          STATUS                      PORTS     NAMES
fef23c0f89aa   hello-world   "/hello"   28 minutes ago   Exited (0) 28 minutes ago             recursing_pike

==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
WARNING: Support for aarch64 is experimental at the moment. Please report any problems at https://meta.discourse.org/tag/arm

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

aarch64: Pulling from discourse/base
Digest: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
Status: Image is up to date for discourse/base:aarch64
docker.io/discourse/base:aarch64
Ensuring launcher is up to date
Launcher is up-to-date
aarch64: Pulling from discourse/base
Digest: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
Status: Image is up to date for discourse/base:aarch64
docker.io/discourse/base:aarch64
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-02-23T01:03:10.167764 #1]  INFO -- : Reading from stdin
I, [2024-02-23T01:03:10.172488 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2024-02-23T01:03:10.199783 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2024-02-23T01:03:10.200117 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2024-02-23T01:03:10.201991 #1]  INFO -- : 
I, [2024-02-23T01:03:10.202285 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2024-02-23T01:03:10.203892 #1]  INFO -- : 
I, [2024-02-23T01:03:10.204071 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2024-02-23T01:03:10.205460 #1]  INFO -- : 
I, [2024-02-23T01:03:10.205632 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2024-02-23T01:03:10.207229 #1]  INFO -- : 
I, [2024-02-23T01:03:10.207407 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2024-02-23T01:03:10.208914 #1]  INFO -- : 
I, [2024-02-23T01:03:10.209094 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2024/02/23 01:03:10 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2024-02-23T01:03:10.215205 #1]  INFO -- : 
I, [2024-02-23T01:03:10.215455 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2024-02-23T01:03:10.217342 #1]  INFO -- : 
I, [2024-02-23T01:03:10.217505 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2024-02-23T01:03:10.219429 #1]  INFO -- : 
I, [2024-02-23T01:03:10.219597 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-23T01:03:10.221317 #1]  INFO -- : 
I, [2024-02-23T01:03:10.221506 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-23T01:03:10.223045 #1]  INFO -- : 
I, [2024-02-23T01:03:10.226471 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2024-02-23T01:03:10.229662 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2024-02-23T01:03:10.232973 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2024-02-23T01:03:10.236173 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2024-02-23T01:03:10.236479 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2024-02-23T01:03:16.883260 #1]  INFO -- : 
I, [2024-02-23T01:03:16.883427 #1]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/13/bin/initdb -D /shared/postgres_data || exit 0
I, [2024-02-23T01:03:16.885354 #1]  INFO -- : 
I, [2024-02-23T01:03:16.885535 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2024-02-23T01:03:16.892646 #1]  INFO -- : 
I, [2024-02-23T01:03:16.892979 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2024-02-23T01:03:16.895281 #1]  INFO -- : 
I, [2024-02-23T01:03:16.895655 #1]  INFO -- : > /root/upgrade_postgres
I, [2024-02-23T01:03:16.899953 #1]  INFO -- : 
I, [2024-02-23T01:03:16.900342 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2024-02-23T01:03:16.902421 #1]  INFO -- : 
I, [2024-02-23T01:03:16.903785 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.904605 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.905117 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.906308 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.907539 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.910822 #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, [2024-02-23T01:03:16.914320 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2024-02-23T01:03:16.917362 #1]  INFO -- : 
I, [2024-02-23T01:03:16.917888 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.918530 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.920794 #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, [2024-02-23T01:03:16.924634 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.925088 #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, [2024-02-23T01:03:16.925531 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.928005 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-02-23T01:03:16.929697 #1]  INFO -- : > sleep 5
2024-02-23 01:03:16.993 UTC [42] LOG:  starting PostgreSQL 13.14 (Debian 13.14-1.pgdg110+2) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-02-23 01:03:16.993 UTC [42] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-02-23 01:03:16.993 UTC [42] LOG:  listening on IPv6 address "::", port 5432
2024-02-23 01:03:17.004 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-02-23 01:03:17.022 UTC [45] LOG:  database system was shut down at 2024-02-23 01:01:24 UTC
2024-02-23 01:03:17.034 UTC [42] LOG:  database system is ready to accept connections
I, [2024-02-23T01:03:21.932176 #1]  INFO -- : 
I, [2024-02-23T01:03:21.932729 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2024-02-23 01:03:22.019 UTC [55] postgres@postgres ERROR:  database "discourse" already exists
2024-02-23 01:03:22.019 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2024-02-23T01:03:22.022134 #1]  INFO -- : 
I, [2024-02-23T01:03:22.022590 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2024-02-23 01:03:22.088 UTC [59] postgres@discourse ERROR:  role "discourse" already exists
2024-02-23 01:03:22.088 UTC [59] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2024-02-23T01:03:22.090283 #1]  INFO -- : 
I, [2024-02-23T01:03:22.090691 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2024-02-23T01:03:22.140709 #1]  INFO -- : GRANT

I, [2024-02-23T01:03:22.141235 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2024-02-23T01:03:22.191857 #1]  INFO -- : ALTER SCHEMA

I, [2024-02-23T01:03:22.192292 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2024-02-23T01:03:22.241814 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-23T01:03:22.242144 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2024-02-23T01:03:22.293697 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-23T01:03:22.294020 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists vector;"'
NOTICE:  extension "vector" already exists, skipping
I, [2024-02-23T01:03:22.335599 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-23T01:03:22.335921 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2024-02-23T01:03:22.377961 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-23T01:03:22.378282 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2024-02-23T01:03:22.420317 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-23T01:03:22.420636 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists vector;"'
NOTICE:  extension "vector" already exists, skipping
I, [2024-02-23T01:03:22.462540 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-23T01:03:22.462995 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2024-02-23T01:03:22.464304 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2024-02-23T01:03:22.527295 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-02-23T01:03:22.529673 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2024-02-23T01:03:22.529877 #1]  INFO -- : > echo postgres installed!
I, [2024-02-23T01:03:22.531495 #1]  INFO -- : postgres installed!

I, [2024-02-23T01:03:22.534999 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2024-02-23T01:03:22.538499 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2024-02-23T01:03:22.541956 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2024-02-23T01:03:22.544283 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.544893 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.545349 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-02-23T01:03:22.547470 #1]  INFO -- : 
I, [2024-02-23T01:03:22.547931 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.549358 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.555255 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.560533 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.565383 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-02-23T01:03:22.569420 #1]  INFO -- : > echo redis installed
I, [2024-02-23T01:03:22.571057 #1]  INFO -- : redis installed

I, [2024-02-23T01:03:22.571386 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-02-23T01:03:22.573952 #1]  INFO -- : logfile ""

I, [2024-02-23T01:03:22.574263 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-23T01:03:22.575657 #1]  INFO -- : > sleep 10
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
I, [2024-02-23T01:03:32.577625 #1]  INFO -- : 
I, [2024-02-23T01:03:32.578022 #1]  INFO -- : -- : > thpoff echo "thpoff is installed!"
I, [2024-02-23T01:03:32.582200 #1]  INFO -- : thpoff is installed!

I, [2024-02-23T01:03:32.582566 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2024-02-23T01:03:32.680445 #1]  INFO -- : 
I, [2024-02-23T01:03:32.680727 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2024-02-23T01:03:32.749149 #1]  INFO -- : 
I, [2024-02-23T01:03:32.749427 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-02-23T01:03:32.817524 #1]  INFO -- : 
I, [2024-02-23T01:03:32.817855 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-02-23T01:03:32.819660 #1]  INFO -- : 
I, [2024-02-23T01:03:32.821935 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2024-02-23T01:03:32.825589 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2024-02-23T01:03:32.829297 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2024-02-23T01:03:32.832905 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2024-02-23T01:03:32.836470 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2024-02-23T01:03:32.839930 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2024-02-23T01:03:32.840221 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2024-02-23T01:03:32.840600 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-23T01:03:32.842522 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
<jemalloc>: Unsupported system page size
<jemalloc>: Taille de page système non prise en charge
Mise à jour des fichiers : 100 % (33860/33860), terminé.
I, [2024-02-23T01:03:37.224372 #1]  INFO -- : HEAD est maintenant à 31e44cfa8 DEV : Correction des tests système instables "Changement d'e-mail" (#25805)

I, [2024-02-23T01:03:37.224638 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-02-23T01:03:37.347254 #1]  INFO -- : 
I, [2024-02-23T01:03:37.347519 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
'
From https://github.com/discourse/discourse
 - [deleted]             (none)     -> origin/bulk-select-dropdown-items
 - [deleted]             (none)     -> origin/chat-composer-mobile
 - [deleted]             (none)     -> origin/composer-space-mobile
 - [deleted]             (none)     -> origin/fix-form-template
 - [deleted]             (none)     -> origin/fix_uncategorized_category
 - [deleted]             (none)     -> origin/glimmer-header-handle-overrides
 - [deleted]             (none)     -> origin/poc/auto-after-before-plugin-outlets
 - [deleted]             (none)     -> origin/translations-from-crowdin-stable
   31e44cfa8..1ad8e85b3  main                   -> origin/main
 * [new branch]          add_debug_ar_connection_pool -> origin/add_debug_ar_connection_pool
 * [new branch]          app-events-desktop-notis -> origin/app-events-desktop-notis
 * [new branch]          chat-mobile-composer-followup-2 -> origin/chat-mobile-composer-followup-2
 + a465edbc1...111b47aec convert-header-to-glimmer -> origin/convert-header-to-glimmer  (mise à jour forcée)
   51d6e3130..8c2fdd356  dev/problem-checks-api -> origin/dev/problem-checks-api
 + d6ff2b49e...bc3d69f8c dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic  (mise à jour forcée)
 * [new branch]          enable_retry_on_main_branch -> origin/enable_retry_on_main_branch
 + 684ac0225...0aad80d92 feature/schema-theme-setting-input-fields -> origin/feature/schema-theme-setting-input-fields  (mise à jour forcée)
 * [new branch]          hot-fixes              -> origin/hot-fixes
 * [new branch]          modal-class-cleanup    -> origin/modal-class-cleanup
 * [new branch]          see_if_yarn_cache_is_working -> origin/see_if_yarn_cache_is_working
   d85414f88..e049f8268  stable                 -> origin/stable
   31e44cfa8..1ad8e85b3  tests-passed           -> origin/tests-passed
I, [2024-02-23T01:03:39.237956 #1]  INFO -- : 
I, [2024-02-23T01:03:39.238303 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout tests-passed
  fi
'
Passage à une nouvelle branche 'tests-passed'
I, [2024-02-23T01:03:41.587550 #1]  INFO -- : La branche 'tests-passed' est configurée pour suivre la branche distante 'tests-passed' de 'origin'.

I, [2024-02-23T01:03:41.587786 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-02-23T01:03:41.658919 #1]  INFO -- : 
I, [2024-02-23T01:03:41.659153 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-02-23T01:03:41.661685 #1]  INFO -- : 
I, [2024-02-23T01:03:41.661804 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-02-23T01:03:41.664120 #1]  INFO -- : 
I, [2024-02-23T01:03:41.664224 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-02-23T01:03:41.666639 #1]  INFO -- : 
I, [2024-02-23T01:03:41.666743 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-02-23T01:03:41.669270 #1]  INFO -- : 
I, [2024-02-23T01:03:41.669371 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-02-23T01:03:41.672499 #1]  INFO -- : 
I, [2024-02-23T01:03:41.672611 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-02-23T01:03:41.674996 #1]  INFO -- : 
I, [2024-02-23T01:03:41.675119 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-02-23T01:03:41.678344 #1]  INFO -- : 
I, [2024-02-23T01:03:41.678556 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
I, [2024-02-23T01:03:41.681835 #1]  INFO -- : 
I, [2024-02-23T01:03:41.682048 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-02-23T01:03:41.685493 #1]  INFO -- : 
I, [2024-02-23T01:03:41.685698 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-02-23T01:03:41.688984 #1]  INFO -- : 
I, [2024-02-23T01:03:41.689191 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-02-23T01:03:41.692769 #1]  INFO -- : 
I, [2024-02-23T01:03:41.692977 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-02-23T01:03:41.696291 #1]  INFO -- : 
I, [2024-02-23T01:03:41.696497 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-02-23T01:03:41.698848 #1]  INFO -- : 
I, [2024-02-23T01:03:41.699056 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-02-23T01:03:41.700571 #1]  INFO -- : 
I, [2024-02-23T01:03:41.700819 #1]  INFO -- : Remplacement de # redis par sv start redis || exit 1 dans /etc/service/unicorn/run
I, [2024-02-23T01:03:41.701209 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonage dans 'docker_manager'...
I, [2024-02-23T01:03:44.630284 #1]  INFO -- : 
I, [2024-02-23T01:03:44.630764 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.634075 #1]  INFO -- : 
I, [2024-02-23T01:03:44.634306 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-02-23T01:03:44.636021 #1]  INFO -- : 
I, [2024-02-23T01:03:44.636225 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-02-23T01:03:44.638094 #1]  INFO -- : 
I, [2024-02-23T01:03:44.639062 #1]  INFO -- : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.639440 #1]  INFO -- : Remplacement de (?m-ix:upstream[^\}]+\}) par upstream discourse { server 127.0.0.1:3000; } dans /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.639802 #1]  INFO -- : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.640836 #1]  INFO -- : Remplacement de (?-mix:client_max_body_size.+$) par client_max_body_size $upload_size ; dans /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.647665 #1]  INFO -- : Remplacement de (?-mix:worker_connections.+$) par worker_connections $nginx_worker_connections ; dans /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.647911 #1]  INFO -- : > echo "configuration du web terminée"
I, [2024-02-23T01:03:44.649326 #1]  INFO -- : configuration du web terminée

I, [2024-02-23T01:03:44.649627 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-02-23T01:03:44.843343 #1]  INFO -- : 
I, [2024-02-23T01:03:44.843476 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-02-23T01:03:45.001607 #1]  INFO -- : 
I, [2024-02-23T01:03:45.001962 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-02-23T01:03:45.003483 #1]  INFO -- : 
I, [2024-02-23T01:03:45.003589 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" a une dépendance pair non satisfaite "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" a une dépendance pair incorrecte "typescript@^5.3.3".
warning " > @glint/environment-ember-loose@1.3.0" a une dépendance pair non satisfaite "@glimmer/component@^1.1.2".
warning Le champ de résolution "unset-value@2.0.1" est incompatible avec la version demandée "unset-value@^1.0.0"
warning Le motif ["wrap-ansi@^7.0.0"] essaie de se décompresser dans la même destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" que le motif ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. Cela pourrait entraîner un comportement non déterministe, ignoré.
warning " > discourse-markdown-it@1.0.0" a une dépendance pair non satisfaite "xss@*".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3@3.0.6" a une dépendance pair incorrecte "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3-multipart@3.1.3" a une dépendance pair incorrecte "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/xhr-upload@3.1.1" a une dépendance pair incorrecte "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > ember-router-service-refresh-polyfill@1.1.0" a une dépendance pair incorrecte "ember-source@^3.4 || 4".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse-plugins > ember-this-fallback@0.4.0" a une dépendance pair non satisfaite "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > admin > ember-source > router_js@8.0.3" a une dépendance pair non satisfaite "rsvp@^4.8.5".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" a une dépendance pair incorrecte "@uppy/core@^3.2.1".
I, [2024-02-23T01:05:49.643583 #1]  INFO -- : yarn install v1.22.19
[1/5] Validation de package.json...
[2/5] Résolution des packages...
[3/5] Récupération des packages...
[4/5] Liaison des dépendances...
[5/5] Construction des packages frais...
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
yarn install v1.22.19
[1/4] Résolution des packages...
[2/4] Récupération des packages...
[3/4] Liaison des dépendances...
[4/4] Construction des packages frais...
$ ./run-patch-package
patch-package 8.0.0
Application des correctifs...
@ember/test-helpers@2.9.4 ✔
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
ember-cli@5.0.0 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Terminé en 72.93s.
Terminé en 115.37s.
yarn cache v1.22.19
success Cache effacé.
Terminé en 8.72s.

I, [2024-02-23T01:05:49.644371 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-02-23T01:05:49.863693 #1]  INFO -- : 
I, [2024-02-23T01:05:49.864005 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-02-23T01:05:50.022423 #1]  INFO -- : 
I, [2024-02-23T01:05:50.022715 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-02-23T01:07:36.737768 #1]  INFO -- : Récupération des métadonnées du gem depuis https://rubygems.org/.........
Récupération de https://github.com/rails/sprockets
Récupération de rake 13.1.0
Installation de rake 13.1.0
Récupération de concurrent-ruby 1.2.3
Récupération de minitest 5.22.2
Récupération de builder 3.2.4
Récupération de erubi 1.12.0
Installation de concurrent-ruby 1.2.3
Récupération de racc 1.7.3
Installation de minitest 5.22.2
Récupération de crass 1.0.6
Installation de builder 3.2.4
Récupération de rack 2.2.8.1
Installation de erubi 1.12.0
Récupération de mini_mime 1.1.5
Installation de racc 1.7.3 avec extensions natives
Installation de crass 1.0.6
Récupération de date 3.3.4
Installation de rack 2.2.8.1
Récupération de timeout 0.4.1
Installation de mini_mime 1.1.5
Récupération de public_suffix 5.0.4
Installation de date 3.3.4 avec extensions natives
Installation de timeout 0.4.1
Récupération de aws-eventstream 1.3.0
Installation de public_suffix 5.0.4
Installation de aws-eventstream 1.3.0
Récupération de aws-partitions 1.583.0
Récupération de jmespath 1.6.2
Installation de aws-partitions 1.583.0
Récupération de base64 0.2.0
Installation de jmespath 1.6.2
Récupération de bigdecimal 3.1.6
Installation de base64 0.2.0
Récupération de msgpack 1.7.2
Installation de bigdecimal 3.1.6 avec extensions natives
Installation de msgpack 1.7.2 avec extensions natives
Récupération de byebug 11.1.3
Installation de byebug 11.1.3 avec extensions natives
Récupération de cbor 0.5.9.8
Installation de cbor 0.5.9.8 avec extensions natives
Récupération de cgi 0.4.1
Installation de cgi 0.4.1 avec extensions natives
Récupération de chunky_png 1.4.0
Installation de chunky_png 1.4.0
Récupération de coderay 1.1.3
Installation de coderay 1.1.3
Récupération de colored2 4.0.0
Installation de colored2 4.0.0
Récupération de connection_pool 2.4.1
Installation de connection_pool 2.4.1
Récupération de openssl 3.2.0
Installation de openssl 3.2.0 avec extensions natives
Récupération de cppjieba_rb 0.4.2
Installation de cppjieba_rb 0.4.2 avec extensions natives
Récupération de diffy 3.4.2
Installation de diffy 3.4.2
Récupération de discourse-fonts 0.0.9
Récupération de email_reply_trimmer 0.1.13
Installation de email_reply_trimmer 0.1.13
Récupération de excon 0.109.0
Installation de excon 0.109.0
Récupération de execjs 2.9.1
Installation de execjs 2.9.1
Récupération de exifr 1.4.0
Installation de exifr 1.4.0
Installation de discourse-fonts 0.0.9
Récupération de uri 0.13.0
Installation de uri 0.13.0
Récupération de fast_blank 1.0.1
Installation de fast_blank 1.0.1 avec extensions natives
Récupération de fast_xs 0.8.0
Installation de fast_xs 0.8.0 avec extensions natives
Récupération de fastimage 2.3.0
Installation de fastimage 2.3.0
Récupération de ffi 1.16.3
Installation de ffi 1.16.3 avec extensions natives
Récupération de fspath 3.1.2
Récupération de gc_tracer 1.5.1
Installation de fspath 3.1.2
Récupération de google-protobuf 3.25.3 (aarch64-linux)
Installation de gc_tracer 1.5.1 avec extensions natives
Installation de google-protobuf 3.25.3 (aarch64-linux)
Récupération de guess_html_encoding 0.0.11
Installation de guess_html_encoding 0.0.11
Récupération de hana 1.3.7
Installation de hana 1.3.7
Récupération de hashie 5.0.0
Installation de hashie 5.0.0
Récupération de highline 3.0.1
Installation de highline 3.0.1
Récupération de htmlentities 4.3.4
Installation de htmlentities 4.3.4
Récupération de http_accept_language 2.1.1
Installation de http_accept_language 2.1.1
Récupération de image_size 3.4.0
Installation de image_size 3.4.0
Récupération de in_threads 1.6.0
Installation de in_threads 1.6.0
Récupération de progress 3.6.0
Installation de progress 3.6.0
Récupération de json 2.7.1
Installation de json 2.7.1 avec extensions natives
Récupération de regexp_parser 2.9.0
Installation de regexp_parser 2.9.0
Récupération de unf_ext 0.0.9.1
Installation de unf_ext 0.0.9.1 avec extensions natives
Récupération de kgio 2.11.4
Installation de kgio 2.11.4 avec extensions natives
Récupération de libv8-node 18.16.0.0 (aarch64-linux)
Installation de libv8-node 18.16.0.0 (aarch64-linux)
Récupération de method_source 1.0.0
Installation de method_source 1.0.0
Récupération de thor 1.3.0
Installation de thor 1.3.0
Récupération de zeitwerk 2.6.13
Installation de zeitwerk 2.6.13
Récupération de logstash-event 1.2.02
Installation de logstash-event 1.2.02
Récupération de logster 2.18.1
Installation de logster 2.18.1
Récupération de lru_redux 1.1.0
Installation de lru_redux 1.1.0
Récupération de lz4-ruby 0.3.3
Installation de lz4-ruby 0.3.3 avec extensions natives
Récupération de maxminddb 0.1.22
Installation de maxminddb 0.1.22
Récupération de memory_profiler 1.0.1
Installation de memory_profiler 1.0.1
Récupération de redis 4.8.1
Installation de redis 4.8.1
Récupération de mini_sql 1.5.0
Installation de mini_sql 1.5.0
Récupération de multi_json 1.15.0
Installation de multi_json 1.15.0
Récupération de multi_xml 0.6.0
Installation de multi_xml 0.6.0
Récupération de mustache 1.1.1
Installation de mustache 1.1.1
Récupération de nio4r 2.7.0
Installation de nio4r 2.7.0 avec extensions natives
Récupération de version_gem 1.1.3
Installation de version_gem 1.1.3
Récupération de optimist 3.1.0
Installation de optimist 3.1.0
Récupération de pg 1.5.4
Installation de pg 1.5.4 avec extensions natives
Récupération de raindrops 0.20.1
Récupération de rchardet 1.8.0
Installation de raindrops 0.20.1 avec extensions natives
Installation de rchardet 1.8.0
Récupération de rexml 3.2.6
Installation de rexml 3.2.6
Récupération de rinku 2.0.6
Installation de rinku 2.0.6 avec extensions natives
Récupération de rotp 6.3.0
Installation de rotp 6.3.0
Récupération de rqrcode_core 1.2.0
Installation de rqrcode_core 1.2.0
Récupération de rubyzip 2.3.2
Installation de rubyzip 2.3.2
Récupération de sshkey 3.0.0
Installation de sshkey 3.0.0
Récupération de stackprof 0.2.26
Installation de stackprof 0.2.26 avec extensions natives
Récupération de i18n 1.14.1
Installation de i18n 1.14.1
Récupération de tzinfo 2.0.6
Installation de tzinfo 2.0.6
Récupération de rack-test 2.1.0
Installation de rack-test 2.1.0
Récupération de request_store 1.6.0
Installation de request_store 1.6.0
Récupération de message_bus 4.3.8
Installation de message_bus 4.3.8
Récupération de rack-mini-profiler 3.3.1
Installation de rack-mini-profiler 3.3.1
Récupération de net-protocol 0.2.2
Installation de net-protocol 0.2.2
Récupération de aws-sigv4 1.5.0
Installation de aws-sigv4 1.5.0
Récupération de addressable 2.8.6
Installation de addressable 2.8.6
Récupération de jwt 2.8.0
Installation de jwt 2.8.0
Récupération de rack-protection 3.2.0
Installation de rack-protection 3.2.0
Récupération de nokogiri 1.16.2 (aarch64-linux)
Installation de nokogiri 1.16.2 (aarch64-linux)
Récupération de bootsnap 1.18.3
Installation de bootsnap 1.18.3 avec extensions natives
Récupération de oj 3.16.3
Installation de oj 3.16.3 avec extensions natives
Récupération de uglifier 4.2.0
Installation de uglifier 4.2.0
Récupération de net-http 0.4.1
Installation de net-http 0.4.1
Récupération de sass-embedded 1.71.1 (aarch64-linux-gnu)
Installation de sass-embedded 1.71.1 (aarch64-linux-gnu)
Récupération de omniauth 1.9.2
Installation de omniauth 1.9.2
Récupération de image_optim 0.31.3
Installation de image_optim 0.31.3
Récupération de unf 0.1.4
Installation de unf 0.1.4
Récupération de mini_suffix 0.3.3
Installation de mini_suffix 0.3.3
Récupération de pry 0.14.2
Installation de pry 0.14.2
Récupération de logstash-logger 0.26.1
Installation de logstash-logger 0.26.1
Récupération de mini_racer 0.8.0
Récupération de sidekiq 6.5.12
Installation de sidekiq 6.5.12
Récupération de redis-namespace 1.11.0
Installation de redis-namespace 1.11.0
Récupération de oauth-tty 1.0.5
Installation de oauth-tty 1.0.5
Récupération de snaky_hash 2.0.1
Installation de snaky_hash 2.0.1
Récupération de rbtrace 0.5.1
Installation de rbtrace 0.5.1 avec extensions natives
Installation de mini_racer 0.8.0 avec extensions natives
Récupération de puma 6.4.2
Installation de puma 6.4.2 avec extensions natives
Récupération de rss 0.3.0
Installation de rss 0.3.0
Récupération de rqrcode 2.2.0
Installation de rqrcode 2.2.0
Récupération de activesupport 7.0.8
Installation de activesupport 7.0.8
Récupération de tzinfo-data 1.2024.1
Installation de tzinfo-data 1.2024.1
Récupération de net-imap 0.4.10
Installation de net-imap 0.4.10
Récupération de net-pop 0.1.2
Installation de net-pop 0.1.2
Récupération de net-smtp 0.4.0.1
Installation de net-smtp 0.4.0.1
Récupération de aws-sdk-core 3.130.2
Installation de aws-sdk-core 3.130.2
Récupération de css_parser 1.16.0
Installation de css_parser 1.16.0
Récupération de loofah 2.22.0
Installation de loofah 2.22.0
Récupération de ruby-readability 0.7.0
Installation de ruby-readability 0.7.0
Récupération de sanitize 6.1.0
Installation de sanitize 6.1.0
Récupération de unicorn 6.1.0
Installation de unicorn 6.1.0 avec extensions natives
Récupération de faraday-net_http 3.1.0
Installation de faraday-net_http 3.1.0
Récupération de sassc-embedded 1.70.0
Installation de sassc-embedded 1.70.0
Récupération de simpleidn 0.2.1
Installation de simpleidn 0.2.1
Récupération de pry-byebug 3.10.1
Installation de pry-byebug 3.10.1
Récupération de pry-rails 0.3.9
Installation de pry-rails 0.3.9
Récupération de mini_scheduler 0.16.0
Installation de mini_scheduler 0.16.0
Récupération de oauth 1.1.0
Installation de oauth 1.1.0
Récupération de rtlcss 0.2.1
Installation de rtlcss 0.2.1
Récupération de rails-dom-testing 2.2.0
Installation de rails-dom-testing 2.2.0
Récupération de globalid 1.2.1
Installation de globalid 1.2.1
Récupération de activemodel 7.0.8
Installation de activemodel 7.0.8
Récupération de mail 2.8.1
Installation de mail 2.8.1
Récupération de aws-sdk-kms 1.56.0
Installation de aws-sdk-kms 1.56.0
Récupération de aws-sdk-sns 1.53.0
Installation de aws-sdk-sns 1.53.0
Récupération de rails-html-sanitizer 1.6.0
Installation de rails-html-sanitizer 1.6.0
Récupération de openssl-signature_algorithm 1.3.0
Installation de openssl-signature_algorithm 1.3.0
Récupération de web-push 3.0.1
Installation de web-push 3.0.1
Récupération de faraday 2.9.0
Installation de faraday 2.9.0
Récupération de json_schemer 2.1.1
Installation de json_schemer 2.1.1
Récupération de omniauth-oauth 1.2.0
Installation de omniauth-oauth 1.2.0
Récupération de activejob 7.0.8
Installation de activejob 7.0.8
Récupération de active_model_serializers 0.8.4
Installation de active_model_serializers 0.8.4
Récupération de activerecord 7.0.8
Installation de activerecord 7.0.8
Récupération de aws-sdk-s3 1.114.0
Installation de aws-sdk-s3 1.114.0
Récupération de actionview 7.0.8
Installation de actionview 7.0.8
Récupération de cose 1.3.0
Installation de cose 1.3.0
Récupération de faraday-retry 2.2.0
Installation de faraday-retry 2.2.0
Récupération de oauth2 1.4.11
Installation de oauth2 1.4.11
Récupération de omniauth-twitter 1.4.0
Installation de omniauth-twitter 1.4.0
Récupération de discourse-seed-fu 2.3.12
Installation de discourse-seed-fu 2.3.12
Récupération de actionpack 7.0.8
Installation de actionpack 7.0.8
Récupération de actionview_precompiler 0.3.0
Installation de actionview_precompiler 0.3.0
Récupération de omniauth-oauth2 1.7.3
Installation de omniauth-oauth2 1.7.3
Récupération de actionmailer 7.0.8
Installation de actionmailer 7.0.8
Récupération de railties 7.0.8
Installation de railties 7.0.8
Récupération de sprockets-rails 3.4.2
Installation de sprockets-rails 3.4.2
Récupération de omniauth-facebook 9.0.0
Installation de omniauth-facebook 9.0.0
Récupération de omniauth-github 1.4.0
Installation de omniauth-github 1.4.0
Récupération de omniauth-google-oauth2 0.8.2
Installation de omniauth-google-oauth2 0.8.2
Récupération de lograge 0.14.0
Installation de lograge 0.14.0
Récupération de rails_failover 2.0.1
Installation de rails_failover 2.0.1
Récupération de rails_multisite 5.0.0
Installation de rails_multisite 5.0.0
Bundle terminé ! 138 dépendances Gemfile, 170 gems maintenant installés.
Les gems des groupes 'development' et 'test' n'ont pas été installés.
Les gems bundled sont installés dans `./vendor/bundle`
Message post-installation de image_optim :
L'optimisation des assets image Rails est extraite dans le gem image_optim_rails
Vous pouvez supprimer en toute sécurité `config.assets.image_optim = false` si vous n'allez pas utiliser ce gem
Message post-installation de oauth :

Vous avez installé la version 1.1.0 d'oauth, félicitations !

Le support non commercial de la série 1.x se terminera d'ici avril 2025. Veuillez prévoir une mise à niveau vers la prochaine version avant cette date.
Le seul changement cassant sera la fin du support pour Ruby 2.7 et toute autre version qui aura également atteint sa fin de vie à ce moment-là.

Veuillez consulter :
• https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md

Notez également que je suis, et ce projet aussi, en train de quitter Github.
J'ai écrit à propos de certaines des raisons ici :
• https://dev.to/galtzo/im-leaving-github-50ba

Si vous êtes un humain, veuillez envisager un don alors que je me dirige vers le soutien de moi-même avec le travail Open Source :
• https://liberapay.com/pboling
• https://ko-fi.com/pboling
• https://patreon.com/galtzo

Si vous êtes une entreprise, veuillez envisager de soutenir ce projet, et le travail open source en général, avec un abonnement TideLift.
• https://tidelift.com/funding/github/rubygems/oauth
• Ou embauchez-moi. Je cherche un emploi !

Veuillez signaler les problèmes, et soutenir le projet !

Merci, |7eter l-|. l3oling
Message post-installation de oauth2 :

Vous avez installé la version 1.4.11 d'oauth2, qui est en fin de vie.
Aucun support supplémentaire n'est prévu pour la série 1.4.x.

La version 2 d'OAuth2 est sortie.
Il y a des changements cassants, mais la plupart ne les rencontreront pas, et la mise à niveau devrait être facile !

Nous avons effectué deux autres migrations majeures :
1. La branche master a été renommée en main
2. Github a été remplacé par Gitlab

Veuillez consulter :
• https://gitlab.com/oauth-xx/oauth2#what-is-new-for-v20
• https://gitlab.com/oauth-xx/oauth2/-/blob/main/CHANGELOG.md
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE

Veuillez mettre à niveau, signaler les problèmes, et soutenir le projet ! Merci, |7eter l-|. l3oling

Message post-installation de rubyzip :
RubyZip 3.0 arrive !
**********************

L'API publique de certaines classes Rubyzip a été modernisée pour utiliser des paramètres nommés pour les arguments optionnels. Veuillez vérifier votre utilisation des
classes suivantes :
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`

Veuillez vous assurer que vos Gemfiles et .gemspecs sont suffisamment restrictifs
pour éviter une rupture inattendue lorsque la version 3.0 sera publiée (par exemple ~> 2.3.0).
Voir https://github.com/rubyzip/rubyzip pour plus de détails. Le Changelog liste
également d'autres améliorations et corrections de bugs qui ont été implémentées depuis
la version 2.3.0.

I, [2024-02-23T01:07:36.738151 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-02-23T01:07:39.725809 #1]  INFO -- : docker_manager est déjà à la dernière version compatible

I, [2024-02-23T01:07:39.726341 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Impossible de se connecter à Redis
rake a été interrompu !
Redis::CannotConnectError: Erreur de connexion à Redis sur localhost:6379 (Errno::EADDRNOTAVAIL) (Redis::CannotConnectError)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:398:in `rescue in establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:379:in `establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:115:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:344:in `with_reconnect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:114:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:409:in `ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:269:in `block in process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:356:in `logging'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:268:in `process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:161:in `call'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:270:in `block in send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/commands/strings.rb:191:in `get'
/var/www/discourse/app/models/global_setting.rb:37:in `safe_secret_key_base'
/var/www/discourse/config/initializers/100-secret_token.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:208:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:666:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:506:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'

Caused by:
Errno::EADDRNOTAVAIL: Cannot assign requested address - connect(2) for [::1]:6379 (Errno::EADDRNOTAVAIL)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:158:in `connect_addrinfo'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:196:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `each_with_index'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:308:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:385:in `establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:115:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:344:in `with_reconnect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:114:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:409:in `ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:269:in `block in process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:356:in `logging'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:268:in `process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:161:in `call'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:270:in `block in send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/commands/strings.rb:191:in `get'
/var/www/discourse/app/models/global_setting.rb:37:in `safe_secret_key_base'
/var/www/discourse/config/initializers/100-secret_token.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:208:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:666:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:506:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
I, [2024-02-23T01:07:41.816270 #1]  INFO -- : 
I, [2024-02-23T01:07:41.816794 #1]  INFO -- : Terminating async processes
I, [2024-02-23T01:07:41.816848 #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: 42
2024-02-23 01:07:41.817 UTC [42] LOG:  received fast shutdown request
2024-02-23 01:07:41.855 UTC [42] LOG:  aborting any active transactions
2024-02-23 01:07:41.857 UTC [42] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2024-02-23 01:07:41.857 UTC [46] LOG:  shutting down
2024-02-23 01:07:41.919 UTC [42] LOG:  database system is shut down


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 5756 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** ÉCHEC DU BOOTSTRAP ** veuillez remonter et rechercher les messages d'erreur précédents, il peut y en avoir plus d'un.
./discourse-doctor peut aider à diagnostiquer le problème.
e37edc0df10c0f119a1e34028c2b58b518cd7b788fa5cb564f0f370eb3bdfaad
==================== FIN DU JOURNAL DE RECONSTRUCTION ====================

Quelque chose bloque le port 6379 ? Essayez de l’arrêter et de réessayer.

Je ne suis pas vraiment sûr de la façon de faire cela. Il s’agit d’une nouvelle installation de PiOS. Les seules choses que j’ai installées sont docker et cloudflared - Est-ce que cela pourrait être l’un d’eux ?

essayer

lsof -i:6379

J’obtiens juste bash: lsof : commande introuvable lorsque j’exécute cela

hmmm il semble qu’il ne soit pas installé par défaut sur raspberry pi. Je ne suis pas un expert en matière de raspberry pi, mais lsof est une commande Linux pour lister les fichiers ou processus ouverts

pour installer
sudo apt update
sudo apt install lsof

Désolé - Un peu hâtif dans ma réponse. J’ai fait une recherche rapide sur Google et installé lsof, puis j’ai relancé la commande et obtenu aucun résultat.

J’ai également installé redis avec sudo apt-get install redis-server

quand j’exécute cette commande lsof, j’obtiens ceci maintenant

COMMAND     PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
redis-ser 40558 redis    6u  IPv4  62230      0t0  TCP localhost:redis (LISTEN)
redis-ser 40558 redis    7u  IPv6  62231      0t0  TCP localhost:redis (LISTEN)

Vous n’en avez probablement pas besoin, Discourse installe par défaut toutes ses dépendances à l’intérieur du conteneur, donc un serveur Redis sur le système hôte n’est pas requis.

Je pensais que c’était le cas - j’ai pensé que j’allais essayer au cas où !

Je dois faire quelque chose de mal lors de l’installation. Je viens d’essayer d’installer sur un autre Pi5 et une autre carte SD et j’ai obtenu le même résultat. En suivant ici discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

Salut @lemonade, as-tu une solution à ton problème ?

J’ai acheté aujourd’hui un nouveau rPi 5 et j’ai exactement le même problème.
Hier, j’ai fait le même processus sur un rPi4 et cela a fonctionné, je ne suis pas sûr si discourse est compatible avec rPi 5 :frowning:

Non, ça ne fonctionne toujours pas pour moi. J’ai essayé avec 2 Raspberry Pi 5 différents et des cartes SD. Je n’ai pas de Raspberry Pi 4 pour essayer.

J’avais juste supposé que je faisais quelque chose de mal et j’ai abandonné ! C’est donc une bonne nouvelle que ce ne soit peut-être pas moi !

J’ai réessayé sur Pi4 et cela fonctionne bien, je pense que malheureusement pour l’instant Discourse n’est pas compatible avec Pi5

En tant qu’utilisateurs de Pi5, nous devrons garder un œil sur les nouvelles :sweat_smile:

Ravi de savoir que vous avez réussi à le faire fonctionner sur votre Pi4 @keviiNN25 - Je suppose que je vais devoir attendre le support Pi5 :slight_smile:

Par curiosité, quel OS utilisez-vous sur votre Pi ? J’ai testé avec Pi OS Lite 64 bits, mais je n’ai rien essayé d’autre.

Je n’ai qu’un Pi4, j’essaierai de trouver un Pi5 pour traquer cela.

Y a-t-il quelque chose que je puisse faire pour aider @Falco ?

J’ai Pi OS Desktop 64 bits sur Pi5 et la même chose sur Pi4

J’aurai un Pi5 en fin de journée, je vais essayer une nouvelle installation et je vous tiens au courant !