# PostgreSQL Stuck During Rebuilding

**URL:** https://meta.discourse.org/t/postgresql-stuck-during-rebuilding/323434
**Category:** Self-hosting
**Created:** [August 26, 2024, 5:36pm UTC](https://meta.discourse.org/t/postgresql-stuck-during-rebuilding/323434 "2024-08-26T17:36:15Z")
**Posts on this page:** 1
**Showing post:** 49

<div class="post-metadata">

### Author: ![chaus](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@chaus](https://meta.discourse.org/u/chaus)
#### Post date: [September 3, 2024, 12:47am UTC](https://meta.discourse.org/t/postgresql-stuck-during-rebuilding/323434/49 "2024-09-03T00:47:38Z")

</div>

For me, the hanging issue was fixed by running `apt-get update` and `apt-get dist-upgrade` to update my droplet. I’m on Ubuntu 20.04 and once I ran those commands and Alan tried the rebuild again, it worked without hanging. And once Discourse was up to date, my Oops screen went away and all is well. Might have been unique to 20.04 or something else that got refreshed when I updated everything, but hopefully that can help others.

---

_[View the full topic](https://meta.discourse.org/t/postgresql-stuck-during-rebuilding/323434)._
