Forum nicht mehr nutzbar

Mmm, ich hatte zuvor angemerkt, dass jemand anderes darüber gesprochen hatte, Dinge in die falsche Sektion zu stellen, dann habe ich dasselbe trotzdem getan, igitt (!).

Nachdem ich sorgfältiger gelesen habe, scheine ich immer noch ein Problem zu haben. Ich habe:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-whos-online
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-reactions.git
          - git clone https://github.com/discourse/discourse-subscriptions.git
          - git clone https://github.com/discourse/discourse-topic-voting.git
          - git clone https://github.com/discourse/discourse-calendar.git
          - git clone https://github.com/sylque/discourse-home-page.git
          - git clone https://github.com/sylque/discpage.git
          - git clone https://github.com/discourse/discourse-onboarding-banner.git

  after_assets_precompile:
    - exec:
        cd: $home
        cmd:
          - sudo -E -u discourse bundle exec rake s3:upload_assets
          - sudo -E -u discourse bundle exec rake s3:expire_missing_assets

Es heißt, ich soll das in app.yml im Abschnitt hooks einfügen. Sieht das richtig aus oder bin ich immer noch am falschen Ort? Die Fehlermeldung, die ich jetzt bekomme, ist:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && sudo -E -u discourse bundle exec rake s3:upload_assets failed with return #<Process::Status: pid 1845 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["sudo -E -u discourse bundle exec rake s3:upload_assets", "sudo -E -u discourse bundle exec rake s3:expire_missing_assets"]}
bootstrap failed with exit code 1

Ich schaue mir die Protokolle noch einmal an, um weitere Details zu erfahren, aber ich sehe nichts. Leider habe ich nie in Ruby programmiert, daher weiß ich nicht wirklich, was ich mir ansehe / wonach ich suchen soll. Irgendwelche Ideen?

Hinweis: Es wurde empfohlen, ./discourse-doctor auszuführen, was ich getan habe, aber es schien mir nichts Neues zu sagen.