# Unable to upgrade discourse with separate data container

**URL:** <https://meta.discourse.org/t/unable-to-upgrade-discourse-with-separate-data-container/40185>\
**Category:** Self-hosting\
**Created:** [Fevereiro 25, 2016, 8:18pm UTC](https://meta.discourse.org/t/unable-to-upgrade-discourse-with-separate-data-container/40185 "2016-02-25T20:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dlynch158](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@dlynch158](https://meta.discourse.org/u/dlynch158)\
**Post date:** [Fevereiro 26, 2016, 4:21am UTC](https://meta.discourse.org/t/unable-to-upgrade-discourse-with-separate-data-container/40185/3 "2016-02-26T04:21:41Z")

</div>

Okay, I was able to do a ./launcher rebuild web\_only and now everything is working. I suppose that is what you have to do for a multisite install instead of using the /admin/upgrade page? I also added the PGHOST and PGPASSWORD environment variables in front of the command ‘sudo -E -u discourse bundle exec rake multisite:migrate’. Not sure if that was necessary or if the rebuild would have worked on its own.

---

_[View the full topic](https://meta.discourse.org/t/unable-to-upgrade-discourse-with-separate-data-container/40185)._
