# Launcher Rebuild mislukt bij "'bundle exec rake themes:update assets:precompile'"

**URL:** <https://meta.discourse.org/t/launcher-rebuild-failing-at-bundle-exec-rake-themes-update-assets-precompile/173377>\
**Category:** Self-hosting\
**Created:** [15 december 2020 om 15:33 UTC](https://meta.discourse.org/t/launcher-rebuild-failing-at-bundle-exec-rake-themes-update-assets-precompile/173377 "2020-12-15T15:33:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Divyaanand\_Sinha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/divyaanand_sinha/32/182302_2.png) [@Divyaanand\_Sinha](https://meta.discourse.org/u/Divyaanand_Sinha)\
**Post date:** [15 december 2020 om 20:44 UTC](https://meta.discourse.org/t/launcher-rebuild-failing-at-bundle-exec-rake-themes-update-assets-precompile/173377/7 "2020-12-15T20:44:42Z")

</div>

I haven’t even built the image yet, so I still don’t understand how it can get changed. I have the redis.template.yml added to my file.

```
templates:
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/redis.template.yml"
env:
  LANG: en_US.UTF-8
  UNICORN_WORKERS: 8
  DISCOURSE_DB_USERNAME: discourse
  DISCOURSE_DB_PASSWORD: "xxxxx"
  DISCOURSE_DB_HOST: "xxxxx"
  DISCOURSE_DB_NAME: discourse_prod_2
  DISCOURSE_DEVELOPER_EMAILS: 'xxxxxxx'
  DISCOURSE_HOSTNAME: 'localhost'
  DISCOURSE_DB_PORT: "5301"  
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/discourse/discourse-slack-official.git
          - git clone https://github.com/discourse/discourse-assign.git
run:
  - exec:
      cd: /var/www/discourse
      cmd:
        - sed -i 's/GlobalSetting.serve_static_assets/true/' config/environments/production.rb

```

However, I am running `./launcher rebuild` as a root user. Will that have any affect on this?

---

_[View the full topic](https://meta.discourse.org/t/launcher-rebuild-failing-at-bundle-exec-rake-themes-update-assets-precompile/173377)._
