포럼이 사용 불가능한 상태입니다

음, 전에 다른 사람이 잘못된 섹션에 내용을 넣는 것에 대해 이야기한 것을 기억했는데, 결국 나도 똑같은 실수를 했네요. 어머! ( !)

조심스럽게 다시 읽어봤지만 여전히 문제가 있는 것 같아요. 저는 이렇게 설정했는데;

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.yml 파일의 hooks 섹션에 붙여넣으라고 되어 있는데, 이게 올바른 위치인가요, 아니면 여전히 잘못된 곳에 있는 건가요? 지금 받는 오류는 다음과 같습니다;

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를 실행하라고 조언을 주셔서 실행해 봤는데, 다른 정보를 제공해 주지는 않는 것 같네요 ..