Discourse Randomly Does Not run or Rebuild

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.

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