# Failing to rebuild app on Discourse since May 7

**URL:** <https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121>\
**Category:** Self-hosting\
**Created:** [May 7, 2019, 8:21pm UTC](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121 "2019-05-07T20:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![lucasbasquerotto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucasbasquerotto/32/133376_2.png) [@lucasbasquerotto](https://meta.discourse.org/u/lucasbasquerotto)\
**Post date:** [May 8, 2019, 4:31pm UTC](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121/11 "2019-05-08T16:31:45Z")

</div>

Are those 2 discourse installations running in the same machine? Are you pointing the stateful volume (`/shared` folder in the container) to different locations in the host?

_containers/app1.yml:_

```yaml
volumes:
  - volume:
      host: /var/discourse/shared/app1
      guest: /shared
  - volume:
      host: /var/discourse/shared/app1/log/var-log
      guest: /var/log

```

_containers/app2.yml:_

```yaml
volumes:
  - volume:
      host: /var/discourse/shared/app2
      guest: /shared
  - volume:
      host: /var/discourse/shared/app2/log/var-log
      guest: /var/log

```

(this is to make sure that both of your discourse instances are independent, because an error in one of them shouldn’t reflect in the other when nothing else changed)

I don’t think your setup is mapping to the same location both apps, after all I dont think it would even work.

In case they are pointing to different locations (what I assume), then the most probable cause that I can think of is some kind of **conflict caused by a plugin**.

**Even if you haven’t added any plugins in your `app.yml`** after your last rebuild that worked, when you execute the `rebuild` command, **the latest version/commit of discourse is used and it may have conflicts with existing plugins**.

**What are your plugins? If you comment them and rebuild you have the same error?**

There’s also a similar issue about problems when compiling mini-racer (although it was an older version, but may be related):

[https://meta.discourse.org/t/rebuild-app-failed-due-to-issue-with-mini-racer/92939/4?u=lucasbasquerotto](https://meta.discourse.org/t/rebuild-app-failed-due-to-issue-with-mini-racer/92939/4)

Are you using the `tests-passed` branch?

---

_[View the full topic](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121)._
