# My forum goes down when I do launcher rebuild app

**URL:** <https://meta.discourse.org/t/my-forum-goes-down-when-i-do-launcher-rebuild-app/242671>\
**Category:** Self-hosting\
**Created:** [October 22, 2022, 2:50pm UTC](https://meta.discourse.org/t/my-forum-goes-down-when-i-do-launcher-rebuild-app/242671 "2022-10-22T14:50:40Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [October 23, 2022, 8:33am UTC](https://meta.discourse.org/t/my-forum-goes-down-when-i-do-launcher-rebuild-app/242671/15 "2022-10-23T08:33:52Z")

</div>

Very first actual line starting `hooks:` can’t be right. It should be something like

```plaintext
hooks:
  after_assets_precompile:
    - exec:
        cd: $home
        cmd:
          - sudo -E -u discourse bundle exec rake s3:upload_assets
          - sudo -E -u discourse bundle exec rake posts:rebake
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

```

Well, not exacly like that because this is from mine, but lines, intends etc should be similar.

---

_[View the full topic](https://meta.discourse.org/t/my-forum-goes-down-when-i-do-launcher-rebuild-app/242671)._
