Fehler nach der Installation des Plugins, ** failed to bootstrap **

Ich habe heute Nachmittag versucht, ein paar Plugins zu installieren, aber beim Neuaufbau ist dieser Fehler aufgetreten:

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

Wie kann ich das beheben?

Können Sie das vollständige Protokoll teilen?

1 „Gefällt mir“

Überprüfen Sie die genaue Syntax und Einrückung Ihrer yml-Datei – wahrscheinlich liegt es daran. yml ist sehr, sehr fehleranfällig.

1 „Gefällt mir“

Vielleicht eine gute Idee, Ihre yml-Datei hier zu teilen, aber entfernen Sie sensible Informationen. Die letzten beiden Abschnitte werden wahrscheinlich ausreichen. Verwenden Sie das vorformatierte Text-Gadget, damit es wie folgt angezeigt wird:

## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "End of custom commands"

Fehler gefunden! Danke! In der letzten Zeile ist ein zusätzliches Zeichen!

4 „Gefällt mir“