你好,
在过去的几天里,我重新安装了 Discourse,一切顺利。然而,在最终安装(在同一个子域上)后,我发现安装后无法连接到该站点。
我正在使用 Cloudflare 进行 DNS 解析,拥有指向我的服务器 IP 的正确 A 记录,灰色云(仅 DNS)。
运行 ./discourse-doctor 时,我会注意到它会显示 DISCOURSE VERSION NOT FOUND。
如果您想查看,这是输出:
DOCKER VERSION: Docker version 26.1.3, build 26.1.3-0ubuntu1.1
DOCKER PROCESSES (docker ps -a)
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
78b5cb0b62ba local_discourse/app “/sbin/boot” 46 minutes ago Up 45 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app
78b5cb0b62ba local_discourse/app “/sbin/boot” 46 minutes ago Up 45 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app
Discourse container app is running
==================== PLUGINS ====================
- git clone https://github.com/discourse/docker_manager.git
No non-official plugins detected.
See https://github.com/discourse/discourse/blob/main/lib/plugin/metadata.rb for the official list.
========================================
Discourse version at discourse.kwehchocobo.com: NOT FOUND
Discourse version at localhost: NOT FOUND
==================== MEMORY INFORMATION ====================
RAM (MB): 2062
total used free shared buff/cache available
Mem: 1967 1425 110 27 649 542
Swap: 2047 87 1960
==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 58G 11G 47G 19% /
==================== DISK INFORMATION ====================
Disk /dev/vda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DE1E7A6C-B4DD-46F7-BA1E-2411007BBB6F
Device Start End Sectors Size Type
/dev/vda1 2324480 125829086 123504607 58.9G Linux filesystem
/dev/vda13 2048 2097152 2095105 1023M Linux extended boot
/dev/vda14 2099200 2107391 8192 4M BIOS boot
/dev/vda15 2107392 2324479 217088 106M EFI System
Partition table entries are not in disk order.
Disk /dev/vdb: 482 KiB, 493568 bytes, 964 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
==================== END DISK INFORMATION ====================
我假设 Discourse 找不到是因为缺少 SSL 证书(我正在遵循正确的 Discourse 安装方法,如此处所示)。
当我尝试:sudo certbot certonly --standalone -d discourse.kwehchocobo.com
注意:关于接下来的输入……
我相信这可以解释为什么在最终安装尝试后我无法再连接到该域。我也相信这就是为什么 discourse doctor 告诉我它找不到该域上的 Discourse。
另外,我的速率限制是多久?我处于太平洋时区。我认为应该是下午 4:13 PST?这意味着我可以在该时间之后尝试从安装程序重新安装带有 SSL 的 Discourse,而不会遇到速率限制吗?
总之,这是我的输出:
Requesting a certificate for discourse.kwehchocobo.com
An unexpected error occurred:
too many certificates (5) already issued for this exact set of domains in the last 168h0m0s, retry after 2025-03-02 23:45:07 UTC: see https://letsencrypt.org/docs/rate-limits/#new-certificates-per-exact-set-of-hostnames
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
root@chocobo-kweh:/etc/letsencrypt# ```