# 手动升级失败

**URL:** <https://meta.discourse.org/t/manual-upgrade-fails/139277>\
**Category:** Self-hosting\
**Created:** [2020年一月21日 10:00 UTC](https://meta.discourse.org/t/manual-upgrade-fails/139277 "2020-01-21T10:00:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)\
**Post date:** [2020年一月23日 07:50 UTC](https://meta.discourse.org/t/manual-upgrade-fails/139277/5 "2020-01-23T07:50:57Z")

</div>

你搞定了吗？

我在这个领域没有专业知识，但看起来它在尝试获取 Postgres 9.3 时失败了。

不过，Postgres 9.3 早在 2016 年就已经升级到 9.5 了，而你使用的 Discourse 版本是 1.9，那是 2018 年的版本？

> [@Something seems to have gone wrong with my update](https://meta.discourse.org/t/something-seems-to-have-gone-wrong-with-my-update/55952/13?u=remah):
>
> We updated our docker image to Postgres 9.5 back in May 2016 [https://meta.discourse.org/t/discourse-docker-image-version-1-3-3-released/44778](https://meta.discourse.org/t/discourse-docker-image-version-1-3-3-released/44778)

这可能与这个问题有关：

> [@Trouble upgrading PostgreSQL from 9.3 to current](https://meta.discourse.org/t/trouble-upgrading-postgresql-from-9-3-to-current/49207?u=remah):
>
> Continuing the discussion from [Discourse Docker Image version 1.3.3, released](https://meta.discourse.org/t/discourse-docker-image-version-1-3-3-released/44778): So, I have been using postgres 9.3 since the new docker image came out… and just replacing templates/postgres.9.3.template.yml with templates/postgres.template.yml doesn’t work. Given a current backup, what’s a good way to upgrade the postgres template?

我现在没时间阅读这些话题。我只是注意到已经两天没有获得帮助了。

---

_[View the full topic](https://meta.discourse.org/t/manual-upgrade-fails/139277)._
