# Site down: 502 Bad Gateway - after update

**URL:** <https://meta.discourse.org/t/site-down-502-bad-gateway-after-update/97917>\
**Category:** Self-hosting\
**Created:** [September 24, 2018, 8:33am UTC](https://meta.discourse.org/t/site-down-502-bad-gateway-after-update/97917 "2018-09-24T08:33:19Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

User [frold](/t/-/97917/1) experienced a "502 Bad Gateway" error after updating their Discourse site from 2.2 beta2 to the latest release. The update process appeared to complete successfully, but the site was inaccessible. After attempting a cleanup with `./launcher cleanup` and researching the issue, [frold](/t/-/97917/2) tried disabling all plugins except the Docker Manager. Eventually, [frold](/t/-/97917/3) discovered that one of their plugins was incompatible with the latest release, and after commenting it out, their site was back online. The problematic plugin is still unknown, and [frold](/t/-/97917/3) is now investigating which one caused the issue.

<div class="post-metadata">

**Author:** ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)\
**Post date:** [September 24, 2018, 8:33am UTC](https://meta.discourse.org/t/site-down-502-bad-gateway-after-update/97917/1 "2018-09-24T08:33:19Z")

</div>

Did a update from 2.2 beta2 + 0 to the today release

> ./launcher rebuild app

No errors just " 502 Bad Gateway" after the update.

> [Mon Sep 24 07:28:15 UTC 2018] Install success!  
> [Mon Sep 24 07:28:15 UTC 2018] Upgrade success!

And

> 184:M 24 Sep 07:28:15.512 \* DB saved on disk  
> 184:M 24 Sep 07:28:15.512 # Redis is now ready to exit, bye bye…

The site have been working the past year. I did not change anything at all.

Why this 502 Bad Gateway ? How to solve?

Did try:

> ./launcher cleanup

Im running

> Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-46-generic x86\_64)

I hope you can help, soon 😃

---

<div class="post-metadata">

**Author:** ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)\
**Post date:** [September 24, 2018, 8:38am UTC](https://meta.discourse.org/t/site-down-502-bad-gateway-after-update/97917/2 "2018-09-24T08:38:51Z")

</div>

Now Im trying:

[https://meta.discourse.org/t/502-bad-gateway-nginx-error-post-rebuilding/60900/4](https://meta.discourse.org/t/502-bad-gateway-nginx-error-post-rebuilding/60900/4)

And did comment out any extensions except docker manager.

Ill be back…

---

<div class="post-metadata">

**Author:** ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)\
**Post date:** [September 24, 2018, 8:51am UTC](https://meta.discourse.org/t/site-down-502-bad-gateway-after-update/97917/3 "2018-09-24T08:51:34Z")

</div>

Seems like one of my plugin didnt work with the latest release…

My site is up running again

Now the search begin…

> ```
> ## Plugins go here
> ## see https://meta.discourse.org/t/19157 for details
> hooks:
> after_code:
> - exec:
> cd: $home/plugins
> cmd:
> - git clone https://github.com/discourse/docker_manager.git
> ## - git clone https://github.com/communiteq/discourse-sitemap.git
> ## - git clone https://github.com/discourse/discourse-akismet.git
> ## - git clone https://github.com/angusmcleod/discourse-ratings.git
> ## - git clone https://github.com/discourse/discourse-plugin-linkedin-auth.git
> ## - git clone https://github.com/discourse/discourse-adplugin.git
> ## - git clone https://github.com/discourse/discourse-affiliate.git
> 
> ```

---

<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:** [October 24, 2018, 8:58am UTC](https://meta.discourse.org/t/site-down-502-bad-gateway-after-update/97917/4 "2018-10-24T08:58:34Z")

</div>

Closed on October 24, 2018, 8:58am UTC

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