# Upgrade fails on old version of Postgres database

**URL:** <https://meta.discourse.org/t/upgrade-fails-on-old-version-of-postgres-database/103287>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [December 2, 2018, 10:46am UTC](https://meta.discourse.org/t/upgrade-fails-on-old-version-of-postgres-database/103287 "2018-12-02T10:46:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [December 2, 2018, 5:28pm UTC](https://meta.discourse.org/t/upgrade-fails-on-old-version-of-postgres-database/103287/5 "2018-12-02T17:28:14Z")

</div>

> [@gtanczyk](#):
>
> I should consider my discourse database as corrupted, since most of db migrate tasks were executed(successfully?) on 9.4, and only the last two on 9.5.

That shouldn’t matter, there is no need to worry about that.  
The Rails migration system and the Postgres update procedure are both robust enough to handle this.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-fails-on-old-version-of-postgres-database/103287)._
