Errore dopo l'installazione del plugin, ** failed to bootstrap **

Ho provato a installare alcuni plugin nel pomeriggio, ma ho riscontrato questo errore durante la ricostruzione:

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

Come posso risolvere questo problema?

Puoi condividere il log completo?

1 Mi Piace

Controlla la sintassi esatta e l’indentazione del tuo file yml: è probabilmente quello. yml è molto, molto fragile.

1 Mi Piace

Forse è una buona idea condividere qui il tuo file yml, ma rimuovi le informazioni sensibili. Le ultime due sezioni saranno probabilmente sufficienti. Usa il gadget di testo preformattato in modo che appaia così:

## I plugin vanno qui
## vedi https://meta.discourse.org/t/19157 per i dettagli
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

## Qualsiasi comando personalizzato da eseguire dopo la compilazione
run:
  - exec: echo "Inizio dei comandi personalizzati"
  ## Se vuoi impostare l'indirizzo email 'Da' per la tua prima registrazione, decommenta e modifica:
  ## Dopo aver ricevuto la prima email di registrazione, ricommenta la riga. Deve essere eseguita una sola volta.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "Fine dei comandi personalizzati"

Si è verificato un errore! Grazie! C’è un carattere in più nell’ultima riga!

4 Mi Piace