# Discourse Randomly Does Not run or Rebuild

**URL:** <https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231>\
**Category:** Self-hosting\
**Tags:** postgres\
**Created:** [March 20, 2025, 9:28pm UTC](https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231 "2025-03-20T21:28:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![mwaniki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mwaniki/32/313097_2.png) [@mwaniki](https://meta.discourse.org/u/mwaniki)\
**Post date:** [March 21, 2025, 6:58am UTC](https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231/8 "2025-03-21T06:58:40Z")

</div>

> [@joshhabka](#):
>
> Here is the logs when I try to start it: [https://codefile.io/f/8XUuOqyEDd](https://codefile.io/f/8XUuOqyEDd)

> timeout: down: postgres: 1s, normally up, want up

Seems like the database isn’t starting up correctly. The logs show it appears to occasionally start up properly, but only for a short time, so that could be a red herring.

> ok: run: postgres: (pid 315501) 0s

The postgres logs could have some hint of the problem, especially when trying to start the app container.

```plaintext
tail -f shared/standalone/log/var-log/postgres/current

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231)._
