Форум стал неработоспособным

Ммм, я ранее отмечал, что кто-то уже говорил о том, чтобы помещать вещи в неправильный раздел, а потом сам всё равно сделал то же самое, ой (!)

Так что, после более внимательного прочтения, у меня всё ещё кажется, что есть проблема. Вот что у меня есть:

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, что я и сделал, но это, похоже, ничего нового не выявило…