# 服务不可用 | 因插件损坏导致更新错误

**URL:** https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499
**Category:** Self-hosting
**Created:** [2018年十二月17日 21:42 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499 "2018-12-17T21:42:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Robodaniel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robodaniel/32/199266_2.png) [@Robodaniel](https://meta.discourse.org/u/Robodaniel)
#### Post date: [2018年十二月17日 21:42 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/1 "2018-12-17T21:42:30Z")

</div>

大家好，

我本想进行一些更新，并收到消息说需要执行以下命令：

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

我已经执行了这些命令，但收到了一条错误消息，现在论坛无法访问。

 ![discourse_error](https://global.discourse-cdn.com/meta/original/3X/b/3/b312973473126f941edc12feb6a0ef89c5030796.jpeg)  
如何重启服务或修复此问题？

提前感谢。

---

<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: [2018年十二月17日 22:20 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/2 "2018-12-17T22:20:32Z")

</div>

This is the first time you’ve run an update in a long time?

It’s hard to tell with just a picture of part of the output.

I can’t quite tell what is happening. Did you type `Run: ` before those commands? Or was that the output of `./launcher rebuild app`.

You might be able to get the current version back up with

```
./launcher start app

```

If your forum being down is an emergency that you’d like to throw money at my contact info is in my profile.

---

<div class="post-metadata">

### Author: ![Robodaniel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robodaniel/32/199266_2.png) [@Robodaniel](https://meta.discourse.org/u/Robodaniel)
#### Post date: [2018年十二月18日 06:35 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/3 "2018-12-18T06:35:16Z")

</div>

Yes I’ve never done a update before - The Systemw as set up in April 2018.

I’ve tried to execute the commands: `./launcher rebuild app` . and `./launcher start app ` but without any success.

 ![launcher%20start](https://global.discourse-cdn.com/meta/original/3X/6/e/6ee4f3c78641989d9e970a93e93b9a7acc344bfc.jpeg)

Do you have any other idea how to fix the problem?

---

<div class="post-metadata">

### Author: ![Robodaniel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robodaniel/32/199266_2.png) [@Robodaniel](https://meta.discourse.org/u/Robodaniel)
#### Post date: [2018年十二月18日 09:58 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/4 "2018-12-18T09:58:58Z")

</div>

I’ve still executed the commands which are described in the manual: [Manually update Discourse and Docker image to latest](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325) and would like to start the session.  
 ![launcher_Start_2](https://global.discourse-cdn.com/meta/original/3X/0/8/089b9ff3488a66e233e48d3202448a1f76a0c145.jpeg)

---

<div class="post-metadata">

### Author: ![Robodaniel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robodaniel/32/199266_2.png) [@Robodaniel](https://meta.discourse.org/u/Robodaniel)
#### Post date: [2018年十二月18日 09:59 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/5 "2018-12-18T09:59:35Z")

</div>

It seams the service is still running but nothing will be displayed if I would like to reach the forum.

 ![Bad_Gateway](https://global.discourse-cdn.com/meta/original/3X/1/a/1a73d072cfbd2bd85ebd818ce33c927375502c99.jpeg)

---

<div class="post-metadata">

### Author: ![Robodaniel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robodaniel/32/199266_2.png) [@Robodaniel](https://meta.discourse.org/u/Robodaniel)
#### Post date: [2018年十二月18日 12:04 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/6 "2018-12-18T12:04:08Z")

</div>

I think I’ve found the reason why my forum crashed during the update.

If I add two hastags (##) before every git command in app.yaml file the forum is available.  
One of the plugins is fault - how to uninstall it manually?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2018年十二月18日 12:10 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/7 "2018-12-18T12:10:08Z")

</div>

在重建之前通过注释掉该行，你实际上已经卸载了它。

不过，确定是哪个插件导致问题的过程是一个排除法。请检查 #Customization > Plugin，看看是否有任何插件被标记为损坏。

---

<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: [2021年十一月6日 13:56 UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499/8 "2021-11-06T13:56:36Z")

</div>


