フォーラムが使用不能になりました

うーん、以前、誰かが何かを間違ったセクションに入れたと話していたのを覚えていますが、それでも同じことをしてしまいました、ええと(!)

注意深く読み直したところ、まだ問題があるようです。以下のものがあります。

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

app.ymlhooks セクションに貼り付けるように指示されています。これは正しいように見えますか、それともまだ間違った場所にいますか?現在発生しているエラーは次のとおりです。

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

ログをさらに詳しく調べていますが、何も見つかりません。残念ながら、Rubyでコーディングしたことがないので、何を見ているのか/探しているのかよくわかりません。何かアイデアはありますか?

注:./discourse-doctorを実行するように指示されましたが、実行したところ、何も変わらないように見えました。