# 网站重建后离线（2025年2月4日）》

**URL:** <https://meta.discourse.org/t/site-offline-after-rebuild-4th-feb-2025/350495>\
**Category:** Support\
**Created:** [2025年二月4日 18:18 UTC](https://meta.discourse.org/t/site-offline-after-rebuild-4th-feb-2025/350495 "2025-02-04T18:18:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Muhammed\_EKİCİ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/muhammed_eki%CC%87ci%CC%87/32/250438_2.png) [@Muhammed\_EKİCİ](https://meta.discourse.org/u/Muhammed_EK%C4%B0C%C4%B0)\
**Post date:** [2025年二月4日 18:18 UTC](https://meta.discourse.org/t/site-offline-after-rebuild-4th-feb-2025/350495/2 "2025-02-04T18:18:44Z")

</div>

一切都进行得很顺利。我看到了以下内容并重建了。构建完成没有错误，但是我的网站打不开。

```plaintext
-------------------------------------------------------------------------------------
POSTGRES升级完成

旧的13数据库存放在 /shared/postgres_data_old

要完成升级，请再次使用以下命令重建：

./launcher rebuild app
-------------------------------------------------------------------------------------

```

当我运行这个  
`tail /var/discourse/shared/standalone/log/var-log/postgres/current`  
输出

```plaintext
2025-02-04 18:11:50.943 UTC [573] LOG: 正在关闭
2025-02-04 18:11:50.945 UTC [573] LOG: 检查点开始：立即关闭
2025-02-04 18:11:50.970 UTC [573] LOG: 检查点完成：写入139个缓冲区（0.0%）；新增0个WAL文件，移除0个，回收0个；写入时间=0.017秒，同步=0.005秒，总计=0.027秒；同步文件=27，最长=0.002秒，平均=0.001秒；距离=410 KB，估算=410 KB
2025-02-04 18:11:51.034 UTC [547] LOG: 数据库系统已关闭
2025-02-04 18:15:04.302 UTC [548] LOG: 启动 PostgreSQL 15.10 (Debian 15.10-1.pgdg120+1)，在 x86_64-pc-linux-gnu 上，由 gcc (Debian 12.2.0-14) 编译，64位
2025-02-04 18:15:04.303 UTC [548] LOG: 监听 IPv4 地址 "0.0.0.0", 端口 5432
2025-02-04 18:15:04.303 UTC [548] LOG: 监听 IPv6 地址 "::", 端口 5432
2025-02-04 18:15:04.305 UTC [548] LOG: 监听 Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-02-04 18:15:04.313 UTC [575] LOG: 在 2025-02-04 18:14:37 UTC 关闭数据库系统
2025-02-04 18:15:04.318 UTC [548] LOG: 数据库系统已准备好接受连接

```

另外 `./launcher logs app` 输出以下内容

```plaintext
x86_64 架构已检测。
run-parts: 执行 /etc/runit/1.d/00-ensure-links
run-parts: 执行 /etc/runit/1.d/00-fix-var-logs
run-parts: 执行 /etc/runit/1.d/01-cleanup-web-pids
run-parts: 执行 /etc/runit/1.d/anacron
run-parts: 执行 /etc/runit/1.d/cleanup-pids
清理过时的 PID 文件
run-parts: 执行 /etc/runit/1.d/copy-env
run-parts: 执行 /etc/runit/1.d/letsencrypt
[Tue Feb 4 06:15:03 PM UTC 2025] 域名没有变化。
[Tue Feb 4 06:15:03 PM UTC 2025] 跳过，下次续订时间为：2025-02-09T00:30:10Z
[Tue Feb 4 06:15:03 PM UTC 2025] 添加 '--force' 强制续订。
[Tue Feb 4 06:15:03 PM UTC 2025] 证书安装到：/shared/ssl/forum.myforum.com.key
[Tue Feb 4 06:15:03 PM UTC 2025] 完整链安装到：/shared/ssl/forum.myforum.com.cer
[Tue Feb 4 06:15:03 PM UTC 2025] 运行重载命令：sv reload nginx
警告： nginx：无法打开 supervise/ok：文件不存在
[Tue Feb 4 06:15:03 PM UTC 2025] 重新加载错误：
[Tue Feb 4 06:15:03 PM UTC 2025] 域名没有变化。
[Tue Feb 4 06:15:03 PM UTC 2025] 跳过，下次续订时间为：2025-02-09T00:30:15Z
[Tue Feb 4 06:15:03 PM UTC 2025] 添加 '--force' 强制续订。
[Tue Feb 4 06:15:04 PM UTC 2025] 证书安装到：/shared/ssl/forum.myforum.com_ecc.key
[Tue Feb 4 06:15:04 PM UTC 2025] 完整链安装到：/shared/ssl/forum.myforum.com_ecc.cer
[Tue Feb 4 06:15:04 PM UTC 2025] 运行重载命令：sv reload nginx
警告： nginx：无法打开 supervise/ok：文件不存在
[Tue Feb 4 06:15:04 PM UTC 2025] 重新加载错误：
启动 runsvdir，PID是 537
ok: 运行中：redis: (pid 552) 0秒
ok: 运行中：postgres: (pid 548) 0秒
nginx: [警告] 重复扩展 "wasm"，内容类型："application/wasm"，在 /etc/nginx/conf.d/discourse.conf:4 中，之前的内容类型："application/wasm"
supervisor PID：546 unicorn PID：579

```

---

_[View the full topic](https://meta.discourse.org/t/site-offline-after-rebuild-4th-feb-2025/350495)._
