# 升级到 2.6 后分类页面和主页出现 Error 500

**URL:** <https://meta.discourse.org/t/error-500-on-category-page-and-homepage-after-upgrade-to-2-6/162155>\
**Category:** Self-hosting\
**Created:** [2020 年8 月 26 日 17:07 UTC](https://meta.discourse.org/t/error-500-on-category-page-and-homepage-after-upgrade-to-2-6/162155 "2020-08-26T17:07:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Olivier\_Baillon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olivier_baillon/32/72271_2.png) [@Olivier\_Baillon](https://meta.discourse.org/u/Olivier_Baillon)\
发布日期： [2020 年8 月 26 日 17:07 UTC](https://meta.discourse.org/t/error-500-on-category-page-and-homepage-after-upgrade-to-2-6/162155/1 "2020-08-26T17:07:53Z")

</div>

您好，

我刚刚将自 2017 年运行至今的论坛从 2.4 版本升级到了 2.6 版本。  
在升级过程中，我注意到 PostgreSQL 9.5 已被替换为 PostgreSQL 12。

重建操作虽已顺利完成且未报错，但首页出现 500 错误（或显示“哎呀”错误提示）。  
分类页面也存在同样的错误。

管理员功能正常，用户资料页面正常，用户列表正常，单个帖子页面也正常。  
但管理员后台中的“顶级推荐”功能无法使用。

我目前不知道如何解决这个问题。  
非常感谢您的帮助。

---

_[View the full topic](https://meta.discourse.org/t/error-500-on-category-page-and-homepage-after-upgrade-to-2-6/162155)._
