# Postgres problem... again!

**URL:** <https://meta.discourse.org/t/postgres-problem-again/207568>\
**Category:** Self-hosting\
**Created:** [October 29, 2021, 5:26pm UTC](https://meta.discourse.org/t/postgres-problem-again/207568 "2021-10-29T17:26:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [October 29, 2021, 6:06pm UTC](https://meta.discourse.org/t/postgres-problem-again/207568/2 "2021-10-29T18:06:06Z")

</div>

> [@Wanderer](#):
>
> I’ve just noticed the socket is not in “shared” dir, but in “shared/standalone”, is it just a message mistake?

No it’s not a mistake. This file is in the volume that gets mounted in the container, so it has different paths depending on the point of view, aka inside the container vs outside the container.

> [@Wanderer](#):
>
> “./launcher rebuild app” it stucks on “FATAL: the database system is starting up”, after the first “PANIC could not locate a valid checkpoint record”.

This happens when the container is not stopped properly. PostgreSQL needs some time to properly shutdown, and we do that when you stop with our launcher command. However, if your instance if of a big enough size, or there are too many running transactions the database may struggle to stop properly in the deadline it receives.

---

_[View the full topic](https://meta.discourse.org/t/postgres-problem-again/207568)._
