No puedo iniciar Discourse

Hola,
Estoy usando Ubuntu. Después de la actualización clásica del servidor, tuve que reiniciar el servidor. Después de reiniciar, Discourse comenzó a dar error 502 y luego 503.
Mis recursos son suficientes, si no lo fueran, nunca habría funcionado antes. Cuando ejecuto el comando ./launcher rebuild app, obtengo el siguiente error. Necesito soporte sobre el problema. Pido disculpas si publiqué este tema en la categoría incorrecta. Esta es la primera vez que creo un tema.

Se detectó la arquitectura x86_64.
ADVERTENCIA: El archivo containers/app.yml es legible por todos. Puedes proteger este archivo ejecutando: chmod o-rwx containers/app.yml
Deteniendo el contenedor antiguo
app
2.0.20240708-0023: Extrayendo de discourse/base
Digest: sha256:025e9c1f6848c4726544c6ae873d710c62f547b72afb7f537aaa44eb5377cb5c
Estado: La imagen está actualizada para discourse/base:2.0.20240708-0023
docker.io/discourse/base:2.0.20240708-0023
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
97:C 21 Sep 2024 08:47:55.260 # oO0OoO0OoO0Oo Redis está iniciando oO0OoO0OoO0Oo
97:C 21 Sep 2024 08:47:55.260 # Versión de Redis=7.0.7, bits=64, commit=00000000, modificado=0, pid=97, recién iniciado
97:C 21 Sep 2024 08:47:55.260 # Configuración cargada
97:M 21 Sep 2024 08:47:55.261 * Reloj monotónico: POSIX clock_gettime
97:M 21 Sep 2024 08:47:55.262 * Modo de ejecución=standalone, puerto=6379.
97:M 21 Sep 2024 08:47:55.262 # Servidor inicializado
97:M 21 Sep 2024 08:47:55.262 * Cargando RDB producido por la versión 7.0.7
97:M 21 Sep 2024 08:47:55.262 * Edad del RDB 174 segundos
97:M 21 Sep 2024 08:47:55.262 * Uso de memoria del RDB al crearse 2.63 Mb
97:M 21 Sep 2024 08:47:55.271 * Carga del RDB completada, claves cargadas: 357, claves expiradas: 0.
97:M 21 Sep 2024 08:47:55.271 * DB cargada desde disco: 0.009 segundos
97:M 21 Sep 2024 08:47:55.271 * Listo para aceptar conexiones
97:signal-handler (1726908505) Señal SIGTERM recibida, programando apagado...
97:M 21 Sep 2024 08:48:25.819 # Solicitud de apagado del usuario...
97:M 21 Sep 2024 08:48:25.819 * Guardando la instantánea RDB final antes de salir.
97:M 21 Sep 2024 08:48:25.843 * DB guardada en disco
97:M 21 Sep 2024 08:48:25.843 # Redis está listo para salir, adiós...


FALLIDO
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' falló con el retorno #<Process::Status: pid 301 exit 1>
Ubicación del fallo: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec falló con los parámetros {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ \"$version\" != \"tests-passed\" ]; then\n  rm -rf app/assets/javascripts/node_modules\nfi", "su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'"]}
fallo de arranque con código de salida 1
** FALLO AL ARRANQUE ** por favor desplácese hacia arriba y busque mensajes de error anteriores, puede haber más de uno.
./discourse-doctor puede ayudar a diagnosticar el problema.
108e18a13b2f36e166d1a7a0e3f14c2e473425617c18ad16a363e4a92369eebb

¿Qué versión de Docker tienes?

  docker --version

¿Puedes iniciar el contenedor antiguo con

./launcher start app
3 Me gusta

Docker versión 24.0.7, compilación 24.0.7-0ubuntu2~20.04.1

./launcher start app salida:

¡No hay nada que hacer, tu contenedor ya ha comenzado!

Me pregunto si el problema está relacionado con el cambio de yarn a pnpm para la gestión de paquetes. Los detalles sobre ese cambio están aquí: Discourse core is switching to pnpm for JS package management.

