# 我在升级最新版 discourse 时遇到错误

**URL:** <https://meta.discourse.org/t/i-have-error-when-upgrade-latest-discourse/352105>\
**Category:** Support\
**Created:** [2025年二月13日 16:21 UTC](https://meta.discourse.org/t/i-have-error-when-upgrade-latest-discourse/352105 "2025-02-13T16:21:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cmdntd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cmdntd/32/192008_2.png) [@cmdntd](https://meta.discourse.org/u/cmdntd)\
**Post date:** [2025年二月13日 16:21 UTC](https://meta.discourse.org/t/i-have-error-when-upgrade-latest-discourse/352105/1 "2025-02-13T16:21:54Z")

</div>

我在升级最新版本的 discourse 时遇到错误：

```plaintext
检查扩展更新 提示

您的安装包含需要用 ALTER EXTENSION 命令更新的扩展。
当由数据库超级用户通过 psql 执行文件
    update_extensions.sql
时，会更新这些扩展。

升级完成
--------
优化器统计信息不会通过 pg_upgrade 转移。
启动新服务器后，可考虑运行：
    /usr/lib/postgresql/15/bin/vacuumdb --all --analyze-in-stages

运行此脚本将删除旧集群的数据文件：
    ./delete_old_cluster.sh
-----------------------------------------------------
POSTGRES 升级完成

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

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

./launcher rebuild app

```

---

_[View the full topic](https://meta.discourse.org/t/i-have-error-when-upgrade-latest-discourse/352105)._
