# 从 v3.4.0 升级到 v2026.7.2 前需要了解的事项

**URL:** https://meta.discourse.org/t/what-to-know-before-upgrading-from-v3-4-0-to-v2026-7-2/411291
**Category:** Self-hosting
**Tags:** hosting
**Created:** [2026年八月31日 13:17 UTC](https://meta.discourse.org/t/what-to-know-before-upgrading-from-v3-4-0-to-v2026-7-2/411291 "2026-08-31T13:17:57Z")
**Posts on this page:** 1
**Showing post:** 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: [2026年八月31日 13:23 UTC](https://meta.discourse.org/t/what-to-know-before-upgrading-from-v3-4-0-to-v2026-7-2/411291/2 "2026-08-31T13:23:43Z")

</div>

或者……（如果你感到紧张）……先备份（无论如何都应该备份），然后搭建一个全新的服务器并恢复备份，完成后再将域名指向新服务器。

你会遇到的一个大问题是，有一个[重大的 PostgreSQL 升级（升级到 18）](https://meta.discourse.org/t/postgresql-18-update-for-self-hosters/406194/1)。如果你搭建一个新服务器，就不必处理那个升级过程。

此外，还存在一个小风险，即你依赖的插件或主题组件可能没有得到维护，尤其是当它们由不太活跃的第三方编写时。

正是出于对风险的担忧，经验丰富的 Discourse 系统管理员（SA）会使用双容器配置，这样你可以在提交更新之前先引导（bootstrap）更新（尽管在遇到大型 PostgreSQL 更新时，这种方法帮助不大，但这种情况很少发生）

---

_[View the full topic](https://meta.discourse.org/t/what-to-know-before-upgrading-from-v3-4-0-to-v2026-7-2/411291)._