¿Has añadido algún comando yarn a tu archivo app.yml? La sección “Production” del documento que enlacé dice que los comandos yarn deben cambiarse a comandos pnpm.

2 Me gusta

Gracias por tu mensaje, pero como he estado buscando una solución desde la mañana, visité la página que mencionaste. La instrucción en esa página no resolvió mi problema. Hice la configuración necesaria en app.yml. Creo que hice una explicación incorrecta o incompleta. No tengo problemas con la primera instalación. Mi Discourse estaba funcionando. Después de la actualización de Discourse y Ubuntu, el Discourse desapareció repentinamente y da un error 502 o 503.

Asumí que estabas en la versión “tests-passed” de Discourse, pero según los errores relacionados con yarn, parece que estás en la versión “stable”.

¿En qué rama y versión de Discourse está tu sitio?

1 me gusta

Debería estar en la última versión. ¿Dónde puedo aprender?

1 me gusta

No puedo ver esta parte porque mi Discourse está atascado en la página de error 502 o 503. Dicha metaetiqueta no aparece en la sección de revisión de artículos.

1 me gusta

También puedes buscar tests-passed o discourse_version en tu archivo yml para ver qué versión tienes allí.

2 Me gusta

I added the code you specified into App.yml. The result is as follows.

app
2.0.20240708-0023: Pulling from discourse/base
Digest: sha256:025e9c1f6848c4726544c6ae873d710c62f547b72afb7f537aaa44eb5377cb5c
Status: Image is up to date for discourse/base:2.0.20240708-0023
docker.io/discourse/base:2.0.20240708-0023
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-09-23T17:25:36.977586 #1]  INFO -- : Reading from stdin
I, [2024-09-23T17:25:36.994568 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-09-23T17:25:37.001154 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-09-23T17:25:37.007785 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-09-23T17:25:37.013765 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown:
I, [2024-09-23T17:25:37.019599 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-09-23T17:25:37.020380 #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-09-23T17:25:37.021325 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.con                                                                                f
I, [2024-09-23T17:25:37.021843 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql                                                                                /13/main/postgresql.conf
I, [2024-09-23T17:25:37.022369 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/pos                                                                                tgresql.conf
I, [2024-09-23T17:25:37.022884 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.023426 #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-09-23T17:25:37.023953 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgre                                                                                sql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.024436 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13                                                                                /main/postgresql.conf
I, [2024-09-23T17:25:37.024941 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_stat                                                                                ement in /etc/postgresql/13/main/postgresql.conf
I, [2024-09-23T17:25:37.025738 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresq                                                                                l/13/main/pg_hba.conf
I, [2024-09-23T17:25:37.026194 #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.con                                                                                f
I, [2024-09-23T17:25:37.026611 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.con                                                                                f
I, [2024-09-23T17:25:37.027087 #1]  INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres
I, [2024-09-23T17:25:38.629039 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2024-09-23T17:25:38.629571 #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-09-23T17:25:38.641057 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-09-23T17:25:38.650536 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-09-23T17:25:38.654268 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-09-23T17:25:38.655031 #1]  INFO -- : > sleep 5
2024-09-23 17:25:38.675 UTC [36] LOG:  starting PostgreSQL 13.15 (Debian 13.15-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1                                                                                 20210110, 64-bit
2024-09-23 17:25:38.675 UTC [36] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-09-23 17:25:38.675 UTC [36] LOG:  listening on IPv6 address "::", port 5432
2024-09-23 17:25:38.680 UTC [36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-09-23 17:25:38.685 UTC [45] LOG:  database system was shut down at 2024-09-23 17:25:26 UTC
2024-09-23 17:25:38.692 UTC [36] LOG:  database system is ready to accept connections
I, [2024-09-23T17:25:43.658647 #1]  INFO -- :
I, [2024-09-23T17:25:43.658891 #1]  INFO -- : > /usr/local/bin/create_db
2024-09-23 17:25:43.779 UTC [55] postgres@postgres ERROR:  database "discourse" already exists
2024-09-23 17:25:43.779 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
2024-09-23 17:25:43.879 UTC [58] postgres@discourse ERROR:  role "discourse" already exists
2024-09-23 17:25:43.879 UTC [58] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
I, [2024-09-23T17:25:44.581740 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
UPDATE 0

I, [2024-09-23T17:25:44.582045 #1]  INFO -- : > echo postgres installed!
I, [2024-09-23T17:25:44.585928 #1]  INFO -- : postgres installed!

I, [2024-09-23T17:25:44.593592 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2024-09-23T17:25:44.600459 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-09-23T17:25:44.608243 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-09-23T17:25:44.609721 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.610503 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.611371 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-09-23T17:25:44.617733 #1]  INFO -- :
I, [2024-09-23T17:25:44.618114 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.618956 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.620091 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.621308 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.622425 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-09-23T17:25:44.623349 #1]  INFO -- : > echo redis installed
I, [2024-09-23T17:25:44.626833 #1]  INFO -- : redis installed

I, [2024-09-23T17:25:44.627487 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-09-23T17:25:44.633214 #1]  INFO -- : logfile ""

I, [2024-09-23T17:25:44.633615 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-09-23T17:25:44.635902 #1]  INFO -- : > sleep 10
98:C 23 Sep 2024 17:25:44.646 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
98:C 23 Sep 2024 17:25:44.646 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=98, just started
98:C 23 Sep 2024 17:25:44.646 # Configuration loaded
98:M 23 Sep 2024 17:25:44.647 * monotonic clock: POSIX clock_gettime
98:M 23 Sep 2024 17:25:44.648 * Running mode=standalone, port=6379.
98:M 23 Sep 2024 17:25:44.648 # Server initialized
98:M 23 Sep 2024 17:25:44.649 * Loading RDB produced by version 7.0.7
98:M 23 Sep 2024 17:25:44.649 * RDB age 18 seconds
98:M 23 Sep 2024 17:25:44.649 * RDB memory usage when created 1.92 Mb
98:M 23 Sep 2024 17:25:44.655 * Done loading RDB, keys loaded: 312, keys expired: 0.
98:M 23 Sep 2024 17:25:44.655 * DB loaded from disk: 0.006 seconds
98:M 23 Sep 2024 17:25:44.655 * Ready to accept connections
I, [2024-09-23T17:25:54.639834 #1]  INFO -- :
I, [2024-09-23T17:25:54.640262 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-09-23T17:25:54.648131 #1]  INFO -- : thpoff is installed!

I, [2024-09-23T17:25:54.648937 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not c                                                                                onfigured!"; exit 1; end'
I, [2024-09-23T17:25:54.759170 #1]  INFO -- :
I, [2024-09-23T17:25:54.759278 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is no                                                                                t configured!"; exit 1; end'
I, [2024-09-23T17:25:54.870271 #1]  INFO -- :
I, [2024-09-23T17:25:54.870627 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a pr                                                                                otocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-09-23T17:25:54.981151 #1]  INFO -- :
I, [2024-09-23T17:25:54.981527 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-09-23T17:25:54.985044 #1]  INFO -- :
I, [2024-09-23T17:25:54.989219 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2024-09-23T17:25:54.996114 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-09-23T17:25:55.002341 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-09-23T17:25:55.008199 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-09-23T17:25:55.015197 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-09-23T17:25:55.022373 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-09-23T17:25:55.022533 #1]  INFO -- : Replacing # postgres with if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1
 in /etc/service/unicorn/run
I, [2024-09-23T17:25:55.024272 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34584/34584), done.
I, [2024-09-23T17:26:00.129770 #1]  INFO -- : HEAD is now at 52a047a8b UX: plugins may have underscore in the name (#27749)

I, [2024-09-23T17:26:00.129895 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-09-23T17:26:00.306823 #1]  INFO -- :
I, [2024-09-23T17:26:00.307054 #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/0-a-bread-path
 - [deleted]             (none)     -> origin/0-a-pullrequests-merefield-add_irv_to_poll
 - [deleted]             (none)     -> origin/0-a-unresolv-bread
 - [deleted]             (none)     -> origin/0-fast-edit-end
 - [deleted]             (none)     -> origin/2.8-stable
 - [deleted]             (none)     -> origin/Update-Custom-Header-Links-preview-link
 - [deleted]             (none)     -> origin/a-dejq-click
 - [deleted]             (none)     -> origin/a-move-mobile
 - [deleted]             (none)     -> origin/a-move-state
 - [deleted]             (none)     -> origin/a-pnpm
 - [deleted]             (none)     -> origin/a-smokes
 - [deleted]             (none)     -> origin/add_mechanism_to_redeliver_all_webhook_events
 - [deleted]             (none)     -> origin/allow-staff-to-tag
 - [deleted]             (none)     -> origin/asyncify-preload-store
 - [deleted]             (none)     -> origin/backup-restore-v2
 - [deleted]             (none)     -> origin/dependabot/bundler/irb-1.14.0
 - [deleted]             (none)     -> origin/dependabot/bundler/libv8-node-21.7.2.0
 - [deleted]             (none)     -> origin/dependabot/bundler/mini_racer-0.12.0
 - [deleted]             (none)     -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2
 - [deleted]             (none)     -> origin/dependabot/bundler/sassc-embedded-1.77.7
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/ember-source-5.8.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/ember/string-4.0.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/glob-10.4.3
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/highlight.js-11.10.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/highlightjs/cdn-assets-11.10.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/jsdoc-4.0.3
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/markdown-it-14.1.0
 - [deleted]             (none)     -> origin/detect-default-readonly
 - [deleted]             (none)     -> origin/dev/add-behavior-transformers
 - [deleted]             (none)     -> origin/dev/always-load-problem-checks
 - [deleted]             (none)     -> origin/dev/fix-flaky-sidebar-category-test
 - [deleted]             (none)     -> origin/dev/notification-avatar-size-getter
 - [deleted]             (none)     -> origin/dev/promote-inline-checks-to-problem-checks
 - [deleted]             (none)     -> origin/dev/promote-inline-problem-checks
 - [deleted]             (none)     -> origin/dev/stylesheet_importer_categories_with_background_images-modifier
 - [deleted]             (none)     -> origin/discuz-importer
 - [deleted]             (none)     -> origin/feature/absolute-number-in-poll
 - [deleted]             (none)     -> origin/feature/allow-kbd-chat-html
 - [deleted]             (none)     -> origin/feature/disable-failing-auth-methods
 - [deleted]             (none)     -> origin/feature/locale-telemetry
 - [deleted]             (none)     -> origin/feature/private-github-onebox
 - [deleted]             (none)     -> origin/feature/shift-auto-upload-dropped-files-chat
 - [deleted]             (none)     -> origin/fix-ensure-post-and-topic-user-id-is-always-set
 - [deleted]             (none)     -> origin/fix-missing-color-sidebar-dots
 - [deleted]             (none)     -> origin/fix-vb5-script
 - [deleted]             (none)     -> origin/fix_destroy_drafts
 - [deleted]             (none)     -> origin/fix_rack_logger_info_being_logged
 - [deleted]             (none)     -> origin/font-awesome-6
 - [deleted]             (none)     -> origin/formtoolkit
 - [deleted]             (none)     -> origin/grant-admin-fetch-user
 - [deleted]             (none)     -> origin/group-inbox-label
 - [deleted]             (none)     -> origin/hinted_associations
 - [deleted]             (none)     -> origin/hsluv-experiment
 - [deleted]             (none)     -> origin/i18n/count-lint
 - [deleted]             (none)     -> origin/i18n/email-templates
 - [deleted]             (none)     -> origin/improve-discourse-hub-no-trust-level-error-messages
 - [deleted]             (none)     -> origin/loic-use-messageformat-gem
 - [deleted]             (none)     -> origin/mt/converter
 - [deleted]             (none)     -> origin/prevent-header-cls
 - [deleted]             (none)     -> origin/raw-hbs-to-glimmer
 - [deleted]             (none)     -> origin/relative-sourcemap
 - [deleted]             (none)     -> origin/rename_topics_section_to_community
 - [deleted]             (none)     -> origin/sidebar-perf-v2
 - [deleted]             (none)     -> origin/skip-topic-bookmark-sync-user-destroy
 - [deleted]             (none)     -> origin/support-query-string
 - [deleted]             (none)     -> origin/tobiaseigen-patch-1
 - [deleted]             (none)     -> origin/topic-list-refactor-nohtml
 - [deleted]             (none)     -> origin/truffleruby
 - [deleted]             (none)     -> origin/update-base-urls-to-respect-subfolder
 - [deleted]             (none)     -> origin/update-chat-allowed-groups-default
   52a047a8b..ed4791d0b  main                    -> origin/main
 * [new branch]          0-a-dl                  -> origin/0-a-dl
 * [new branch]          0-a-gjs-unread-ind      -> origin/0-a-gjs-unread-ind
 * [new branch]          add-shortcuts           -> origin/add-shortcuts
 * [new branch]          again-support-load-more-btn -> origin/again-support-load-more-btn
 * [new branch]          agc_plugin_analytics_job_errors -> origin/agc_plugin_analytics_job_errors
 * [new branch]          burning-uppy-mixins     -> origin/burning-uppy-mixins
 * [new branch]          cat-mod-groups          -> origin/cat-mod-groups
 * [new branch]          category-experts-approved-webhook-event-wip -> origin/category-experts-approved-webhook-event-wip
 * [new branch]          chat-desktop-sound-updates -> origin/chat-desktop-sound-updates
 + bfdeae4f4...488081d93 coco/generic-importer   -> origin/coco/generic-importer  (forced update)
 * [new branch]          conditional-summary-box -> origin/conditional-summary-box
 * [new branch]          defer-button-action     -> origin/defer-button-action
 * [new branch]          dependabot/bundler/jwt-2.9.0 -> origin/dependabot/bundler/jwt-2.9.0
 * [new branch]          dependabot/bundler/omniauth-google-oauth2-1.2.0 -> origin/dependabot/bundler/omniauth-google-oauth2-1.2.0
 * [new branch]          dependabot/bundler/rubocop-rails-2.26.2 -> origin/dependabot/bundler/rubocop-rails-2.26.2
 * [new branch]          dependabot/bundler/sass-embedded-1.79.3 -> origin/dependabot/bundler/sass-embedded-1.79.3
 * [new branch]          dependabot/bundler/sassc-embedded-1.78.0 -> origin/dependabot/bundler/sassc-embedded-1.78.0
 * [new branch]          dependabot/bundler/selenium-devtools-0.129.0 -> origin/dependabot/bundler/selenium-devtools-0.129.0
 * [new branch]          dependabot/bundler/selenium-webdriver-4.25.0 -> origin/dependabot/bundler/selenium-webdriver-4.25.0
 * [new branch]          dependabot/bundler/uglifier-4.2.1 -> origin/dependabot/bundler/uglifier-4.2.1
 * [new branch]          dependabot/npm_and_yarn/content-tag-2.0.2 -> origin/dependabot/npm_and_yarn/content-tag-2.0.2
 * [new branch]          dependabot/npm_and_yarn/ember-auto-import-2.8.1 -> origin/dependabot/npm_and_yarn/ember-auto-import-2.8.1
 * [new branch]          dependabot/npm_and_yarn/embroider-4f8c6802a1 -> origin/dependabot/npm_and_yarn/embroider-4f8c6802a1
 * [new branch]          dependabot/npm_and_yarn/esbuild-0.24.0 -> origin/dependabot/npm_and_yarn/esbuild-0.24.0
 * [new branch]          dependabot/npm_and_yarn/sass-1.79.3 -> origin/dependabot/npm_and_yarn/sass-1.79.3
 * [new branch]          dev-bigint-sequences    -> origin/dev-bigint-sequences
 * [new branch]          dev-faster-tests        -> origin/dev-faster-tests
 * [new branch]          dev-migrate-user-password -> origin/dev-migrate-user-password
 * [new branch]          dev-migrate-user-passwords -> origin/dev-migrate-user-passwords
 * [new branch]          dev-nginx-conf          -> origin/dev-nginx-conf
 * [new branch]          dev/add-skeleton-of-section-landing-page-and-items -> origin/dev/add-skeleton-of-section-landing-page-and-items
 * [new branch]          dev/advanced-search-custom-in-special -> origin/dev/advanced-search-custom-in-special
 * [new branch]          dev/bulk-import-chats   -> origin/dev/bulk-import-chats
 + 344d0eda8...f060538a8 dev/ember-source-5.9.0-upgrade -> origin/dev/ember-source-5.9.0-upgrade  (forced update)
 * [new branch]          dev/glimmer-post-menu   -> origin/dev/glimmer-post-menu
 * [new branch]          dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable
 * [new branch]          dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument
 * [new branch]          dev/sidebar-sections-collapse-expand-transformer-events -> origin/dev/sidebar-sections-collapse-expand-transformer-events
 * [new branch]          dev/sidebar-subsections -> origin/dev/sidebar-subsections
 * [new branch]          dev/use-new-filestore-download-method -> origin/dev/use-new-filestore-download-method
 * [new branch]          devcontainer            -> origin/devcontainer
 * [new branch]          drop-old-notification-id-columns -> origin/drop-old-notification-id-columns
 * [new branch]          ember-cli-terser-tweak  -> origin/ember-cli-terser-tweak
 * [new branch]          ember-native-class      -> origin/ember-native-class
 * [new branch]          ensure_default_timeouts_for_net_http -> origin/ensure_default_timeouts_for_net_http
 * [new branch]          experimental_async_css_loading -> origin/experimental_async_css_loading
 * [new branch]          feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event
 * [new branch]          feature/bulk-dismiss-buttons-confirmation -> origin/feature/bulk-dismiss-buttons-confirmation
 * [new branch]          feature/enable-chat-with-dms-only -> origin/feature/enable-chat-with-dms-only
 * [new branch]          feature/show-note-bookmark-notif -> origin/feature/show-note-bookmark-notif
 * [new branch]          fix-import-polls        -> origin/fix-import-polls
 + 8ed724634...d58449475 fix-search-context-delete-key -> origin/fix-search-context-delete-key  (forced update)
 * [new branch]          full-width-login-modal-mobile -> origin/full-width-login-modal-mobile
 * [new branch]          glint                   -> origin/glint
 * [new branch]          group_and_tag_group_permission_change_notification -> origin/group_and_tag_group_permission_change_notification
 * [new branch]          history-store-methods   -> origin/history-store-methods
 * [new branch]          loic-rails-7.2          -> origin/loic-rails-7.2
 * [new branch]          loic-upgrade-miniracer  -> origin/loic-upgrade-miniracer
 * [new branch]          preload_stylesheets_links -> origin/preload_stylesheets_links
 * [new branch]          prune-old-transpilers   -> origin/prune-old-transpilers
 * [new branch]          reenable_webpack_minimization_2 -> origin/reenable_webpack_minimization_2
   ddf53c129..2f4c621a2  remove-x-count          -> origin/remove-x-count
 * [new branch]          remove_unused_file      -> origin/remove_unused_file
 * [new branch]          render-glimmer-example  -> origin/render-glimmer-example
 * [new branch]          render-glimmer-granular -> origin/render-glimmer-granular
 * [new branch]          revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting -> origin/revert-28587-revert-28321-dev/remove                                                                                -create_post_for_category_and_tag_changes-setting
 * [new branch]          revert-location-change  -> origin/revert-location-change
   473248381..25514419e  stable                  -> origin/stable
 * [new branch]          support-load-more-btn   -> origin/support-load-more-btn
 * [new branch]          tag-name-transformer    -> origin/tag-name-transformer
 * [new branch]          temp-pr-28024           -> origin/temp-pr-28024
 * [new branch]          testing_debian_12       -> origin/testing_debian_12
   52a047a8b..ed4791d0b  tests-passed            -> origin/tests-passed
 * [new branch]          theme-cards             -> origin/theme-cards
 * [new branch]          tobiaseigen-patch-4     -> origin/tobiaseigen-patch-4
 * [new branch]          trace-objects           -> origin/trace-objects
 * [new branch]          translations-from-crowdin-main -> origin/translations-from-crowdin-main
 * [new branch]          translations-from-crowdin-stable -> origin/translations-from-crowdin-stable
 * [new branch]          update-composer-media-optimization-requirements -> origin/update-composer-media-optimization-requirements
 * [new branch]          ux-fix-review-delete-label -> origin/ux-fix-review-delete-label
 * [new branch]          ux/simplification-invite-modal -> origin/ux/simplification-invite-modal
 t [tag update]          beta                    -> beta
 t [tag update]          latest-release          -> latest-release
 * [new tag]             v3.2.4                  -> v3.2.4
 * [new tag]             v3.2.5                  -> v3.2.5
 * [new tag]             v3.3.0                  -> v3.3.0
 * [new tag]             v3.3.0.beta4            -> v3.3.0.beta4
 * [new tag]             v3.3.0.beta5            -> v3.3.0.beta5
 * [new tag]             v3.3.0.beta6            -> v3.3.0.beta6
 * [new tag]             v3.3.1                  -> v3.3.1
 * [new tag]             v3.4.0.beta1            -> v3.4.0.beta1
I, [2024-09-23T17:26:03.742189 #1]  INFO -- :
I, [2024-09-23T17:26:03.742316 #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
'
Switched to a new branch 'tests-passed'
I, [2024-09-23T17:26:09.115457 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2024-09-23T17:26:09.115559 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-09-23T17:26:09.133494 #1]  INFO -- :
I, [2024-09-23T17:26:09.133568 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-09-23T17:26:09.137301 #1]  INFO -- :
I, [2024-09-23T17:26:09.137393 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-09-23T17:26:09.143626 #1]  INFO -- :
I, [2024-09-23T17:26:09.143716 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-09-23T17:26:09.148769 #1]  INFO -- :
I, [2024-09-23T17:26:09.148858 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-09-23T17:26:09.153691 #1]  INFO -- :
I, [2024-09-23T17:26:09.153877 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-09-23T17:26:09.158063 #1]  INFO -- :
I, [2024-09-23T17:26:09.158151 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-09-23T17:26:09.163009 #1]  INFO -- :
I, [2024-09-23T17:26:09.163193 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.                                                                                stdout,unicorn.stderr,sidekiq}.log"
I, [2024-09-23T17:26:09.169934 #1]  INFO -- :
I, [2024-09-23T17:26:09.170122 #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-09-23T17:26:09.177448 #1]  INFO -- :
I, [2024-09-23T17:26:09.177638 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-09-23T17:26:09.184377 #1]  INFO -- :
I, [2024-09-23T17:26:09.184575 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-09-23T17:26:09.192049 #1]  INFO -- :
I, [2024-09-23T17:26:09.192140 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-09-23T17:26:09.199757 #1]  INFO -- :
I, [2024-09-23T17:26:09.199952 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-09-23T17:26:09.206229 #1]  INFO -- :
I, [2024-09-23T17:26:09.206324 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /share                                                                                d/tmp
I, [2024-09-23T17:26:09.222255 #1]  INFO -- :
I, [2024-09-23T17:26:09.222441 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-09-23T17:26:09.226321 #1]  INFO -- :
I, [2024-09-23T17:26:09.226608 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-09-23T17:26:09.227410 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/docker_manager.g                                                                                it
Cloning into 'docker_manager'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-09-23T17:26:10.680586 #1]  INFO -- :
I, [2024-09-23T17:26:10.680745 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-o                                                                                nline.git
Cloning into 'discourse-whos-online'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-09-23T17:26:11.733230 #1]  INFO -- :
I, [2024-09-23T17:26:11.733327 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-data-e                                                                                xplorer.git
Cloning into 'discourse-data-explorer'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-09-23T17:26:12.881012 #1]  INFO -- :
I, [2024-09-23T17:26:12.882337 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-09-23T17:26:12.888353 #1]  INFO -- :
I, [2024-09-23T17:26:12.888592 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-09-23T17:26:12.892703 #1]  INFO -- :
I, [2024-09-23T17:26:12.893443 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-09-23T17:26:12.898119 #1]  INFO -- :
I, [2024-09-23T17:26:12.899172 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-09-23T17:26:12.899760 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/disc                                                                                ourse.conf
I, [2024-09-23T17:26:12.900169 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-09-23T17:26:12.900543 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discour                                                                                se.conf
I, [2024-09-23T17:26:12.900932 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx                                                                                .conf
I, [2024-09-23T17:26:12.901413 #1]  INFO -- : > echo "done configuring web"
I, [2024-09-23T17:26:12.904114 #1]  INFO -- : done configuring web

I, [2024-09-23T17:26:12.904616 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,"");                                                                                 print $0 }' Gemfile.lock)
I, [2024-09-23T17:26:14.790751 #1]  INFO -- : Successfully installed bundler-2.5.18
1 gem installed

I, [2024-09-23T17:26:14.790947 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-09-23T17:26:19.630299 #1]  INFO -- :
I, [2024-09-23T17:26:19.631279 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn config set network-timeout 600000 -g'
I, [2024-09-23T17:26:20.307972 #1]  INFO -- : yarn config v1.22.22
success Set "network-timeout" to "600000".
Done in 0.09s.

I, [2024-09-23T17:26:20.308765 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-09-23T17:26:20.311751 #1]  INFO -- :
I, [2024-09-23T17:26:20.311933 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
error discourse@: The engine "yarn" is incompatible with this module. Expected version "please-use-pnpm". Got "1.22.22"
warning discourse@: The engine "pnpm" appears to be invalid.
error Found incompatible module.
I, [2024-09-23T17:26:20.764069 #1]  INFO -- : yarn install v1.22.22
info No lockfile found.
[1/5] Validating package.json...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I, [2024-09-23T17:26:20.764877 #1]  INFO -- : Terminating async processes
I, [2024-09-23T17:26:20.764934 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:post                                                                                gres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 36
I, [2024-09-23T17:26:20.765087 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 98
2024-09-23 17:26:20.765 UTC [36] LOG:  received fast shutdown request
98:signal-handler (1727112380) Received SIGTERM scheduling shutdown...
2024-09-23 17:26:20.767 UTC [36] LOG:  aborting any active transactions
2024-09-23 17:26:20.770 UTC [36] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2024-09-23 17:26:20.771 UTC [46] LOG:  shutting down
2024-09-23 17:26:20.793 UTC [36] LOG:  database system is shut down
98:M 23 Sep 2024 17:26:20.818 # User requested shutdown...
98:M 23 Sep 2024 17:26:20.818 * Saving the final RDB snapshot before exiting.
98:M 23 Sep 2024 17:26:20.836 * DB saved on disk
98:M 23 Sep 2024 17:26:20.836 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' failed with return #<Process::Status: pid 324                                                                                 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ \"$version\" != \"tests-passed\" ]; then\n  rm -rf app/assets/javascripts/node_modu                                                                                les\nfi", "su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'"]}
bootstrap failed with exit code 1

El problema se resolvió de la siguiente manera.

Cambié el valor de version: en app.yml a version: stable y reconstruí.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.