Error después de instalar el plugin, ** failed to bootstrap **

Intenté instalar algunos complementos esta tarde, pero apareció este error durante la reconstrucción:

2026-01-11 09:16:55.588 UTC [45] LOG:  received fast shutdown request
I, [2026-01-11T09:16:55.588399 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 112
112:signal-handler (1768123015) Received SIGTERM scheduling shutdown…
2026-01-11 09:16:55.590 UTC [45] LOG:  aborting any active transactions
2026-01-11 09:16:55.599 UTC [45] LOG:  background worker “logical replication launcher” (PID 59) exited with exit code 1
2026-01-11 09:16:55.599 UTC [54] LOG:  shutting down
2026-01-11 09:16:55.600 UTC [54] LOG:  checkpoint starting: shutdown immediate
2026-01-11 09:16:55.610 UTC [54] LOG:  checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.002 s, total=0.011 s; sync files=3, longest=0.001 s, average=0.001 s; distance=4 kB, estimate=4 kB
2026-01-11 09:16:55.616 UTC [45] LOG:  database system is shut down
112:M 11 Jan 2026 09:16:55.624 # User requested shutdown…
112:M 11 Jan 2026 09:16:55.624 * Saving the final RDB snapshot before exiting.
112:M 11 Jan 2026 09:16:55.875 * DB saved on disk
112:M 11 Jan 2026 09:16:55.876 # Redis is now ready to exit, bye bye…
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:235:in `block (2 levels) in run_commands': Invalid run command cd (SyntaxError)         from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:223:in `each’
from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:223:in `block in run_commands'         from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:222:in `each’
from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:222:in `run_commands'         from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/config.rb:203:in `run’
from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/lib/pups/cli.rb:96:in `run'         from /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.4.0/bin/pups:9:in `<top (required)>’
from /usr/local/bin/pups:25:in `load'         from /usr/local/bin/pups:25:in `<main>’
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
fbf8d4dba918973394423da80fc1708e98313c0e4c5f696998355bae3ea72ae5

¿Cómo lo soluciono?

¿Puedes compartir el registro completo?

1 me gusta

Verifique la sintaxis y la sangría exactas de su archivo yml; probablemente sea eso. yml es muy, muy frágil.

1 me gusta

Quizás sea una buena idea compartir su archivo yml aquí, pero elimine la información confidencial. Las últimas dos secciones probablemente serán suficientes. Utilice el gadget de texto preformateado para que aparezca así:

## Los plugins van aquí
## consulte https://meta.discourse.org/t/19157 para obtener detalles
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

## Cualquier comando personalizado para ejecutar después de la compilación
run:
  - exec: echo "Comienzo de comandos personalizados"
  ## Si desea establecer la dirección de correo electrónico 'De' para su primer registro, descomente y cambie:
  ## Después de recibir el primer correo electrónico de registro, vuelva a comentar la línea. Solo necesita ejecutarse una vez.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "Fin de comandos personalizados"

¡Se ha encontrado un error! ¡Gracias! ¡El último renglón tiene caracteres extra!

4 Me gusta