# 502 Bad Gateway after Update

**URL:** https://meta.discourse.org/t/502-bad-gateway-after-update/104898
**Category:** Support
**Created:** [December 22, 2018, 12:50pm UTC](https://meta.discourse.org/t/502-bad-gateway-after-update/104898 "2018-12-22T12:50:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SpaceMonkey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spacemonkey/32/98889_2.png) [@SpaceMonkey](https://meta.discourse.org/u/SpaceMonkey)
#### Post date: [December 22, 2018, 12:50pm UTC](https://meta.discourse.org/t/502-bad-gateway-after-update/104898/1 "2018-12-22T12:50:56Z")

</div>

I have a Discourse project installed via Docker. After an update a month ago my site has been unreachable via web. It resolves with `502 Bad Gateway` I have tried following several things. Although I am worried I may do more damage.

I believe what happened is I ran `./launcher rebuild app` from inside of the web container. I would appreciate any help or guidance.

[http://alt-manac.com](http://alt-manac.com)  
dig [alt-manac.com](http://alt-manac.com) @8.8.4.4 Google  
[alt-manac.com](http://alt-manac.com). 21599 IN A 204.48.29.91

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 22, 2018, 12:53pm UTC](https://meta.discourse.org/t/502-bad-gateway-after-update/104898/2 "2018-12-22T12:53:28Z")

</div>

Try running

```
cd /var/discourse 
./discourse-doctor 

```

That will save the logs so you can share that. The information you have shared gives us little to go on.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 22, 2018, 12:59pm UTC](https://meta.discourse.org/t/502-bad-gateway-after-update/104898/4 "2018-12-22T12:59:08Z")

</div>

Your site is up now. 😉

---

<div class="post-metadata">

### Author: ![SpaceMonkey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spacemonkey/32/98889_2.png) [@SpaceMonkey](https://meta.discourse.org/u/SpaceMonkey)
#### Post date: [December 22, 2018, 1:00pm UTC](https://meta.discourse.org/t/502-bad-gateway-after-update/104898/5 "2018-12-22T13:00:55Z")

</div>

That is great, does `./discourse-doctor` have some repair commands?

Thank you for you time,

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 21, 2019, 1:07pm UTC](https://meta.discourse.org/t/502-bad-gateway-after-update/104898/6 "2019-01-21T13:07:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
