# 最新升级后网站无法访问

**URL:** https://meta.discourse.org/t/site-down-after-latest-upgrade/108136
**Category:** Support
**Created:** [2019年二月1日 16:07 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136 "2019-02-01T16:07:10Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [2019年二月1日 16:07 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/1 "2019-02-01T16:07:10Z")

</div>

I just upgraded to the latest version:

**New version:**** 2.3.0.beta1**

And now my site is down with the error message:

 ![Screenshot_2019-02-01%20Vaping%20Community%20-%20Discussions%20on%20Vaping](https://global.discourse-cdn.com/meta/original/3X/2/6/2654ac21d3722a3aa9d132b91f46b0813c0c389e.png)

> **[Vaping Community](https://vapingcommunity.co.uk)**
>
> Vaping Community is the place to be. Friendly discussions on all things vape related - from hardware to mixology and everything in between. Come join the community and let’s get sharing our vape journeys!

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [2019年二月1日 16:15 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/2 "2019-02-01T16:15:05Z")

</div>

Rebuild the site without the discourse adplugin and let us know if it works.

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [2019年二月1日 16:24 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/5 "2019-02-01T16:24:14Z")

</div>

Yep, the error went away and the site is functioning again

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [2019年二月1日 16:47 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/6 "2019-02-01T16:47:06Z")

</div>

I can’t reproduce that problem. We include the adplugin here on meta and didn’t see it… Do you know what version you were upgrading from? I don’t know if anything changed with the way we compile CSS changes in plugins.

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [2019年二月1日 16:51 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/7 "2019-02-01T16:51:33Z")

</div>

Your version: 2.2.0.beta10  
New version: **2.3.0.beta1**

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [2019年二月1日 16:53 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/8 "2019-02-01T16:53:25Z")

</div>

Happy anniversary @neil 🎉

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [2019年二月1日 16:55 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/9 "2019-02-01T16:55:53Z")

</div>

I’ll try reinstalling the plugin. BRB

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [2019年二月1日 17:05 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/10 "2019-02-01T17:05:19Z")

</div>

@neil @dax That worked, it’s ok now 👍

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [2019年二月1日 17:11 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/11 "2019-02-01T17:11:20Z")

</div>

Glad it works, and thanks for upgrading!

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [2019年二月1日 17:58 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/12 "2019-02-01T17:58:09Z")

</div>

I had the same issue yesterday when upgrading via the Admin.

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

```

quickly fixed it. I did not have to disable the adplugin in the process.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [2019年二月1日 18:50 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/13 "2019-02-01T18:50:04Z")

</div>

I moved the css out of plugin.rb to avoid using the “auto\_generated” directory, which should avoid this problem from happening to anyone else. Having css in its own file is better anyway.

Thanks for reporting @Vaping_Community and @omarfilip.

---

<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: [2019年二月2日 01:33 UTC](https://meta.discourse.org/t/site-down-after-latest-upgrade/108136/14 "2019-02-02T01:33:50Z")

</div>


