# 紧急：由于 Cloudflare 模板升级后，网站在升级到 1.6.4 后宕机

**URL:** <https://meta.discourse.org/t/urgent-site-down-after-upgrade-to-1-6-4-due-to-cloudflare-template/50789>\
**Category:** Product Support\
**Created:** [2016 年9 月 28 日 12:30 UTC](https://meta.discourse.org/t/urgent-site-down-after-upgrade-to-1-6-4-due-to-cloudflare-template/50789 "2016-09-28T12:30:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)\
发布日期： [2016 年9 月 28 日 12:30 UTC](https://meta.discourse.org/t/urgent-site-down-after-upgrade-to-1-6-4-due-to-cloudflare-template/50789/1 "2016-09-28T12:30:16Z")

</div>

Just ran into a bit of a problem.

I did routine updates to my site [Tappara.co](http://tappara.co):

- 1.6.2 → 1.6.4 via _git pull_ and ./launcher rebuild app
  - It went cleanly.

- Installed a few updates available to Ubuntu 16.04 server
- Rebooted

Now the site refuses to come back online. Now this stuff goes beyond my linux sysadmin skillz.

From what I can see, Docker is running and so does the **app**. I see relevant processes (ruby etc) starting, but basically idling. The site is reporting a 521 error. Tried re-rebuild a couple of times, but no luck. The installation is originally made with Discourse 1.5b in December, but switched to stable branch when it was released in April.

I would **guess** that http requests are not correctly routed, but I have not touched any settings or parameters of that field. This is basically a default installation. I do not have Let’s Encrypt or other certificate enabled.

- Anyone seen similar recently?
- Newbie friendly tips on how to start diagnosing and fixing?

There seems to be a flood of errors in nginx/error.log

```
2016/09/28 12:32:09 [emerg] 977#977: invalid number of arguments in "set_real_ip_from" directi$

```

---

_[View the full topic](https://meta.discourse.org/t/urgent-site-down-after-upgrade-to-1-6-4-due-to-cloudflare-template/50789)._
