# 安装插件后出现问题

**URL:** https://meta.discourse.org/t/problem-after-installing-plugin/295812
**Category:** Self-hosting
**Created:** [2024年二月18日 20:10 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812 "2024-02-18T20:10:24Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [2024年二月18日 20:10 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/1 "2024-02-18T20:10:25Z")

</div>

安装插件后，我无法访问我的网站。我的交易是正确的。图片中有错误。问题是什么？  
[tarihforum.com](http://tarihforum.com)

 ![IMG-20240218-WA0010](https://global.discourse-cdn.com/meta/original/4X/a/f/f/aff4826adf1346abc80edf68c1857a379511173a.jpeg)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2024年二月18日 20:50 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/2 "2024-02-18T20:50:26Z")

</div>

请发布您刚刚安装的插件以及任何其他详细信息，并将错误文本粘贴到帖子中，截图太难阅读了。请确保您使用的是最新的 Discourse 版本。

您可以在安全模式下访问您的网站吗？我自己刚刚访问过，它并没有宕机。

---

<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: [2024年二月19日 18:05 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/3 "2024-02-19T18:05:45Z")

</div>

对我来说是有效的。

你安装了什么插件？

你是否遇到了 502 错误，该错误在你发布此消息 2 分钟后消失了？

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [2024年二月19日 18:28 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/4 "2024-02-19T18:28:58Z")

</div>

我安装了 3 个插件：  
Gamification、who’s online、reaction

在输入代码后运行 `./launcher rebuild app`，安装完成后，我的网站 15-20 分钟无法打开。  
之后网站自行打开了。

---

<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: [2024年二月19日 18:46 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/5 "2024-02-19T18:46:40Z")

</div>

您可能需要更多的内存。您有多少内存？这不是树莓派吧？

`./launcher rebuild app` 需要 20 分钟是可以预期的，但 `./launcher start` 需要 20 分钟则不正常。这通常只需要大约 2 分钟。

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2024年二月19日 18:55 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/6 "2024-02-19T18:55:29Z")

</div>

PuTTY 很好。

请自行安装 Windows Terminal。

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [2024年二月19日 19:13 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/7 "2024-02-19T19:13:20Z")

</div>

2 GB 内存 2 核 CPU

---

<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: [2024年二月19日 20:15 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/8 "2024-02-19T20:15:54Z")

</div>

并且是在 `./launcher rebuild app` **完成** 后过了 20 分钟？

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [2024年二月19日 20:33 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/9 "2024-02-19T20:33:16Z")

</div>

是的，这是第一次。  
我 20 分钟都无法访问该网站。  
我以前安装过 50 次插件，从未发生过类似情况。

---

<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: [2024年二月19日 20:45 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/10 "2024-02-19T20:45:04Z")

</div>

这可能只是个巧合。

你可以看看 `./launcher restart app` 是否需要很长时间。

你可以重新构建（这_将_导致 15 分钟以上的停机时间）。

---

<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: [2024年三月20日 20:45 UTC](https://meta.discourse.org/t/problem-after-installing-plugin/295812/11 "2024-03-20T20:45:42Z")

</div>

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