# 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:** 55

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [September 4, 2024, 8:47am UTC](https://meta.discourse.org/t/postgresql-stuck-during-rebuilding/323434/55 "2024-09-04T08:47:01Z")

</div>

Unnecessary and redundant I believe see:

> [@Should the install guide tell people to run apt update & apt upgrade first?](https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106/37):
>
> My money is on the additional git pull is unnecessary, because of the code here: which seems to check the local version, updates and restarts the launcher if out of date (and a bunch of other things). Therefore only this should be necessary on subsequent rebuilds: cd /var/discourse ./launcher rebuild app without the redundant git pull. (NB: always good to dive into the source code so you can be more sure). (NB#2: have deleted my post above which just added to the confusion).

---

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