# 全新安装问题

**URL:** <https://meta.discourse.org/t/fresh-install-issue/227890>\
**Category:** Self-hosting\
**Created:** [2022年五月23日 20:52 UTC](https://meta.discourse.org/t/fresh-install-issue/227890 "2022-05-23T20:52:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bondbenz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bondbenz/32/261304_2.png) [@bondbenz](https://meta.discourse.org/u/bondbenz)\
**Post date:** [2022年五月23日 20:52 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/1 "2022-05-23T20:52:45Z")

</div>

您好，

我有一个全新的 Ubuntu VPS，尝试使用 Cloud Document 安装。安装完成后，我无法访问网站（显示离线）。当我运行 discourse-doctor 时，我得到以下输出：

Discourse version at [community.xxxxxx.org](http://community.xxxxxx.org): NOT FOUND  
Discourse version at localhost: NOT FOUND

谢谢 🙂

---

<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:** [2022年五月23日 22:09 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/2 "2022-05-23T22:09:06Z")

</div>

您是否运行了 discourse-setup？它运行时是否发出任何警告？

您是否运行了

```
   ./launcher rebuild app

```

很多次，还是只运行了一次？

您确定您的域名的 IP 地址指向了虚拟机吗？

是什么类型的虚拟机？

您确定端口已打开（设置脚本会检查这一点）吗？

---

<div class="post-metadata">

**Author:** ![bondbenz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bondbenz/32/261304_2.png) [@bondbenz](https://meta.discourse.org/u/bondbenz)\
**Post date:** [2022年五月23日 22:18 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/3 "2022-05-23T22:18:10Z")

</div>

是的，一切正常，我尝试重新构建了应用程序，没有错误！

Ubuntu 20.04 LTS 全新安装，我甚至重新安装了，情况还是一样，A 记录在 Cloudflare 中是正确的，域名已链接（子域名），端口已打开。

---

<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:** [2022年五月23日 23:03 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/4 "2022-05-23T23:03:03Z")

</div>

如果您使用的是橙色云，则需要将其更改为灰色云。

---

<div class="post-metadata">

**Author:** ![bondbenz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bondbenz/32/261304_2.png) [@bondbenz](https://meta.discourse.org/u/bondbenz)\
**Post date:** [2022年五月24日 10:06 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/6 "2022-05-24T10:06:35Z")

</div>

哦，是的，绝对是。我没有使用任何代理 DNS（灰色云），也遇到了同样的问题，这真是太奇怪了。

---

<div class="post-metadata">

**Author:** ![bondbenz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bondbenz/32/261304_2.png) [@bondbenz](https://meta.discourse.org/u/bondbenz)\
**Post date:** [2022年五月24日 11:08 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/7 "2022-05-24T11:08:48Z")

</div>

我已经通过将子域更改为另一个子域来修复它。

---

<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:** [2022年五月24日 13:46 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/8 "2022-05-24T13:46:25Z")

</div>

我的猜测是，你的 DNS 出现故障，进行了足够多的重建操作，导致 Let’s Encrypt 限制了你的请求频率。

---

<div class="post-metadata">

**Author:** ![bondbenz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bondbenz/32/261304_2.png) [@bondbenz](https://meta.discourse.org/u/bondbenz)\
**Post date:** [2022年五月24日 14:27 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/9 "2022-05-24T14:27:38Z")

</div>

在这种情况下，解决方案是什么？

---

<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:** [2022年五月24日 14:43 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/10 "2022-05-24T14:43:58Z")

</div>

> [@bondbenz](#):
>
> 这种情况的解决方案是什么？

> [@bondbenz](#):
>
> 将子域名更改为另一个

如果无法更改子域名，另一种解决方案是“作弊”，在 Let’s Encrypt 请求中添加第二个子域名。但你已经解决了你的问题。我只是在解释为什么它会起作用。

---

<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:** [2022年六月23日 14:44 UTC](https://meta.discourse.org/t/fresh-install-issue/227890/11 "2022-06-23T14:44:09Z")

</div>

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