# Unable to upgrade to PostgreSQL 15/

**URL:** <https://meta.discourse.org/t/unable-to-upgrade-to-postgresql-15/354397>\
**Category:** Self-hosting\
**Created:** [February 25, 2025, 12:04pm UTC](https://meta.discourse.org/t/unable-to-upgrade-to-postgresql-15/354397 "2025-02-25T12:04:33Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [February 25, 2025, 5:48pm UTC](https://meta.discourse.org/t/unable-to-upgrade-to-postgresql-15/354397/7 "2025-02-25T17:48:06Z")

</div>

> [@glorioustn](#):
>
> ```plaintext
> WARNING: Docker version 20.10.7 deprecated, recommend upgrade to 24.0.7 or newer.
> 
> ```

> [@Ed\_S](#):
>
> But the message about out of date Docker, and the running of 18.04LTS, means you’d be in a much better position if you migrate to a new instance with a fresh new OS installation

I’ve seen a few sites get upgraded with 18.04, but most of them haven’t.

> [@Ed\_S](#):
>
> Migrating to a new fresh instance is probably less effort overall than trying to upgrade in place.

I’ve seen people manage to do a `dist-upgrade`, but it’s success is uncertain, and do you really want remnants of your 6 year old OS potentially causing issues for the next 5 years that 24.04 is supported? Also, an upgrade of 18.04 gets you only to 20.04, which is good for about another 60 days, so you’d need to run 3 dist-upgrades to get to the latest OS.

---

_[View the full topic](https://meta.discourse.org/t/unable-to-upgrade-to-postgresql-15/354397)._
