# 502 Bad Gateway - Newbie help needed

**URL:** https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098
**Category:** Self-hosting
**Created:** [November 15, 2018, 11:12am UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098 "2018-11-15T11:12:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![VerticalVeg](https://avatars.discourse-cdn.com/v4/letter/v/e0b2c6/32.png) [@VerticalVeg](https://meta.discourse.org/u/VerticalVeg)
#### Post date: [November 15, 2018, 11:12am UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098/1 "2018-11-15T11:12:04Z")

</div>

I updated [my forum](https://forum.verticalveg.org.uk/) to the latest version earlier this week and it was working fine - but then this morning I get 502 Bad Gateway message…

My technical knowledge is minimal and I’m wondering what could be the cause and how I resolve this?

For info, when I updated the site there initially seemed to be a problem but then it went through ok - but then I did not need to do this:

```
cd /var/discourse
git pull
./launcher rebuild app

```

which I normally do need to do for major updates… Could this be related to the problem?

Or could it be the problem is with Digital Ocean where the site is hosted? I see they are experiencing some problems.

Any advice on what I need to do get the site working again, much appreciated.

---

<div class="post-metadata">

### Author: ![vitorl](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@vitorl](https://meta.discourse.org/u/vitorl)
#### Post date: [November 15, 2018, 11:12am UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098/2 "2018-11-15T11:12:56Z")

</div>

That error code is very generic…you need to check the logs and give us more information

---

<div class="post-metadata">

### Author: ![jidetheblogger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidetheblogger/32/73213_2.png) [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)
#### Post date: [November 15, 2018, 11:25am UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098/3 "2018-11-15T11:25:18Z")

</div>

Still battling with the 502 bad gateway error whenever i access the admin dashboard. I guess discourse needs to check their latest updates for bugs..

---

<div class="post-metadata">

### Author: ![VerticalVeg](https://avatars.discourse-cdn.com/v4/letter/v/e0b2c6/32.png) [@VerticalVeg](https://meta.discourse.org/u/VerticalVeg)
#### Post date: [November 15, 2018, 11:34am UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098/4 "2018-11-15T11:34:34Z")

</div>

Thanks. Is there somewhere that tells me how to check the logs (my droplet is on Digital Ocean)? Sorry, as I said, my technical knowledge is minimal…

---

<div class="post-metadata">

### Author: ![VerticalVeg](https://avatars.discourse-cdn.com/v4/letter/v/e0b2c6/32.png) [@VerticalVeg](https://meta.discourse.org/u/VerticalVeg)
#### Post date: [November 15, 2018, 2:41pm UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098/5 "2018-11-15T14:41:37Z")

</div>

I’ve solved this by running:

```
cd /var/discourse
git pull
./launcher rebuild app

```

BTW, when I was updating to the latest versions a couple of days ago, I got a message half way through the install to say there was a problem… but then I waited and when I checked back it said all the updates were up to date… so I assumed all was ok. Anyway it is all working fine again now.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 16, 2018, 12:02am UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098/6 "2018-11-16T00:02:45Z")

</div>


